1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxMetafile swig_types[2]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1345 #define SWIGTYPE_p_wxLog swig_types[4]
1346 #define SWIGTYPE_p_wxMenu swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1350 #define SWIGTYPE_p_wxDisplay swig_types[9]
1351 #define SWIGTYPE_p_wxFileType swig_types[10]
1352 #define SWIGTYPE_p_wxLogGui swig_types[11]
1353 #define SWIGTYPE_p_wxFont swig_types[12]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356 #define SWIGTYPE_p_wxCaret swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_p_int swig_types[18]
1360 #define SWIGTYPE_p_wxSize swig_types[19]
1361 #define SWIGTYPE_p_wxClipboard swig_types[20]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1365 #define SWIGTYPE_p_wxIcon swig_types[24]
1366 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1367 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1369 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1370 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1379 #define SWIGTYPE_p_wxSound swig_types[38]
1380 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1381 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1382 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1383 #define SWIGTYPE_p_wxArrayString swig_types[42]
1384 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxToolTip swig_types[45]
1387 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1389 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1390 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1391 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1393 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1394 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1395 #define SWIGTYPE_p_wxRect swig_types[54]
1396 #define SWIGTYPE_p_char swig_types[55]
1397 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1398 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1399 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1400 #define SWIGTYPE_p_wxFrame swig_types[59]
1401 #define SWIGTYPE_p_wxTimer swig_types[60]
1402 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1403 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1404 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1405 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1407 #define SWIGTYPE_p_wxJoystick swig_types[66]
1408 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1409 #define SWIGTYPE_p_wxPoint swig_types[68]
1410 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1411 #define SWIGTYPE_p_wxCursor swig_types[70]
1412 #define SWIGTYPE_p_wxObject swig_types[71]
1413 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1414 #define SWIGTYPE_p_wxDateTime swig_types[73]
1415 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1416 #define SWIGTYPE_p_unsigned_long swig_types[75]
1417 #define SWIGTYPE_p_wxKillError swig_types[76]
1418 #define SWIGTYPE_p_wxWindow swig_types[77]
1419 #define SWIGTYPE_p_wxString swig_types[78]
1420 #define SWIGTYPE_p_wxPyProcess swig_types[79]
1421 #define SWIGTYPE_p_wxBitmap swig_types[80]
1422 #define SWIGTYPE_p_wxConfig swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxChar swig_types[85]
1427 #define SWIGTYPE_p_wxBusyInfo swig_types[86]
1428 #define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1431 #define SWIGTYPE_p_wxProcessEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPyLog swig_types[91]
1433 #define SWIGTYPE_p_wxLogNull swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxPyTimer swig_types[94]
1436 #define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1437 #define SWIGTYPE_p_wxDateSpan swig_types[96]
1438 static swig_type_info
*swig_types
[98];
1440 /* -------- TYPES TABLE (END) -------- */
1443 /*-----------------------------------------------
1444 @(target):= _misc_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_misc_
1448 #define SWIG_name "_misc_"
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1452 #include "wx/wxPython/pyistream.h"
1454 static const wxString
wxPyEmptyString(wxEmptyString
);
1458 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1459 #define SWIG_From_int PyInt_FromLong
1467 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1470 if (value
< min_value
) {
1472 PyErr_Format(PyExc_OverflowError
,
1473 "value %ld is less than '%s' minimum %ld",
1474 value
, errmsg
, min_value
);
1477 } else if (value
> max_value
) {
1479 PyErr_Format(PyExc_OverflowError
,
1480 "value %ld is greater than '%s' maximum %ld",
1481 value
, errmsg
, max_value
);
1490 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1492 if (PyNumber_Check(obj
)) {
1493 if (val
) *val
= PyInt_AsLong(obj
);
1497 SWIG_type_error("number", obj
);
1503 #if INT_MAX != LONG_MAX
1505 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1507 const char* errmsg
= val
? "int" : (char*)0;
1509 if (SWIG_AsVal_long(obj
, &v
)) {
1510 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1511 if (val
) *val
= (int)(v
);
1520 SWIG_type_error(errmsg
, obj
);
1526 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1528 return SWIG_AsVal_long(obj
,(long*)val
);
1534 SWIG_As_int(PyObject
* obj
)
1537 if (!SWIG_AsVal_int(obj
, &v
)) {
1539 this is needed to make valgrind/purify happier.
1541 memset((void*)&v
, 0, sizeof(int));
1548 SWIG_Check_int(PyObject
* obj
)
1550 return SWIG_AsVal_int(obj
, (int*)0);
1553 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1555 #include <wx/stockitem.h>
1557 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1558 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1559 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1561 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1562 #define SWIG_From_long PyInt_FromLong
1566 SWIGINTERNSHORT
long
1567 SWIG_As_long(PyObject
* obj
)
1570 if (!SWIG_AsVal_long(obj
, &v
)) {
1572 this is needed to make valgrind/purify happier.
1574 memset((void*)&v
, 0, sizeof(long));
1581 SWIG_Check_long(PyObject
* obj
)
1583 return SWIG_AsVal_long(obj
, (long*)0);
1588 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1590 if (obj
== Py_True
) {
1591 if (val
) *val
= true;
1594 if (obj
== Py_False
) {
1595 if (val
) *val
= false;
1599 if (SWIG_AsVal_int(obj
, &res
)) {
1600 if (val
) *val
= res
? true : false;
1606 SWIG_type_error("bool", obj
);
1612 SWIGINTERNSHORT
bool
1613 SWIG_As_bool(PyObject
* obj
)
1616 if (!SWIG_AsVal_bool(obj
, &v
)) {
1618 this is needed to make valgrind/purify happier.
1620 memset((void*)&v
, 0, sizeof(bool));
1627 SWIG_Check_bool(PyObject
* obj
)
1629 return SWIG_AsVal_bool(obj
, (bool*)0);
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1662 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1665 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1666 SWIG_type_error("unsigned number", obj
);
1669 *val
= (unsigned long)v
;
1674 SWIGINTERNSHORT
unsigned long
1675 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1678 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1680 this is needed to make valgrind/purify happier.
1682 memset((void*)&v
, 0, sizeof(unsigned long));
1689 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1691 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1695 SWIGINTERNSHORT PyObject
*
1696 SWIG_From_unsigned_SS_long(unsigned long value
)
1698 return (value
> LONG_MAX
) ?
1699 PyLong_FromUnsignedLong(value
)
1700 : PyInt_FromLong((long)(value
));
1704 bool wxThread_IsMain() {
1705 #ifdef WXP_WITH_THREAD
1706 return wxThread::IsMain();
1712 static void wxCaret_Destroy(wxCaret
*self
){
1716 #include <wx/snglinst.h>
1720 #include <wx/msw/private.h>
1721 #include <wx/dynload.h>
1726 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1737 // This one only partially works. Appears to be an undocumented
1738 // "standard" convention that not all widgets adhear to. For
1739 // example, for some widgets backgrounds or non-client areas may
1741 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1746 // This one works much better, nearly all widgets and their
1747 // children are captured correctly[**]. Prior to the big
1748 // background erase changes that Vadim did in 2004-2005 this
1749 // method failed badly on XP with Themes activated, most native
1750 // widgets draw only partially, if at all. Without themes it
1751 // worked just like on Win2k. After those changes this method
1754 // ** For example the radio buttons in a wxRadioBox are not its
1755 // children by default, but you can capture it via the panel
1756 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1757 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1758 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1759 PRF_ERASEBKGND
| PRF_OWNED
);
1765 // This one is only defined in the latest SDK and is only
1766 // available on XP. MSDN says it is similar to sending WM_PRINT
1767 // so I expect that it will work similar to the above. Since it
1768 // is avaialble only on XP, it can't be compiled like this and
1769 // will have to be loaded dynamically.
1770 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1775 // Use PrintWindow if available, or fallback to WM_PRINT
1776 // otherwise. Unfortunately using PrintWindow is even worse than
1777 // WM_PRINT. For most native widgets nothing is drawn to the dc
1778 // at all, with or without Themes.
1779 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1780 static bool s_triedToLoad
= false;
1781 static PrintWindow_t pfnPrintWindow
= NULL
;
1782 if ( !s_triedToLoad
)
1785 s_triedToLoad
= true;
1786 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1787 if ( dllUser32
.IsLoaded() )
1789 wxLogNull nolog
; // Don't report errors here
1790 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1795 //printf("Using PrintWindow\n");
1796 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1800 //printf("Using WM_PRINT\n");
1801 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1802 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1803 PRF_ERASEBKGND
| PRF_OWNED
);
1814 #include <wx/tipdlg.h>
1817 class wxPyTipProvider
: public wxTipProvider
{
1819 wxPyTipProvider(size_t currentTip
)
1820 : wxTipProvider(currentTip
) {}
1822 DEC_PYCALLBACK_STRING__pure(GetTip
);
1823 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1827 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1828 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1831 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1833 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1835 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1836 : wxTimer(owner
, id
)
1838 if (owner
== NULL
) SetOwner(this);
1842 void wxPyTimer::Notify() {
1844 bool blocked
= wxPyBeginBlockThreads();
1845 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1846 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1847 wxPyEndBlockThreads(blocked
);
1851 void wxPyTimer::base_Notify() {
1857 SWIGINTERN PyObject
*
1858 SWIG_FromCharPtr(const char* cptr
)
1861 size_t size
= strlen(cptr
);
1862 if (size
> INT_MAX
) {
1863 return SWIG_NewPointerObj((char*)(cptr
),
1864 SWIG_TypeQuery("char *"), 0);
1867 return PyString_FromStringAndSize(cptr
, size
);
1869 return PyString_FromString(cptr
);
1879 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1880 unsigned long max_value
,
1883 if (value
> max_value
) {
1885 PyErr_Format(PyExc_OverflowError
,
1886 "value %lu is greater than '%s' minimum %lu",
1887 value
, errmsg
, max_value
);
1895 #if UINT_MAX != ULONG_MAX
1897 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1899 const char* errmsg
= val
? "unsigned int" : (char*)0;
1901 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1902 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1903 if (val
) *val
= (unsigned int)(v
);
1910 SWIG_type_error(errmsg
, obj
);
1915 SWIGINTERNSHORT
unsigned int
1916 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1918 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1923 SWIGINTERNSHORT
unsigned int
1924 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1927 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1929 this is needed to make valgrind/purify happier.
1931 memset((void*)&v
, 0, sizeof(unsigned int));
1938 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1940 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1943 static wxString
Log_TimeStamp(){
1945 wxLog::TimeStamp(&msg
);
1948 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1949 // Make somce wrappers that double any % signs so they are 'escaped'
1950 void wxPyLogFatalError(const wxString
& msg
)
1953 m
.Replace(wxT("%"), wxT("%%"));
1957 void wxPyLogError(const wxString
& msg
)
1960 m
.Replace(wxT("%"), wxT("%%"));
1964 void wxPyLogWarning(const wxString
& msg
)
1967 m
.Replace(wxT("%"), wxT("%%"));
1971 void wxPyLogMessage(const wxString
& msg
)
1974 m
.Replace(wxT("%"), wxT("%%"));
1978 void wxPyLogInfo(const wxString
& msg
)
1981 m
.Replace(wxT("%"), wxT("%%"));
1985 void wxPyLogDebug(const wxString
& msg
)
1988 m
.Replace(wxT("%"), wxT("%%"));
1992 void wxPyLogVerbose(const wxString
& msg
)
1995 m
.Replace(wxT("%"), wxT("%%"));
1999 void wxPyLogStatus(const wxString
& msg
)
2002 m
.Replace(wxT("%"), wxT("%%"));
2006 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2009 m
.Replace(wxT("%"), wxT("%%"));
2010 wxLogStatus(pFrame
, m
);
2013 void wxPyLogSysError(const wxString
& msg
)
2016 m
.Replace(wxT("%"), wxT("%%"));
2020 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2023 m
.Replace(wxT("%"), wxT("%%"));
2024 wxLogGeneric(level
, m
);
2027 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2030 m
.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask
, m
);
2034 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2037 m
.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask
, m
);
2043 // A wxLog class that can be derived from in wxPython
2044 class wxPyLog
: public wxLog
{
2046 wxPyLog() : wxLog() {}
2048 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2050 bool blocked
= wxPyBeginBlockThreads();
2051 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2052 PyObject
* s
= wx2PyString(szString
);
2053 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2056 wxPyEndBlockThreads(blocked
);
2058 wxLog::DoLog(level
, szString
, t
);
2061 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2063 bool blocked
= wxPyBeginBlockThreads();
2064 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2065 PyObject
* s
= wx2PyString(szString
);
2066 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2069 wxPyEndBlockThreads(blocked
);
2071 wxLog::DoLogString(szString
, t
);
2080 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2083 #include <wx/joystick.h>
2086 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2087 // A C++ stub class for wxJoystick for platforms that don't have it.
2088 class wxJoystick
: public wxObject
{
2090 wxJoystick(int joystick
= wxJOYSTICK1
) {
2091 bool blocked
= wxPyBeginBlockThreads();
2092 PyErr_SetString(PyExc_NotImplementedError
,
2093 "wxJoystick is not available on this platform.");
2094 wxPyEndBlockThreads(blocked
);
2096 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2097 int GetZPosition() { return -1; }
2098 int GetButtonState() { return -1; }
2099 int GetPOVPosition() { return -1; }
2100 int GetPOVCTSPosition() { return -1; }
2101 int GetRudderPosition() { return -1; }
2102 int GetUPosition() { return -1; }
2103 int GetVPosition() { return -1; }
2104 int GetMovementThreshold() { return -1; }
2105 void SetMovementThreshold(int threshold
) {}
2107 bool IsOk(void) { return false; }
2108 int GetNumberJoysticks() { return -1; }
2109 int GetManufacturerId() { return -1; }
2110 int GetProductId() { return -1; }
2111 wxString
GetProductName() { return wxEmptyString
; }
2112 int GetXMin() { return -1; }
2113 int GetYMin() { return -1; }
2114 int GetZMin() { return -1; }
2115 int GetXMax() { return -1; }
2116 int GetYMax() { return -1; }
2117 int GetZMax() { return -1; }
2118 int GetNumberButtons() { return -1; }
2119 int GetNumberAxes() { return -1; }
2120 int GetMaxButtons() { return -1; }
2121 int GetMaxAxes() { return -1; }
2122 int GetPollingMin() { return -1; }
2123 int GetPollingMax() { return -1; }
2124 int GetRudderMin() { return -1; }
2125 int GetRudderMax() { return -1; }
2126 int GetUMin() { return -1; }
2127 int GetUMax() { return -1; }
2128 int GetVMin() { return -1; }
2129 int GetVMax() { return -1; }
2131 bool HasRudder() { return false; }
2132 bool HasZ() { return false; }
2133 bool HasU() { return false; }
2134 bool HasV() { return false; }
2135 bool HasPOV() { return false; }
2136 bool HasPOV4Dir() { return false; }
2137 bool HasPOVCTS() { return false; }
2139 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2140 bool ReleaseCapture() { return false; }
2145 #include <wx/sound.h>
2149 // A C++ stub class for wxWave for platforms that don't have it.
2150 class wxSound
: public wxObject
2154 bool blocked
= wxPyBeginBlockThreads();
2155 PyErr_SetString(PyExc_NotImplementedError
,
2156 "wxSound is not available on this platform.");
2157 wxPyEndBlockThreads(blocked
);
2159 wxSound(const wxString
&/*, bool*/) {
2160 bool blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(int, const wxByte
*) {
2166 bool blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2174 bool Create(const wxString
&/*, bool*/) { return false; }
2175 bool Create(int, const wxByte
*) { return false; };
2176 bool IsOk() { return false; };
2177 bool Play(unsigned) const { return false; }
2178 static bool Play(const wxString
&, unsigned) { return false; }
2179 static void Stop() {}
2184 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2185 if (fileName
.Length() == 0)
2188 return new wxSound(fileName
);
2190 static wxSound
*new_wxSound(PyObject
*data
){
2191 unsigned char* buffer
; int size
;
2192 wxSound
*sound
= NULL
;
2194 bool blocked
= wxPyBeginBlockThreads();
2195 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2197 sound
= new wxSound(size
, buffer
);
2199 wxPyEndBlockThreads(blocked
);
2202 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2204 unsigned char* buffer
;
2208 bool blocked
= wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2211 rv
= self
->Create(size
, buffer
);
2213 wxPyEndBlockThreads(blocked
);
2216 bool blocked
= wxPyBeginBlockThreads();
2217 PyErr_SetString(PyExc_NotImplementedError
,
2218 "Create from data is not available on this platform.");
2219 wxPyEndBlockThreads(blocked
);
2224 #include <wx/mimetype.h>
2226 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2228 if (self
->GetMimeType(&str
))
2229 return wx2PyString(str
);
2233 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2235 if (self
->GetMimeTypes(arr
))
2236 return wxArrayString2PyList_helper(arr
);
2240 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2242 if (self
->GetExtensions(arr
))
2243 return wxArrayString2PyList_helper(arr
);
2247 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2249 if (self
->GetIcon(&loc
))
2250 return new wxIcon(loc
);
2254 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2256 if (self
->GetIcon(&loc
)) {
2257 wxString iconFile
= loc
.GetFileName();
2262 // Make a tuple and put the values in it
2263 bool blocked
= wxPyBeginBlockThreads();
2264 PyObject
* tuple
= PyTuple_New(3);
2265 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2266 wxT("wxIcon"), true));
2267 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2268 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2269 wxPyEndBlockThreads(blocked
);
2275 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2277 if (self
->GetDescription(&str
))
2278 return wx2PyString(str
);
2282 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2284 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2285 return wx2PyString(str
);
2289 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2291 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2292 return wx2PyString(str
);
2296 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 wxArrayString verbs
;
2298 wxArrayString commands
;
2299 if (self
->GetAllCommands(&verbs
, &commands
,
2300 wxFileType::MessageParameters(filename
, mimetype
))) {
2301 bool blocked
= wxPyBeginBlockThreads();
2302 PyObject
* tuple
= PyTuple_New(2);
2303 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2304 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2305 wxPyEndBlockThreads(blocked
);
2311 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2312 return wxFileType::ExpandCommand(command
,
2313 wxFileType::MessageParameters(filename
, mimetype
));
2315 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2317 self
->EnumAllFileTypes(arr
);
2318 return wxArrayString2PyList_helper(arr
);
2321 #include <wx/artprov.h>
2323 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2324 static const wxString
wxPyART_MENU(wxART_MENU
);
2325 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2326 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2327 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2328 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2329 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2330 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2331 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2332 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2333 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2334 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2335 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2336 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2337 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2338 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2339 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2340 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2341 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2342 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2343 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2344 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2345 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2346 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2347 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2348 static const wxString
wxPyART_HELP(wxART_HELP
);
2349 static const wxString
wxPyART_TIP(wxART_TIP
);
2350 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2351 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2352 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2353 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2354 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2355 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2356 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2357 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2358 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2359 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2360 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2361 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2362 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2363 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2364 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2365 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2366 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2367 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2368 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2369 static const wxString
wxPyART_COPY(wxART_COPY
);
2370 static const wxString
wxPyART_CUT(wxART_CUT
);
2371 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2372 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2373 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2374 static const wxString
wxPyART_REDO(wxART_REDO
);
2375 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2376 static const wxString
wxPyART_FIND(wxART_FIND
);
2377 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2378 // Python aware wxArtProvider
2379 class wxPyArtProvider
: public wxArtProvider
{
2382 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2383 const wxArtClient
& client
,
2384 const wxSize
& size
) {
2385 wxBitmap rval
= wxNullBitmap
;
2386 bool blocked
= wxPyBeginBlockThreads();
2387 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2388 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2392 s1
= wx2PyString(id
);
2393 s2
= wx2PyString(client
);
2394 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2399 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2404 wxPyEndBlockThreads(blocked
);
2411 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2415 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2416 PyObject
* ret
= PyTuple_New(3);
2418 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2419 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2420 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2425 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2430 cont
= self
->GetFirstGroup(value
, index
);
2431 return __EnumerationHelper(cont
, value
, index
);
2433 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2437 cont
= self
->GetNextGroup(value
, index
);
2438 return __EnumerationHelper(cont
, value
, index
);
2440 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2445 cont
= self
->GetFirstEntry(value
, index
);
2446 return __EnumerationHelper(cont
, value
, index
);
2448 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2452 cont
= self
->GetNextEntry(value
, index
);
2453 return __EnumerationHelper(cont
, value
, index
);
2455 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2457 self
->Read(key
, &rv
, defaultVal
);
2462 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2464 if (PyNumber_Check(obj
)) {
2465 if (val
) *val
= PyFloat_AsDouble(obj
);
2469 SWIG_type_error("number", obj
);
2475 SWIGINTERNSHORT
double
2476 SWIG_As_double(PyObject
* obj
)
2479 if (!SWIG_AsVal_double(obj
, &v
)) {
2481 this is needed to make valgrind/purify happier.
2483 memset((void*)&v
, 0, sizeof(double));
2490 SWIG_Check_double(PyObject
* obj
)
2492 return SWIG_AsVal_double(obj
, (double*)0);
2495 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2497 self
->Read(key
, &rv
, defaultVal
);
2501 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2502 #define SWIG_From_double PyFloat_FromDouble
2505 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2507 self
->Read(key
, &rv
, defaultVal
);
2511 #include <wx/datetime.h>
2513 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2514 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2516 #define LOCAL_TZ wxDateTime::Local
2518 static PyObject
*DateTime_GetAmPmStrings(){
2521 wxDateTime::GetAmPmStrings(&am
, &pm
);
2522 bool blocked
= wxPyBeginBlockThreads();
2523 PyObject
* tup
= PyTuple_New(2);
2524 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2525 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2526 wxPyEndBlockThreads(blocked
);
2530 #if UINT_MAX < LONG_MAX
2531 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2535 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2536 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2540 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2541 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2542 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2543 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2544 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2545 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2546 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2547 return (*self
< *other
);
2549 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2550 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2551 return (*self
<= *other
);
2553 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2554 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2555 return (*self
> *other
);
2557 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2558 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2559 return (*self
>= *other
);
2561 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2562 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2563 return (*self
== *other
);
2565 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2566 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2567 return (*self
!= *other
);
2569 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2571 const wxChar
* _date
= date
;
2572 rv
= self
->ParseRfc822Date(_date
);
2573 if (rv
== NULL
) return -1;
2576 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2578 const wxChar
* _date
= date
;
2579 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2580 if (rv
== NULL
) return -1;
2583 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2585 const wxChar
* _datetime
= datetime
;
2586 rv
= self
->ParseDateTime(_datetime
);
2587 if (rv
== NULL
) return -1;
2588 return rv
- _datetime
;
2590 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2592 const wxChar
* _date
= date
;
2593 rv
= self
->ParseDate(_date
);
2594 if (rv
== NULL
) return -1;
2597 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2599 const wxChar
* _time
= time
;
2600 rv
= self
->ParseTime(_time
);
2601 if (rv
== NULL
) return -1;
2604 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2605 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2606 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2607 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2608 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2609 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2610 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2611 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2612 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2613 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2614 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2615 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2616 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2617 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2618 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2619 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2621 #include <wx/dataobj.h>
2623 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2624 size_t count
= self
->GetFormatCount(dir
);
2625 wxDataFormat
* formats
= new wxDataFormat
[count
];
2626 self
->GetAllFormats(formats
, dir
);
2628 bool blocked
= wxPyBeginBlockThreads();
2629 PyObject
* list
= PyList_New(count
);
2630 for (size_t i
=0; i
<count
; i
++) {
2631 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2632 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2633 PyList_Append(list
, obj
);
2636 wxPyEndBlockThreads(blocked
);
2640 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2641 PyObject
* rval
= NULL
;
2642 size_t size
= self
->GetDataSize(format
);
2643 bool blocked
= wxPyBeginBlockThreads();
2645 char* buf
= new char[size
];
2646 if (self
->GetDataHere(format
, buf
))
2647 rval
= PyString_FromStringAndSize(buf
, size
);
2654 wxPyEndBlockThreads(blocked
);
2657 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2659 bool blocked
= wxPyBeginBlockThreads();
2660 if (PyString_Check(data
)) {
2661 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2664 // raise a TypeError if not a string
2665 PyErr_SetString(PyExc_TypeError
, "String expected.");
2668 wxPyEndBlockThreads(blocked
);
2671 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2672 PyObject
* rval
= NULL
;
2673 size_t size
= self
->GetDataSize();
2674 bool blocked
= wxPyBeginBlockThreads();
2676 char* buf
= new char[size
];
2677 if (self
->GetDataHere(buf
))
2678 rval
= PyString_FromStringAndSize(buf
, size
);
2685 wxPyEndBlockThreads(blocked
);
2688 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2690 bool blocked
= wxPyBeginBlockThreads();
2691 if (PyString_Check(data
)) {
2692 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2695 // raise a TypeError if not a string
2696 PyErr_SetString(PyExc_TypeError
, "String expected.");
2699 wxPyEndBlockThreads(blocked
);
2702 // Create a new class for wxPython to use
2703 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2705 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2706 : wxDataObjectSimple(format
) {}
2708 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2709 bool GetDataHere(void *buf
) const;
2710 bool SetData(size_t len
, const void *buf
) const;
2714 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2716 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2717 // We need to get the data for this object and write it to buf. I think
2718 // the best way to do this for wxPython is to have the Python method
2719 // return either a string or None and then act appropriately with the
2723 bool blocked
= wxPyBeginBlockThreads();
2724 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2726 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2728 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2730 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2734 wxPyEndBlockThreads(blocked
);
2738 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2739 // For this one we simply need to make a string from buf and len
2740 // and send it to the Python method.
2742 bool blocked
= wxPyBeginBlockThreads();
2743 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2744 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2745 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2748 wxPyEndBlockThreads(blocked
);
2752 // Create a new class for wxPython to use
2753 class wxPyTextDataObject
: public wxTextDataObject
{
2755 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2756 : wxTextDataObject(text
) {}
2758 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2759 DEC_PYCALLBACK_STRING__const(GetText
);
2760 DEC_PYCALLBACK__STRING(SetText
);
2764 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2765 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2766 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2769 // Create a new class for wxPython to use
2770 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2772 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2773 : wxBitmapDataObject(bitmap
) {}
2775 wxBitmap
GetBitmap() const;
2776 void SetBitmap(const wxBitmap
& bitmap
);
2780 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2781 wxBitmap
* rval
= &wxNullBitmap
;
2782 bool blocked
= wxPyBeginBlockThreads();
2783 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2786 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2788 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2793 wxPyEndBlockThreads(blocked
);
2797 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2798 bool blocked
= wxPyBeginBlockThreads();
2799 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2800 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2801 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2804 wxPyEndBlockThreads(blocked
);
2807 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2808 return new wxCustomDataObject(wxDataFormat(formatName
));
2810 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2812 bool blocked
= wxPyBeginBlockThreads();
2813 if (PyString_Check(data
)) {
2814 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2817 // raise a TypeError if not a string
2818 PyErr_SetString(PyExc_TypeError
, "String expected.");
2821 wxPyEndBlockThreads(blocked
);
2824 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2826 bool blocked
= wxPyBeginBlockThreads();
2827 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2828 wxPyEndBlockThreads(blocked
);
2832 #include <wx/metafile.h>
2835 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2838 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2839 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2841 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2842 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2845 class wxPyTextDropTarget
: public wxTextDropTarget
{
2847 wxPyTextDropTarget() {}
2849 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2851 DEC_PYCALLBACK__(OnLeave
);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2855 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2860 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2861 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2862 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2865 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2869 class wxPyFileDropTarget
: public wxFileDropTarget
{
2871 wxPyFileDropTarget() {}
2873 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2875 DEC_PYCALLBACK__(OnLeave
);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2884 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2885 const wxArrayString
& filenames
) {
2887 bool blocked
= wxPyBeginBlockThreads();
2888 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2889 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2893 wxPyEndBlockThreads(blocked
);
2899 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2900 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2903 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2908 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2910 #include <wx/display.h>
2912 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2913 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2915 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2917 #include <wx/dynarray.h>
2918 #include <wx/vidmode.h>
2920 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2921 #include "wx/arrimpl.cpp"
2922 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2923 const wxVideoMode wxDefaultVideoMode
;
2928 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2931 static size_t GetCount()
2932 { wxPyRaiseNotImplemented(); return 0; }
2934 static int GetFromPoint(const wxPoint
& pt
)
2935 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2936 static int GetFromWindow(wxWindow
*window
)
2937 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2939 virtual bool IsOk() const { return false; }
2940 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2941 virtual wxString
GetName() const { return wxEmptyString
; }
2942 bool IsPrimary() const { return false; }
2944 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2945 { wxArrayVideoModes a
; return a
; }
2947 virtual wxVideoMode
GetCurrentMode() const
2948 { return wxDefaultVideoMode
; }
2950 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2957 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2958 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2959 PyObject
* pyList
= NULL
;
2960 wxArrayVideoModes arr
= self
->GetModes(mode
);
2961 bool blocked
= wxPyBeginBlockThreads();
2962 pyList
= PyList_New(0);
2963 for (int i
=0; i
< arr
.GetCount(); i
++) {
2964 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2965 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2966 PyList_Append(pyList
, pyObj
);
2969 wxPyEndBlockThreads(blocked
);
2973 #include <wx/stdpaths.h>
2975 static wxStandardPaths
*StandardPaths_Get(){
2976 return (wxStandardPaths
*) &wxStandardPaths::Get();
2978 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2979 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2983 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxSystemColour arg1
;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "index", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2994 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 if (!wxPyCheckForApp()) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3006 wxColour
* resultptr
;
3007 resultptr
= new wxColour((wxColour
&)(result
));
3008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3016 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "index", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3027 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3028 if (SWIG_arg_fail(1)) SWIG_fail
;
3031 if (!wxPyCheckForApp()) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3040 resultptr
= new wxFont((wxFont
&)(result
));
3041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3049 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxSystemMetric arg1
;
3053 PyObject
* obj0
= 0 ;
3055 (char *) "index", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
3060 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3061 if (SWIG_arg_fail(1)) SWIG_fail
;
3064 if (!wxPyCheckForApp()) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= SWIG_From_int((int)(result
));
3080 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxSystemFeature arg1
;
3084 PyObject
* obj0
= 0 ;
3086 (char *) "index", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3091 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3092 if (SWIG_arg_fail(1)) SWIG_fail
;
3095 if (!wxPyCheckForApp()) SWIG_fail
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3111 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxSystemScreenType result
;
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3120 if (!wxPyCheckForApp()) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= SWIG_From_int((result
));
3134 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxSystemScreenType arg1
;
3137 PyObject
* obj0
= 0 ;
3139 (char *) "screen", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3144 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3145 if (SWIG_arg_fail(1)) SWIG_fail
;
3148 if (!wxPyCheckForApp()) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 Py_INCREF(Py_None
); resultobj
= Py_None
;
3162 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3165 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3167 return Py_BuildValue((char *)"");
3169 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3170 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3175 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3180 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3182 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3189 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxSystemOptions
*result
;
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (wxSystemOptions
*)new wxSystemOptions();
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3211 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxString
*arg1
= 0 ;
3214 wxString
*arg2
= 0 ;
3215 bool temp1
= false ;
3216 bool temp2
= false ;
3217 PyObject
* obj0
= 0 ;
3218 PyObject
* obj1
= 0 ;
3220 (char *) "name",(char *) "value", NULL
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3225 arg1
= wxString_in_helper(obj0
);
3226 if (arg1
== NULL
) SWIG_fail
;
3230 arg2
= wxString_in_helper(obj1
);
3231 if (arg2
== NULL
) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3241 Py_INCREF(Py_None
); resultobj
= Py_None
;
3264 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxString
*arg1
= 0 ;
3268 bool temp1
= false ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3272 (char *) "name",(char *) "value", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3277 arg1
= wxString_in_helper(obj0
);
3278 if (arg1
== NULL
) SWIG_fail
;
3282 arg2
= (int)(SWIG_As_int(obj1
));
3283 if (SWIG_arg_fail(2)) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxString
*arg1
= 0 ;
3311 bool temp1
= false ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "name", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3319 arg1
= wxString_in_helper(obj0
);
3320 if (arg1
== NULL
) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3351 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxString
*arg1
= 0 ;
3355 bool temp1
= false ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "name", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3363 arg1
= wxString_in_helper(obj0
);
3364 if (arg1
== NULL
) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3375 resultobj
= SWIG_From_int((int)(result
));
3391 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxString
*arg1
= 0 ;
3395 bool temp1
= false ;
3396 PyObject
* obj0
= 0 ;
3398 (char *) "name", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3403 arg1
= wxString_in_helper(obj0
);
3404 if (arg1
== NULL
) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3431 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3434 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3436 return Py_BuildValue((char *)"");
3438 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3439 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3444 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3449 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3451 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3458 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3459 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3464 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3469 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3471 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3478 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3479 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3484 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3489 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3491 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3498 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (long)wxNewId();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= SWIG_From_long((long)(result
));
3522 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3525 PyObject
* obj0
= 0 ;
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3532 arg1
= (long)(SWIG_As_long(obj0
));
3533 if (SWIG_arg_fail(1)) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (long)wxGetCurrentId();
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= SWIG_From_long((long)(result
));
3573 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3577 PyObject
* obj0
= 0 ;
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3584 arg1
= (int)(SWIG_As_int(obj0
));
3585 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (bool)wxIsStockID(arg1
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3603 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3606 wxString
*arg2
= 0 ;
3608 bool temp2
= false ;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3612 (char *) "id",(char *) "label", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3617 arg1
= (int)(SWIG_As_int(obj0
));
3618 if (SWIG_arg_fail(1)) SWIG_fail
;
3621 arg2
= wxString_in_helper(obj1
);
3622 if (arg2
== NULL
) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3649 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3652 bool arg2
= (bool) true ;
3653 wxString arg3
= (wxString
) wxPyEmptyString
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3657 PyObject
* obj2
= 0 ;
3659 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3664 arg1
= (int)(SWIG_As_int(obj0
));
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3669 arg2
= (bool)(SWIG_As_bool(obj1
));
3670 if (SWIG_arg_fail(2)) SWIG_fail
;
3675 wxString
* sptr
= wxString_in_helper(obj2
);
3676 if (sptr
== NULL
) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3701 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3709 if (!wxPyCheckForApp()) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3731 if (!wxPyCheckForApp()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 bool arg1
= (bool) true ;
3749 PyObject
* obj0
= 0 ;
3751 (char *) "resetTimer", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3757 arg1
= (bool)(SWIG_As_bool(obj0
));
3758 if (SWIG_arg_fail(1)) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (long)wxGetElapsedTime(arg1
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_From_long((long)(result
));
3777 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 int *arg1
= (int *) 0 ;
3780 int *arg2
= (int *) 0 ;
3789 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3790 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3793 if (!wxPyCheckForApp()) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxGetMousePosition(arg1
,arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 Py_INCREF(Py_None
); resultobj
= Py_None
;
3801 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3802 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3803 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3804 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3811 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (bool)wxIsBusy();
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3835 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3863 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3866 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3868 bool temp1
= false ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "command", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3877 arg1
= wxString_in_helper(obj0
);
3878 if (arg1
== NULL
) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (bool)wxShell((wxString
const &)*arg1
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3906 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3927 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 int *arg1
= (int *) 0 ;
3930 int *arg2
= (int *) 0 ;
3940 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3941 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 result
= (int)wxGetOsVersion(arg1
,arg2
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_From_int((int)(result
));
3953 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3954 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3955 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3956 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3963 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= wxGetOsDescription();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3991 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= (long)wxGetFreeMemory();
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_From_long((long)(result
));
4015 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxShutdownFlags arg1
;
4019 PyObject
* obj0
= 0 ;
4021 (char *) "wFlags", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4026 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4030 if (!wxPyCheckForApp()) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4046 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "secs", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4056 arg1
= (int)(SWIG_As_int(obj0
));
4057 if (SWIG_arg_fail(1)) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 Py_INCREF(Py_None
); resultobj
= Py_None
;
4073 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 unsigned long arg1
;
4076 PyObject
* obj0
= 0 ;
4078 (char *) "milliseconds", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4083 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4084 if (SWIG_arg_fail(1)) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 Py_INCREF(Py_None
); resultobj
= Py_None
;
4100 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 unsigned long arg1
;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "microseconds", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4110 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4111 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4130 PyObject
* obj0
= 0 ;
4132 (char *) "enable", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4137 arg1
= (bool)(SWIG_As_bool(obj0
));
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxEnableTopLevelWindows(arg1
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxString
*arg1
= 0 ;
4158 bool temp1
= false ;
4159 PyObject
* obj0
= 0 ;
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4166 arg1
= wxString_in_helper(obj0
);
4167 if (arg1
== NULL
) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4198 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= wxGetEmailAddress();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4226 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= wxGetHostName();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4254 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= wxGetFullHostName();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4282 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= wxGetUserId();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4310 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= wxGetUserName();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4338 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= wxGetHomeDir();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4366 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4369 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4371 bool temp1
= false ;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "user", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4380 arg1
= wxString_in_helper(obj0
);
4381 if (arg1
== NULL
) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 result
= wxGetUserHome((wxString
const &)*arg1
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4413 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 unsigned long result
;
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (unsigned long)wxGetProcessId();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4437 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 Py_INCREF(Py_None
); resultobj
= Py_None
;
4458 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4461 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4462 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4463 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4466 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4468 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4469 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4470 int arg6
= (int) 0 ;
4471 wxWindow
*arg7
= (wxWindow
*) NULL
;
4472 int arg8
= (int) -1 ;
4473 int arg9
= (int) -1 ;
4475 bool temp1
= false ;
4476 bool temp2
= false ;
4477 bool temp3
= false ;
4478 bool temp4
= false ;
4479 bool temp5
= false ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 PyObject
* obj2
= 0 ;
4483 PyObject
* obj3
= 0 ;
4484 PyObject
* obj4
= 0 ;
4485 PyObject
* obj5
= 0 ;
4486 PyObject
* obj6
= 0 ;
4487 PyObject
* obj7
= 0 ;
4488 PyObject
* obj8
= 0 ;
4490 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4496 arg1
= wxString_in_helper(obj0
);
4497 if (arg1
== NULL
) SWIG_fail
;
4503 arg2
= wxString_in_helper(obj1
);
4504 if (arg2
== NULL
) SWIG_fail
;
4510 arg3
= wxString_in_helper(obj2
);
4511 if (arg3
== NULL
) SWIG_fail
;
4517 arg4
= wxString_in_helper(obj3
);
4518 if (arg4
== NULL
) SWIG_fail
;
4524 arg5
= wxString_in_helper(obj4
);
4525 if (arg5
== NULL
) SWIG_fail
;
4531 arg6
= (int)(SWIG_As_int(obj5
));
4532 if (SWIG_arg_fail(6)) SWIG_fail
;
4536 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4537 if (SWIG_arg_fail(7)) SWIG_fail
;
4541 arg8
= (int)(SWIG_As_int(obj7
));
4542 if (SWIG_arg_fail(8)) SWIG_fail
;
4547 arg9
= (int)(SWIG_As_int(obj8
));
4548 if (SWIG_arg_fail(9)) SWIG_fail
;
4552 if (!wxPyCheckForApp()) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4612 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxString
*arg1
= 0 ;
4615 wxString
*arg2
= 0 ;
4616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4618 wxWindow
*arg4
= (wxWindow
*) NULL
;
4620 bool temp1
= false ;
4621 bool temp2
= false ;
4622 bool temp3
= false ;
4623 PyObject
* obj0
= 0 ;
4624 PyObject
* obj1
= 0 ;
4625 PyObject
* obj2
= 0 ;
4626 PyObject
* obj3
= 0 ;
4628 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4633 arg1
= wxString_in_helper(obj0
);
4634 if (arg1
== NULL
) SWIG_fail
;
4638 arg2
= wxString_in_helper(obj1
);
4639 if (arg2
== NULL
) SWIG_fail
;
4644 arg3
= wxString_in_helper(obj2
);
4645 if (arg3
== NULL
) SWIG_fail
;
4650 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4651 if (SWIG_arg_fail(4)) SWIG_fail
;
4654 if (!wxPyCheckForApp()) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4698 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxString
*arg1
= 0 ;
4701 wxString
*arg2
= 0 ;
4702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4704 wxWindow
*arg4
= (wxWindow
*) NULL
;
4706 bool temp1
= false ;
4707 bool temp2
= false ;
4708 bool temp3
= false ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4712 PyObject
* obj3
= 0 ;
4714 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4719 arg1
= wxString_in_helper(obj0
);
4720 if (arg1
== NULL
) SWIG_fail
;
4724 arg2
= wxString_in_helper(obj1
);
4725 if (arg2
== NULL
) SWIG_fail
;
4730 arg3
= wxString_in_helper(obj2
);
4731 if (arg3
== NULL
) SWIG_fail
;
4736 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4737 if (SWIG_arg_fail(4)) SWIG_fail
;
4740 if (!wxPyCheckForApp()) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
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());
4784 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4787 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4788 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4789 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4790 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4793 wxWindow
*arg5
= (wxWindow
*) NULL
;
4795 bool temp1
= false ;
4796 bool temp2
= false ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 PyObject
* obj2
= 0 ;
4801 PyObject
* obj3
= 0 ;
4802 PyObject
* obj4
= 0 ;
4804 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4810 arg1
= wxString_in_helper(obj0
);
4811 if (arg1
== NULL
) SWIG_fail
;
4817 arg2
= wxString_in_helper(obj1
);
4818 if (arg2
== NULL
) SWIG_fail
;
4824 arg3
= (long)(SWIG_As_long(obj2
));
4825 if (SWIG_arg_fail(3)) SWIG_fail
;
4831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4835 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4836 if (SWIG_arg_fail(5)) SWIG_fail
;
4839 if (!wxPyCheckForApp()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4875 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxString
*arg1
= 0 ;
4878 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4879 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4880 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4881 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4882 wxWindow
*arg4
= (wxWindow
*) NULL
;
4883 int arg5
= (int) -1 ;
4884 int arg6
= (int) -1 ;
4885 bool arg7
= (bool) true ;
4887 bool temp1
= false ;
4888 bool temp2
= false ;
4889 bool temp3
= false ;
4890 PyObject
* obj0
= 0 ;
4891 PyObject
* obj1
= 0 ;
4892 PyObject
* obj2
= 0 ;
4893 PyObject
* obj3
= 0 ;
4894 PyObject
* obj4
= 0 ;
4895 PyObject
* obj5
= 0 ;
4896 PyObject
* obj6
= 0 ;
4898 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4903 arg1
= wxString_in_helper(obj0
);
4904 if (arg1
== NULL
) SWIG_fail
;
4909 arg2
= wxString_in_helper(obj1
);
4910 if (arg2
== NULL
) SWIG_fail
;
4916 arg3
= wxString_in_helper(obj2
);
4917 if (arg3
== NULL
) SWIG_fail
;
4922 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(4)) SWIG_fail
;
4927 arg5
= (int)(SWIG_As_int(obj4
));
4928 if (SWIG_arg_fail(5)) SWIG_fail
;
4933 arg6
= (int)(SWIG_As_int(obj5
));
4934 if (SWIG_arg_fail(6)) SWIG_fail
;
4939 arg7
= (bool)(SWIG_As_bool(obj6
));
4940 if (SWIG_arg_fail(7)) SWIG_fail
;
4944 if (!wxPyCheckForApp()) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4988 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxString
*arg1
= 0 ;
4991 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4992 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4995 wxWindow
*arg4
= (wxWindow
*) NULL
;
4997 bool temp1
= false ;
4998 bool temp2
= false ;
4999 bool temp3
= false ;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5002 PyObject
* obj2
= 0 ;
5003 PyObject
* obj3
= 0 ;
5005 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5010 arg1
= wxString_in_helper(obj0
);
5011 if (arg1
== NULL
) SWIG_fail
;
5016 arg2
= wxString_in_helper(obj1
);
5017 if (arg2
== NULL
) SWIG_fail
;
5023 arg3
= wxString_in_helper(obj2
);
5024 if (arg3
== NULL
) SWIG_fail
;
5029 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5030 if (SWIG_arg_fail(4)) SWIG_fail
;
5033 if (!wxPyCheckForApp()) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5077 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxString
*arg1
= 0 ;
5080 wxString
*arg2
= 0 ;
5082 wxString
*arg4
= (wxString
*) 0 ;
5083 wxWindow
*arg5
= (wxWindow
*) NULL
;
5084 int arg6
= (int) -1 ;
5085 int arg7
= (int) -1 ;
5086 bool arg8
= (bool) true ;
5087 int arg9
= (int) 150 ;
5088 int arg10
= (int) 200 ;
5090 bool temp1
= false ;
5091 bool temp2
= false ;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5094 PyObject
* obj2
= 0 ;
5095 PyObject
* obj3
= 0 ;
5096 PyObject
* obj4
= 0 ;
5097 PyObject
* obj5
= 0 ;
5098 PyObject
* obj6
= 0 ;
5099 PyObject
* obj7
= 0 ;
5100 PyObject
* obj8
= 0 ;
5102 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5107 arg1
= wxString_in_helper(obj0
);
5108 if (arg1
== NULL
) SWIG_fail
;
5112 arg2
= wxString_in_helper(obj1
);
5113 if (arg2
== NULL
) SWIG_fail
;
5117 arg3
= PyList_Size(obj2
);
5118 arg4
= wxString_LIST_helper(obj2
);
5119 if (arg4
== NULL
) SWIG_fail
;
5122 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(5)) SWIG_fail
;
5127 arg6
= (int)(SWIG_As_int(obj4
));
5128 if (SWIG_arg_fail(6)) SWIG_fail
;
5133 arg7
= (int)(SWIG_As_int(obj5
));
5134 if (SWIG_arg_fail(7)) SWIG_fail
;
5139 arg8
= (bool)(SWIG_As_bool(obj6
));
5140 if (SWIG_arg_fail(8)) SWIG_fail
;
5145 arg9
= (int)(SWIG_As_int(obj7
));
5146 if (SWIG_arg_fail(9)) SWIG_fail
;
5151 arg10
= (int)(SWIG_As_int(obj8
));
5152 if (SWIG_arg_fail(10)) SWIG_fail
;
5156 if (!wxPyCheckForApp()) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5179 if (arg4
) delete [] arg4
;
5192 if (arg4
) delete [] arg4
;
5198 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxString
*arg1
= 0 ;
5201 wxString
*arg2
= 0 ;
5203 wxString
*arg4
= (wxString
*) 0 ;
5204 wxWindow
*arg5
= (wxWindow
*) NULL
;
5205 int arg6
= (int) -1 ;
5206 int arg7
= (int) -1 ;
5207 bool arg8
= (bool) true ;
5208 int arg9
= (int) 150 ;
5209 int arg10
= (int) 200 ;
5211 bool temp1
= false ;
5212 bool temp2
= false ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 PyObject
* obj2
= 0 ;
5216 PyObject
* obj3
= 0 ;
5217 PyObject
* obj4
= 0 ;
5218 PyObject
* obj5
= 0 ;
5219 PyObject
* obj6
= 0 ;
5220 PyObject
* obj7
= 0 ;
5221 PyObject
* obj8
= 0 ;
5223 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5228 arg1
= wxString_in_helper(obj0
);
5229 if (arg1
== NULL
) SWIG_fail
;
5233 arg2
= wxString_in_helper(obj1
);
5234 if (arg2
== NULL
) SWIG_fail
;
5238 arg3
= PyList_Size(obj2
);
5239 arg4
= wxString_LIST_helper(obj2
);
5240 if (arg4
== NULL
) SWIG_fail
;
5243 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5244 if (SWIG_arg_fail(5)) SWIG_fail
;
5248 arg6
= (int)(SWIG_As_int(obj4
));
5249 if (SWIG_arg_fail(6)) SWIG_fail
;
5254 arg7
= (int)(SWIG_As_int(obj5
));
5255 if (SWIG_arg_fail(7)) SWIG_fail
;
5260 arg8
= (bool)(SWIG_As_bool(obj6
));
5261 if (SWIG_arg_fail(8)) SWIG_fail
;
5266 arg9
= (int)(SWIG_As_int(obj7
));
5267 if (SWIG_arg_fail(9)) SWIG_fail
;
5272 arg10
= (int)(SWIG_As_int(obj8
));
5273 if (SWIG_arg_fail(10)) SWIG_fail
;
5277 if (!wxPyCheckForApp()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_From_int((int)(result
));
5296 if (arg4
) delete [] arg4
;
5309 if (arg4
) delete [] arg4
;
5315 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxString
*arg1
= 0 ;
5318 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5319 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5320 int arg3
= (int) wxOK
|wxCENTRE
;
5321 wxWindow
*arg4
= (wxWindow
*) NULL
;
5322 int arg5
= (int) -1 ;
5323 int arg6
= (int) -1 ;
5325 bool temp1
= false ;
5326 bool temp2
= false ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 PyObject
* obj2
= 0 ;
5330 PyObject
* obj3
= 0 ;
5331 PyObject
* obj4
= 0 ;
5332 PyObject
* obj5
= 0 ;
5334 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5339 arg1
= wxString_in_helper(obj0
);
5340 if (arg1
== NULL
) SWIG_fail
;
5345 arg2
= wxString_in_helper(obj1
);
5346 if (arg2
== NULL
) SWIG_fail
;
5352 arg3
= (int)(SWIG_As_int(obj2
));
5353 if (SWIG_arg_fail(3)) SWIG_fail
;
5357 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(4)) SWIG_fail
;
5362 arg5
= (int)(SWIG_As_int(obj4
));
5363 if (SWIG_arg_fail(5)) SWIG_fail
;
5368 arg6
= (int)(SWIG_As_int(obj5
));
5369 if (SWIG_arg_fail(6)) SWIG_fail
;
5373 if (!wxPyCheckForApp()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_From_int((int)(result
));
5405 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxString
*arg1
= 0 ;
5408 wxString
*arg2
= 0 ;
5409 wxString
*arg3
= 0 ;
5411 long arg5
= (long) 0 ;
5412 long arg6
= (long) 100 ;
5413 wxWindow
*arg7
= (wxWindow
*) NULL
;
5414 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5415 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5417 bool temp1
= false ;
5418 bool temp2
= false ;
5419 bool temp3
= false ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5423 PyObject
* obj2
= 0 ;
5424 PyObject
* obj3
= 0 ;
5425 PyObject
* obj4
= 0 ;
5426 PyObject
* obj5
= 0 ;
5427 PyObject
* obj6
= 0 ;
5428 PyObject
* obj7
= 0 ;
5430 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5435 arg1
= wxString_in_helper(obj0
);
5436 if (arg1
== NULL
) SWIG_fail
;
5440 arg2
= wxString_in_helper(obj1
);
5441 if (arg2
== NULL
) SWIG_fail
;
5445 arg3
= wxString_in_helper(obj2
);
5446 if (arg3
== NULL
) SWIG_fail
;
5450 arg4
= (long)(SWIG_As_long(obj3
));
5451 if (SWIG_arg_fail(4)) SWIG_fail
;
5455 arg5
= (long)(SWIG_As_long(obj4
));
5456 if (SWIG_arg_fail(5)) SWIG_fail
;
5461 arg6
= (long)(SWIG_As_long(obj5
));
5462 if (SWIG_arg_fail(6)) SWIG_fail
;
5466 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5467 if (SWIG_arg_fail(7)) SWIG_fail
;
5472 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5476 if (!wxPyCheckForApp()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_From_long((long)(result
));
5516 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5525 if (!wxPyCheckForApp()) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (bool)wxColourDisplay();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5541 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5550 if (!wxPyCheckForApp()) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (int)wxDisplayDepth();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_From_int((int)(result
));
5566 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (int)wxGetDisplayDepth();
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_From_int((int)(result
));
5591 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 int *arg1
= (int *) 0 ;
5594 int *arg2
= (int *) 0 ;
5603 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5604 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5607 if (!wxPyCheckForApp()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 wxDisplaySize(arg1
,arg2
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5616 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5617 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5618 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5625 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5634 if (!wxPyCheckForApp()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= wxGetDisplaySize();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5643 resultptr
= new wxSize((wxSize
&)(result
));
5644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5652 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 int *arg1
= (int *) 0 ;
5655 int *arg2
= (int *) 0 ;
5664 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5665 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5668 if (!wxPyCheckForApp()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 wxDisplaySizeMM(arg1
,arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5677 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5678 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5679 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5686 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= wxGetDisplaySizeMM();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5704 resultptr
= new wxSize((wxSize
&)(result
));
5705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5713 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 int *arg1
= (int *) 0 ;
5716 int *arg2
= (int *) 0 ;
5717 int *arg3
= (int *) 0 ;
5718 int *arg4
= (int *) 0 ;
5731 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5732 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5733 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5734 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5737 if (!wxPyCheckForApp()) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5746 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5747 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5748 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5749 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5750 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5751 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5752 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5759 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5768 if (!wxPyCheckForApp()) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= wxGetClientDisplayRect();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5777 resultptr
= new wxRect((wxRect
&)(result
));
5778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5786 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxCursor
*arg1
= 0 ;
5789 PyObject
* obj0
= 0 ;
5791 (char *) "cursor", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail
;
5799 SWIG_null_ref("wxCursor");
5801 if (SWIG_arg_fail(1)) SWIG_fail
;
5804 if (!wxPyCheckForApp()) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "cursor", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5829 if (SWIG_arg_fail(1)) SWIG_fail
;
5832 if (!wxPyCheckForApp()) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 wxBeginBusyCursor(arg1
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 Py_INCREF(Py_None
); resultobj
= Py_None
;
5846 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5855 if (!wxPyCheckForApp()) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (wxWindow
*)wxGetActiveWindow();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= wxPyMake_wxObject(result
, 0);
5871 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5876 PyObject
* obj0
= 0 ;
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5884 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5887 if (!wxPyCheckForApp()) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= wxPyMake_wxObject(result
, 0);
5903 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5908 PyObject
* obj0
= 0 ;
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5916 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= wxPyMake_wxObject(result
, 0);
5935 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxWindow
*arg1
= (wxWindow
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "win", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail
;
5948 if (!wxPyCheckForApp()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= wxPyMake_wxObject(result
, 0);
5964 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "key", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5975 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5976 if (SWIG_arg_fail(1)) SWIG_fail
;
5979 if (!wxPyCheckForApp()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5995 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6003 if (!wxPyCheckForApp()) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 wxWakeUpMainThread();
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 Py_INCREF(Py_None
); resultobj
= Py_None
;
6017 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6025 if (!wxPyCheckForApp()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 Py_INCREF(Py_None
); resultobj
= Py_None
;
6039 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6047 if (!wxPyCheckForApp()) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxMutexGuiLocker
*result
;
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6070 if (!wxPyCheckForApp()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6084 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6094 if (SWIG_arg_fail(1)) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 Py_INCREF(Py_None
); resultobj
= Py_None
;
6109 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6112 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6114 return Py_BuildValue((char *)"");
6116 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (bool)wxThread_IsMain();
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6140 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxString
*arg1
= 0 ;
6144 bool temp1
= false ;
6145 PyObject
* obj0
= 0 ;
6147 (char *) "tip", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6152 arg1
= wxString_in_helper(obj0
);
6153 if (arg1
== NULL
) SWIG_fail
;
6157 if (!wxPyCheckForApp()) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= wxPyMake_wxObject(result
, 1);
6181 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6184 wxString
*arg2
= 0 ;
6185 bool temp2
= false ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6189 (char *) "self",(char *) "tip", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6194 if (SWIG_arg_fail(1)) SWIG_fail
;
6196 arg2
= wxString_in_helper(obj1
);
6197 if (arg2
== NULL
) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 (arg1
)->SetTip((wxString
const &)*arg2
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 Py_INCREF(Py_None
); resultobj
= Py_None
;
6222 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6233 if (SWIG_arg_fail(1)) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (arg1
)->GetTip();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6254 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6260 (char *) "self", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (wxWindow
*)(arg1
)->GetWindow();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= wxPyMake_wxObject(result
, 0);
6282 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "flag", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6292 arg1
= (bool)(SWIG_As_bool(obj0
));
6293 if (SWIG_arg_fail(1)) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 wxToolTip::Enable(arg1
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "milliseconds", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6319 arg1
= (long)(SWIG_As_long(obj0
));
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 wxToolTip::SetDelay(arg1
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6336 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6339 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6341 return Py_BuildValue((char *)"");
6343 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxWindow
*arg1
= (wxWindow
*) 0 ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6352 (char *) "window",(char *) "size", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail
;
6360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6363 if (!wxPyCheckForApp()) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6377 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxCaret
*arg1
= (wxCaret
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 wxCaret_Destroy(arg1
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxCaret
*arg1
= (wxCaret
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "self", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6413 if (SWIG_arg_fail(1)) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (bool)(arg1
)->IsOk();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6430 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxCaret
*arg1
= (wxCaret
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "self", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6441 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)(arg1
)->IsVisible();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6458 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxCaret
*arg1
= (wxCaret
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 result
= (arg1
)->GetPosition();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6478 wxPoint
* resultptr
;
6479 resultptr
= new wxPoint((wxPoint
&)(result
));
6480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6488 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxCaret
*arg1
= (wxCaret
*) 0 ;
6491 int *arg2
= (int *) 0 ;
6492 int *arg3
= (int *) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6503 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 (arg1
)->GetPosition(arg2
,arg3
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6516 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6517 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6518 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6525 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxCaret
*arg1
= (wxCaret
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6536 if (SWIG_arg_fail(1)) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (arg1
)->GetSize();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6546 resultptr
= new wxSize((wxSize
&)(result
));
6547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6555 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxCaret
*arg1
= (wxCaret
*) 0 ;
6558 int *arg2
= (int *) 0 ;
6559 int *arg3
= (int *) 0 ;
6564 PyObject
* obj0
= 0 ;
6566 (char *) "self", NULL
6569 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6570 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6573 if (SWIG_arg_fail(1)) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 (arg1
)->GetSize(arg2
,arg3
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 Py_INCREF(Py_None
); resultobj
= Py_None
;
6582 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6583 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6584 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6585 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6592 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxCaret
*arg1
= (wxCaret
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxWindow
*)(arg1
)->GetWindow();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= wxPyMake_wxObject(result
, 0);
6620 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxCaret
*arg1
= (wxCaret
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6627 PyObject
* obj2
= 0 ;
6629 (char *) "self",(char *) "x",(char *) "y", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6634 if (SWIG_arg_fail(1)) SWIG_fail
;
6636 arg2
= (int)(SWIG_As_int(obj1
));
6637 if (SWIG_arg_fail(2)) SWIG_fail
;
6640 arg3
= (int)(SWIG_As_int(obj2
));
6641 if (SWIG_arg_fail(3)) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 (arg1
)->Move(arg2
,arg3
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxCaret
*arg1
= (wxCaret
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6665 (char *) "self",(char *) "pt", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6670 if (SWIG_arg_fail(1)) SWIG_fail
;
6673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 (arg1
)->Move((wxPoint
const &)*arg2
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 Py_INCREF(Py_None
); resultobj
= Py_None
;
6689 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxCaret
*arg1
= (wxCaret
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6698 (char *) "self",(char *) "width",(char *) "height", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6705 arg2
= (int)(SWIG_As_int(obj1
));
6706 if (SWIG_arg_fail(2)) SWIG_fail
;
6709 arg3
= (int)(SWIG_As_int(obj2
));
6710 if (SWIG_arg_fail(3)) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 (arg1
)->SetSize(arg2
,arg3
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 Py_INCREF(Py_None
); resultobj
= Py_None
;
6726 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxCaret
*arg1
= (wxCaret
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6734 (char *) "self",(char *) "size", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(1)) SWIG_fail
;
6742 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 (arg1
)->SetSize((wxSize
const &)*arg2
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 Py_INCREF(Py_None
); resultobj
= Py_None
;
6758 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxCaret
*arg1
= (wxCaret
*) 0 ;
6761 int arg2
= (int) true ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6765 (char *) "self",(char *) "show", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6770 if (SWIG_arg_fail(1)) SWIG_fail
;
6773 arg2
= (int)(SWIG_As_int(obj1
));
6774 if (SWIG_arg_fail(2)) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 Py_INCREF(Py_None
); resultobj
= Py_None
;
6791 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxCaret
*arg1
= (wxCaret
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6796 (char *) "self", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6801 if (SWIG_arg_fail(1)) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 Py_INCREF(Py_None
); resultobj
= Py_None
;
6816 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (int)wxCaret::GetBlinkTime();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_From_int((int)(result
));
6840 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6843 PyObject
* obj0
= 0 ;
6845 (char *) "milliseconds", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6850 arg1
= (int)(SWIG_As_int(obj0
));
6851 if (SWIG_arg_fail(1)) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 wxCaret::SetBlinkTime(arg1
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6867 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6870 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6872 return Py_BuildValue((char *)"");
6874 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6877 wxBusyCursor
*result
;
6878 PyObject
* obj0
= 0 ;
6880 (char *) "cursor", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6886 if (SWIG_arg_fail(1)) SWIG_fail
;
6889 if (!wxPyCheckForApp()) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6903 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 Py_INCREF(Py_None
); resultobj
= Py_None
;
6928 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6931 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6933 return Py_BuildValue((char *)"");
6935 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxWindow
*arg1
= (wxWindow
*) NULL
;
6938 wxWindowDisabler
*result
;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "winToSkip", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6947 if (SWIG_arg_fail(1)) SWIG_fail
;
6950 if (!wxPyCheckForApp()) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6964 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6974 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6989 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6992 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6994 return Py_BuildValue((char *)"");
6996 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxString
*arg1
= 0 ;
7000 bool temp1
= false ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "message", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7008 arg1
= wxString_in_helper(obj0
);
7009 if (arg1
== NULL
) SWIG_fail
;
7013 if (!wxPyCheckForApp()) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7035 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7038 PyObject
* obj0
= 0 ;
7040 (char *) "self", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7045 if (SWIG_arg_fail(1)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7063 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7065 return Py_BuildValue((char *)"");
7067 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxStopWatch
*result
;
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (wxStopWatch
*)new wxStopWatch();
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7089 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7092 long arg2
= (long) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "t0", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7104 arg2
= (long)(SWIG_As_long(obj1
));
7105 if (SWIG_arg_fail(2)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->Start(arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7152 (char *) "self", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7157 if (SWIG_arg_fail(1)) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_From_long((long)(result
));
7200 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7203 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7205 return Py_BuildValue((char *)"");
7207 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 int arg1
= (int) 9 ;
7210 int arg2
= (int) wxID_FILE1
;
7211 wxFileHistory
*result
;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7215 (char *) "maxFiles",(char *) "idBase", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7221 arg1
= (int)(SWIG_As_int(obj0
));
7222 if (SWIG_arg_fail(1)) SWIG_fail
;
7227 arg2
= (int)(SWIG_As_int(obj1
));
7228 if (SWIG_arg_fail(2)) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7245 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(1)) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7273 wxString
*arg2
= 0 ;
7274 bool temp2
= false ;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7278 (char *) "self",(char *) "file", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",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
;
7285 arg2
= wxString_in_helper(obj1
);
7286 if (arg2
== NULL
) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7311 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7318 (char *) "self",(char *) "i", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7323 if (SWIG_arg_fail(1)) SWIG_fail
;
7325 arg2
= (int)(SWIG_As_int(obj1
));
7326 if (SWIG_arg_fail(2)) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 (arg1
)->RemoveFileFromHistory(arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 Py_INCREF(Py_None
); resultobj
= Py_None
;
7342 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "self", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7353 if (SWIG_arg_fail(1)) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_From_int((int)(result
));
7370 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7373 wxMenu
*arg2
= (wxMenu
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7377 (char *) "self",(char *) "menu", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail
;
7383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 (arg1
)->UseMenu(arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7402 wxMenu
*arg2
= (wxMenu
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7406 (char *) "self",(char *) "menu", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7411 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7413 if (SWIG_arg_fail(2)) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 (arg1
)->RemoveMenu(arg2
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7431 wxConfigBase
*arg2
= 0 ;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7435 (char *) "self",(char *) "config", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7440 if (SWIG_arg_fail(1)) SWIG_fail
;
7442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7443 if (SWIG_arg_fail(2)) SWIG_fail
;
7445 SWIG_null_ref("wxConfigBase");
7447 if (SWIG_arg_fail(2)) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 (arg1
)->Load(*arg2
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7466 wxConfigBase
*arg2
= 0 ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "config", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7478 if (SWIG_arg_fail(2)) SWIG_fail
;
7480 SWIG_null_ref("wxConfigBase");
7482 if (SWIG_arg_fail(2)) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 (arg1
)->Save(*arg2
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 Py_INCREF(Py_None
); resultobj
= Py_None
;
7498 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "self", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7508 if (SWIG_arg_fail(1)) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 (arg1
)->AddFilesToMenu();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7526 wxMenu
*arg2
= (wxMenu
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7530 (char *) "self",(char *) "menu", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7535 if (SWIG_arg_fail(1)) SWIG_fail
;
7536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7537 if (SWIG_arg_fail(2)) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 (arg1
)->AddFilesToMenu(arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 Py_INCREF(Py_None
); resultobj
= Py_None
;
7552 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "i", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail
;
7567 arg2
= (int)(SWIG_As_int(obj1
));
7568 if (SWIG_arg_fail(2)) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7590 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7596 (char *) "self", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_From_int((int)(result
));
7618 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7621 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7623 return Py_BuildValue((char *)"");
7625 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxString
*arg1
= 0 ;
7628 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7629 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7630 wxSingleInstanceChecker
*result
;
7631 bool temp1
= false ;
7632 bool temp2
= false ;
7633 PyObject
* obj0
= 0 ;
7634 PyObject
* obj1
= 0 ;
7636 (char *) "name",(char *) "path", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7641 arg1
= wxString_in_helper(obj0
);
7642 if (arg1
== NULL
) SWIG_fail
;
7647 arg2
= wxString_in_helper(obj1
);
7648 if (arg2
== NULL
) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7682 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxSingleInstanceChecker
*result
;
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7704 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7707 PyObject
* obj0
= 0 ;
7709 (char *) "self", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7714 if (SWIG_arg_fail(1)) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 Py_INCREF(Py_None
); resultobj
= Py_None
;
7729 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7732 wxString
*arg2
= 0 ;
7733 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7734 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7736 bool temp2
= false ;
7737 bool temp3
= false ;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7740 PyObject
* obj2
= 0 ;
7742 (char *) "self",(char *) "name",(char *) "path", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7747 if (SWIG_arg_fail(1)) SWIG_fail
;
7749 arg2
= wxString_in_helper(obj1
);
7750 if (arg2
== NULL
) SWIG_fail
;
7755 arg3
= wxString_in_helper(obj2
);
7756 if (arg3
== NULL
) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7792 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7798 (char *) "self", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(1)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7820 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7823 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7825 return Py_BuildValue((char *)"");
7827 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxWindow
*arg1
= (wxWindow
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7835 (char *) "window",(char *) "dc", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7840 if (SWIG_arg_fail(1)) SWIG_fail
;
7842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7843 if (SWIG_arg_fail(2)) SWIG_fail
;
7845 SWIG_null_ref("wxDC");
7847 if (SWIG_arg_fail(2)) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7865 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7894 PyObject
* obj0
= 0 ;
7896 (char *) "self", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7901 if (SWIG_arg_fail(1)) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (arg1
)->GetTip();
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7922 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7928 (char *) "self", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (size_t)(arg1
)->GetCurrentTip();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7950 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7953 wxString
*arg2
= 0 ;
7955 bool temp2
= false ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7959 (char *) "self",(char *) "tip", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7964 if (SWIG_arg_fail(1)) SWIG_fail
;
7966 arg2
= wxString_in_helper(obj1
);
7967 if (arg2
== NULL
) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7998 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8001 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8003 return Py_BuildValue((char *)"");
8005 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8008 wxPyTipProvider
*result
;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "currentTip", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8016 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8017 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8033 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8036 PyObject
*arg2
= (PyObject
*) 0 ;
8037 PyObject
*arg3
= (PyObject
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8040 PyObject
* obj2
= 0 ;
8042 (char *) "self",(char *) "self",(char *) "_class", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8047 if (SWIG_arg_fail(1)) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 Py_INCREF(Py_None
); resultobj
= Py_None
;
8064 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8067 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8069 return Py_BuildValue((char *)"");
8071 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxWindow
*arg1
= (wxWindow
*) 0 ;
8074 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8075 bool arg3
= (bool) true ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8081 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8088 if (SWIG_arg_fail(2)) SWIG_fail
;
8091 arg3
= (bool)(SWIG_As_bool(obj2
));
8092 if (SWIG_arg_fail(3)) SWIG_fail
;
8096 if (!wxPyCheckForApp()) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8112 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxString
*arg1
= 0 ;
8116 wxTipProvider
*result
;
8117 bool temp1
= false ;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8121 (char *) "filename",(char *) "currentTip", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8126 arg1
= wxString_in_helper(obj0
);
8127 if (arg1
== NULL
) SWIG_fail
;
8131 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8132 if (SWIG_arg_fail(2)) SWIG_fail
;
8135 if (!wxPyCheckForApp()) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8157 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8160 int arg2
= (int) -1 ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "owner",(char *) "id", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8171 if (SWIG_arg_fail(1)) SWIG_fail
;
8175 arg2
= (int)(SWIG_As_int(obj1
));
8176 if (SWIG_arg_fail(2)) SWIG_fail
;
8180 if (!wxPyCheckForApp()) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8194 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8199 (char *) "self", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8222 PyObject
*arg2
= (PyObject
*) 0 ;
8223 PyObject
*arg3
= (PyObject
*) 0 ;
8224 int arg4
= (int) 1 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8228 PyObject
* obj3
= 0 ;
8230 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8240 arg4
= (int)(SWIG_As_int(obj3
));
8241 if (SWIG_arg_fail(4)) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8261 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8262 int arg3
= (int) -1 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8265 PyObject
* obj2
= 0 ;
8267 (char *) "self",(char *) "owner",(char *) "id", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail
;
8273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8274 if (SWIG_arg_fail(2)) SWIG_fail
;
8277 arg3
= (int)(SWIG_As_int(obj2
));
8278 if (SWIG_arg_fail(3)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 (arg1
)->SetOwner(arg2
,arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8295 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8298 wxEvtHandler
*result
;
8299 PyObject
* obj0
= 0 ;
8301 (char *) "self", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8306 if (SWIG_arg_fail(1)) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= wxPyMake_wxObject(result
, 0);
8323 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8326 int arg2
= (int) -1 ;
8327 bool arg3
= (bool) false ;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8331 PyObject
* obj2
= 0 ;
8333 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail
;
8341 arg2
= (int)(SWIG_As_int(obj1
));
8342 if (SWIG_arg_fail(2)) SWIG_fail
;
8347 arg3
= (bool)(SWIG_As_bool(obj2
));
8348 if (SWIG_arg_fail(3)) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8367 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8370 PyObject
* obj0
= 0 ;
8372 (char *) "self", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8377 if (SWIG_arg_fail(1)) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "self", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8420 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8424 PyObject
* obj0
= 0 ;
8426 (char *) "self", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_From_int((int)(result
));
8448 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8452 PyObject
* obj0
= 0 ;
8454 (char *) "self", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8476 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8480 PyObject
* obj0
= 0 ;
8482 (char *) "self", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_From_int((int)(result
));
8504 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8507 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8509 return Py_BuildValue((char *)"");
8511 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 int arg1
= (int) 0 ;
8514 int arg2
= (int) 0 ;
8515 wxTimerEvent
*result
;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 (char *) "timerid",(char *) "interval", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8525 arg1
= (int)(SWIG_As_int(obj0
));
8526 if (SWIG_arg_fail(1)) SWIG_fail
;
8531 arg2
= (int)(SWIG_As_int(obj1
));
8532 if (SWIG_arg_fail(2)) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8549 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "self", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8560 if (SWIG_arg_fail(1)) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= SWIG_From_int((int)(result
));
8577 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8580 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8582 return Py_BuildValue((char *)"");
8584 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8585 PyObject
*resultobj
;
8587 wxTimerRunner
*result
;
8588 PyObject
* obj0
= 0 ;
8590 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8595 SWIG_null_ref("wxTimer");
8597 if (SWIG_arg_fail(1)) SWIG_fail
;
8600 if (!wxPyCheckForApp()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8614 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8615 PyObject
*resultobj
;
8618 bool arg3
= (bool) false ;
8619 wxTimerRunner
*result
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8624 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8627 if (SWIG_arg_fail(1)) SWIG_fail
;
8629 SWIG_null_ref("wxTimer");
8631 if (SWIG_arg_fail(1)) SWIG_fail
;
8634 arg2
= (int)(SWIG_As_int(obj1
));
8635 if (SWIG_arg_fail(2)) SWIG_fail
;
8639 arg3
= (bool)(SWIG_As_bool(obj2
));
8640 if (SWIG_arg_fail(3)) SWIG_fail
;
8644 if (!wxPyCheckForApp()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8658 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8663 argc
= PyObject_Length(args
);
8664 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8665 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8671 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8679 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8682 if ((argc
>= 2) && (argc
<= 3)) {
8686 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8694 _v
= SWIG_Check_int(argv
[1]);
8697 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8699 _v
= SWIG_Check_bool(argv
[2]);
8701 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8707 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8712 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8714 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8717 (char *) "self", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8722 if (SWIG_arg_fail(1)) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8737 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8741 bool arg3
= (bool) false ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8746 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8751 if (SWIG_arg_fail(1)) SWIG_fail
;
8753 arg2
= (int)(SWIG_As_int(obj1
));
8754 if (SWIG_arg_fail(2)) SWIG_fail
;
8758 arg3
= (bool)(SWIG_As_bool(obj2
));
8759 if (SWIG_arg_fail(3)) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->Start(arg2
,arg3
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8779 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8781 return Py_BuildValue((char *)"");
8783 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (wxLog
*)new wxLog();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8805 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (bool)wxLog::IsEnabled();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8829 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 bool arg1
= (bool) true ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "doIt", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8841 arg1
= (bool)(SWIG_As_bool(obj0
));
8842 if (SWIG_arg_fail(1)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (bool)wxLog::EnableLogging(arg1
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8861 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8864 wxChar
*arg2
= (wxChar
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8870 (char *) "level",(char *) "szString",(char *) "t", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8875 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8876 if (SWIG_arg_fail(1)) SWIG_fail
;
8878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8879 if (SWIG_arg_fail(2)) SWIG_fail
;
8881 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8882 if (SWIG_arg_fail(3)) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxLog
*arg1
= (wxLog
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8908 if (SWIG_arg_fail(1)) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxLog::FlushActive();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (wxLog
*)wxLog::GetActiveTarget();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8966 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxLog
*arg1
= (wxLog
*) 0 ;
8970 PyObject
* obj0
= 0 ;
8972 (char *) "pLogger", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8992 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 bool arg1
= (bool) true ;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "bVerbose", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9045 arg1
= (bool)(SWIG_As_bool(obj0
));
9046 if (SWIG_arg_fail(1)) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxLog::SetVerbose(arg1
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 Py_INCREF(Py_None
); resultobj
= Py_None
;
9063 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9066 PyObject
* obj0
= 0 ;
9068 (char *) "logLevel", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9073 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9074 if (SWIG_arg_fail(1)) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 wxLog::SetLogLevel(arg1
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 wxLog::DontCreateOnDemand();
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9111 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9114 PyObject
* obj0
= 0 ;
9116 (char *) "ulMask", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9121 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9122 if (SWIG_arg_fail(1)) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 wxLog::SetTraceMask(arg1
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxString
*arg1
= 0 ;
9141 bool temp1
= false ;
9142 PyObject
* obj0
= 0 ;
9144 (char *) "str", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9149 arg1
= wxString_in_helper(obj0
);
9150 if (arg1
== NULL
) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxLog::AddTraceMask((wxString
const &)*arg1
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 Py_INCREF(Py_None
); resultobj
= Py_None
;
9175 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxString
*arg1
= 0 ;
9178 bool temp1
= false ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "str", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9186 arg1
= wxString_in_helper(obj0
);
9187 if (arg1
== NULL
) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 Py_INCREF(Py_None
); resultobj
= Py_None
;
9212 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxLog::ClearTraceMasks();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxArrayString
*result
;
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9245 result
= (wxArrayString
*) &_result_ref
;
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= wxArrayString2PyList_helper(*result
);
9260 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxChar
*arg1
= (wxChar
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 wxLog::SetTimestamp((wxChar
const *)arg1
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 Py_INCREF(Py_None
); resultobj
= Py_None
;
9285 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)wxLog::GetVerbose();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (wxTraceMask
)wxLog::GetTraceMask();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9333 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxChar
*arg1
= (wxChar
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9339 (char *) "mask", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9344 if (SWIG_arg_fail(1)) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9361 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (wxLogLevel
)wxLog::GetLogLevel();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9385 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (wxChar
*)wxLog::GetTimestamp();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9407 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= Log_TimeStamp();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9435 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxLog
*arg1
= (wxLog
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 wxLog_Destroy(arg1
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 Py_INCREF(Py_None
); resultobj
= Py_None
;
9460 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9463 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9465 return Py_BuildValue((char *)"");
9467 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxLogStderr
*result
;
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (wxLogStderr
*)new wxLogStderr();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9489 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9492 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9494 return Py_BuildValue((char *)"");
9496 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9499 wxLogTextCtrl
*result
;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "pTextCtrl", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9522 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9525 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9527 return Py_BuildValue((char *)"");
9529 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (wxLogGui
*)new wxLogGui();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9551 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9554 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9556 return Py_BuildValue((char *)"");
9558 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxFrame
*arg1
= (wxFrame
*) 0 ;
9561 wxString
*arg2
= 0 ;
9562 bool arg3
= (bool) true ;
9563 bool arg4
= (bool) true ;
9564 wxLogWindow
*result
;
9565 bool temp2
= false ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 PyObject
* obj2
= 0 ;
9569 PyObject
* obj3
= 0 ;
9571 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9576 if (SWIG_arg_fail(1)) SWIG_fail
;
9578 arg2
= wxString_in_helper(obj1
);
9579 if (arg2
== NULL
) SWIG_fail
;
9584 arg3
= (bool)(SWIG_As_bool(obj2
));
9585 if (SWIG_arg_fail(3)) SWIG_fail
;
9590 arg4
= (bool)(SWIG_As_bool(obj3
));
9591 if (SWIG_arg_fail(4)) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9616 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9619 bool arg2
= (bool) true ;
9620 PyObject
* obj0
= 0 ;
9621 PyObject
* obj1
= 0 ;
9623 (char *) "self",(char *) "bShow", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 arg2
= (bool)(SWIG_As_bool(obj1
));
9632 if (SWIG_arg_fail(2)) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 Py_INCREF(Py_None
); resultobj
= Py_None
;
9649 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "self", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= wxPyMake_wxObject(result
, 0);
9677 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9703 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9709 (char *) "self", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9731 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9738 (char *) "self",(char *) "bDoPass", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail
;
9745 arg2
= (bool)(SWIG_As_bool(obj1
));
9746 if (SWIG_arg_fail(2)) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->PassMessages(arg2
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9765 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9767 return Py_BuildValue((char *)"");
9769 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxLog
*arg1
= (wxLog
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9775 (char *) "logger", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9780 if (SWIG_arg_fail(1)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (wxLogChain
*)new wxLogChain(arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9795 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9798 wxLog
*arg2
= (wxLog
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9802 (char *) "self",(char *) "logger", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9809 if (SWIG_arg_fail(2)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 (arg1
)->SetLog(arg2
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 Py_INCREF(Py_None
); resultobj
= Py_None
;
9824 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9831 (char *) "self",(char *) "bDoPass", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 arg2
= (bool)(SWIG_As_bool(obj1
));
9839 if (SWIG_arg_fail(2)) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 (arg1
)->PassMessages(arg2
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 Py_INCREF(Py_None
); resultobj
= Py_None
;
9855 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9866 if (SWIG_arg_fail(1)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (bool)(arg1
)->IsPassingMessages();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9883 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9889 (char *) "self", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9894 if (SWIG_arg_fail(1)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (wxLog
*)(arg1
)->GetOldLog();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9909 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9912 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9914 return Py_BuildValue((char *)"");
9916 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 unsigned long result
;
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (unsigned long)wxSysErrorCode();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9940 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 unsigned long arg1
= (unsigned long) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "nErrCode", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9952 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9953 if (SWIG_arg_fail(1)) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= wxSysErrorMsg(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9976 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxString
*arg1
= 0 ;
9979 bool temp1
= false ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "msg", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9987 arg1
= wxString_in_helper(obj0
);
9988 if (arg1
== NULL
) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 wxPyLogFatalError((wxString
const &)*arg1
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 Py_INCREF(Py_None
); resultobj
= Py_None
;
10013 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxString
*arg1
= 0 ;
10016 bool temp1
= false ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "msg", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10024 arg1
= wxString_in_helper(obj0
);
10025 if (arg1
== NULL
) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxPyLogError((wxString
const &)*arg1
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 Py_INCREF(Py_None
); resultobj
= Py_None
;
10050 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxString
*arg1
= 0 ;
10053 bool temp1
= false ;
10054 PyObject
* obj0
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "msg", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10061 arg1
= wxString_in_helper(obj0
);
10062 if (arg1
== NULL
) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 wxPyLogWarning((wxString
const &)*arg1
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10087 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxString
*arg1
= 0 ;
10090 bool temp1
= false ;
10091 PyObject
* obj0
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "msg", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10098 arg1
= wxString_in_helper(obj0
);
10099 if (arg1
== NULL
) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxPyLogMessage((wxString
const &)*arg1
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 Py_INCREF(Py_None
); resultobj
= Py_None
;
10124 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxString
*arg1
= 0 ;
10127 bool temp1
= false ;
10128 PyObject
* obj0
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "msg", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10135 arg1
= wxString_in_helper(obj0
);
10136 if (arg1
== NULL
) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 wxPyLogInfo((wxString
const &)*arg1
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 Py_INCREF(Py_None
); resultobj
= Py_None
;
10161 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxString
*arg1
= 0 ;
10164 bool temp1
= false ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "msg", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10172 arg1
= wxString_in_helper(obj0
);
10173 if (arg1
== NULL
) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 wxPyLogDebug((wxString
const &)*arg1
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 Py_INCREF(Py_None
); resultobj
= Py_None
;
10198 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxString
*arg1
= 0 ;
10201 bool temp1
= false ;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "msg", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10209 arg1
= wxString_in_helper(obj0
);
10210 if (arg1
== NULL
) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxPyLogVerbose((wxString
const &)*arg1
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 Py_INCREF(Py_None
); resultobj
= Py_None
;
10235 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxString
*arg1
= 0 ;
10238 bool temp1
= false ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "msg", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10246 arg1
= wxString_in_helper(obj0
);
10247 if (arg1
== NULL
) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 wxPyLogStatus((wxString
const &)*arg1
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 Py_INCREF(Py_None
); resultobj
= Py_None
;
10272 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxFrame
*arg1
= (wxFrame
*) 0 ;
10275 wxString
*arg2
= 0 ;
10276 bool temp2
= false ;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "pFrame",(char *) "msg", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10285 if (SWIG_arg_fail(1)) SWIG_fail
;
10287 arg2
= wxString_in_helper(obj1
);
10288 if (arg2
== NULL
) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 Py_INCREF(Py_None
); resultobj
= Py_None
;
10313 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxString
*arg1
= 0 ;
10316 bool temp1
= false ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "msg", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10324 arg1
= wxString_in_helper(obj0
);
10325 if (arg1
== NULL
) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 wxPyLogSysError((wxString
const &)*arg1
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 unsigned long arg1
;
10353 wxString
*arg2
= 0 ;
10354 bool temp2
= false ;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "level",(char *) "msg", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10363 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10364 if (SWIG_arg_fail(1)) SWIG_fail
;
10367 arg2
= wxString_in_helper(obj1
);
10368 if (arg2
== NULL
) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10394 PyObject
*resultobj
;
10395 unsigned long arg1
;
10396 wxString
*arg2
= 0 ;
10397 bool temp2
= false ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10401 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10403 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10404 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 arg2
= wxString_in_helper(obj1
);
10408 if (arg2
== NULL
) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10434 PyObject
*resultobj
;
10435 wxString
*arg1
= 0 ;
10436 wxString
*arg2
= 0 ;
10437 bool temp1
= false ;
10438 bool temp2
= false ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10442 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10444 arg1
= wxString_in_helper(obj0
);
10445 if (arg1
== NULL
) SWIG_fail
;
10449 arg2
= wxString_in_helper(obj1
);
10450 if (arg2
== NULL
) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10488 argc
= PyObject_Length(args
);
10489 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10495 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10499 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10502 return _wrap_LogTrace__SWIG_1(self
,args
);
10508 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10511 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10514 return _wrap_LogTrace__SWIG_0(self
,args
);
10519 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10524 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxString
*arg1
= 0 ;
10527 wxString
*arg2
= 0 ;
10528 bool temp1
= false ;
10529 bool temp2
= false ;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "title",(char *) "text", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10538 arg1
= wxString_in_helper(obj0
);
10539 if (arg1
== NULL
) SWIG_fail
;
10543 arg2
= wxString_in_helper(obj1
);
10544 if (arg2
== NULL
) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10580 char *kwnames
[] = {
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (wxLogNull
*)new wxLogNull();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10599 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10609 if (SWIG_arg_fail(1)) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10627 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10629 return Py_BuildValue((char *)"");
10631 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10634 char *kwnames
[] = {
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (wxPyLog
*)new wxPyLog();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10653 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10656 PyObject
*arg2
= (PyObject
*) 0 ;
10657 PyObject
*arg3
= (PyObject
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 PyObject
* obj2
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "self",(char *) "self",(char *) "_class", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10667 if (SWIG_arg_fail(1)) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10687 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10689 return Py_BuildValue((char *)"");
10691 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10694 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10695 int arg3
= (int) wxKILL_NOCHILDREN
;
10696 wxKillError result
;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10706 arg1
= (int)(SWIG_As_int(obj0
));
10707 if (SWIG_arg_fail(1)) SWIG_fail
;
10711 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10712 if (SWIG_arg_fail(2)) SWIG_fail
;
10717 arg3
= (int)(SWIG_As_int(obj2
));
10718 if (SWIG_arg_fail(3)) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_From_int((result
));
10735 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "pid", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10746 arg1
= (int)(SWIG_As_int(obj0
));
10747 if (SWIG_arg_fail(1)) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (bool)wxPyProcess::Exists(arg1
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10765 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxString
*arg1
= 0 ;
10768 int arg2
= (int) wxEXEC_ASYNC
;
10769 wxPyProcess
*result
;
10770 bool temp1
= false ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "cmd",(char *) "flags", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10779 arg1
= wxString_in_helper(obj0
);
10780 if (arg1
== NULL
) SWIG_fail
;
10785 arg2
= (int)(SWIG_As_int(obj1
));
10786 if (SWIG_arg_fail(2)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10811 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10814 int arg2
= (int) -1 ;
10815 wxPyProcess
*result
;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "parent",(char *) "id", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10825 if (SWIG_arg_fail(1)) SWIG_fail
;
10829 arg2
= (int)(SWIG_As_int(obj1
));
10830 if (SWIG_arg_fail(2)) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10847 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10850 PyObject
*arg2
= (PyObject
*) 0 ;
10851 PyObject
*arg3
= (PyObject
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "self",(char *) "_class", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10861 if (SWIG_arg_fail(1)) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "pid",(char *) "status", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10892 if (SWIG_arg_fail(1)) SWIG_fail
;
10894 arg2
= (int)(SWIG_As_int(obj1
));
10895 if (SWIG_arg_fail(2)) SWIG_fail
;
10898 arg3
= (int)(SWIG_As_int(obj2
));
10899 if (SWIG_arg_fail(3)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->base_OnTerminate(arg2
,arg3
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10925 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->Redirect();
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 Py_INCREF(Py_None
); resultobj
= Py_None
;
10940 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10951 if (SWIG_arg_fail(1)) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)(arg1
)->IsRedirected();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10968 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10993 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10996 wxInputStream
*result
;
10997 PyObject
* obj0
= 0 ;
10998 char *kwnames
[] = {
10999 (char *) "self", NULL
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11004 if (SWIG_arg_fail(1)) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11013 wxPyInputStream
* _ptr
= NULL
;
11016 _ptr
= new wxPyInputStream(result
);
11018 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11026 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11029 wxInputStream
*result
;
11030 PyObject
* obj0
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11037 if (SWIG_arg_fail(1)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 wxPyInputStream
* _ptr
= NULL
;
11049 _ptr
= new wxPyInputStream(result
);
11051 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11059 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11062 wxOutputStream
*result
;
11063 PyObject
* obj0
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11070 if (SWIG_arg_fail(1)) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11085 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 (arg1
)->CloseOutput();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11138 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11177 if (SWIG_arg_fail(1)) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11197 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11199 return Py_BuildValue((char *)"");
11201 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 int arg1
= (int) 0 ;
11204 int arg2
= (int) 0 ;
11205 int arg3
= (int) 0 ;
11206 wxProcessEvent
*result
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11217 arg1
= (int)(SWIG_As_int(obj0
));
11218 if (SWIG_arg_fail(1)) SWIG_fail
;
11223 arg2
= (int)(SWIG_As_int(obj1
));
11224 if (SWIG_arg_fail(2)) SWIG_fail
;
11229 arg3
= (int)(SWIG_As_int(obj2
));
11230 if (SWIG_arg_fail(3)) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11247 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (int)(arg1
)->GetPid();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_From_int((int)(result
));
11275 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11286 if (SWIG_arg_fail(1)) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (int)(arg1
)->GetExitCode();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_From_int((int)(result
));
11303 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "m_pid", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail
;
11317 arg2
= (int)(SWIG_As_int(obj1
));
11318 if (SWIG_arg_fail(2)) SWIG_fail
;
11320 if (arg1
) (arg1
)->m_pid
= arg2
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 result
= (int) ((arg1
)->m_pid
);
11344 resultobj
= SWIG_From_int((int)(result
));
11352 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self",(char *) "m_exitcode", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11364 if (SWIG_arg_fail(1)) SWIG_fail
;
11366 arg2
= (int)(SWIG_As_int(obj1
));
11367 if (SWIG_arg_fail(2)) SWIG_fail
;
11369 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11371 Py_INCREF(Py_None
); resultobj
= Py_None
;
11378 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11389 if (SWIG_arg_fail(1)) SWIG_fail
;
11390 result
= (int) ((arg1
)->m_exitcode
);
11393 resultobj
= SWIG_From_int((int)(result
));
11401 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11404 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11406 return Py_BuildValue((char *)"");
11408 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxString
*arg1
= 0 ;
11411 int arg2
= (int) wxEXEC_ASYNC
;
11412 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11414 bool temp1
= false ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "command",(char *) "flags",(char *) "process", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11424 arg1
= wxString_in_helper(obj0
);
11425 if (arg1
== NULL
) SWIG_fail
;
11430 arg2
= (int)(SWIG_As_int(obj1
));
11431 if (SWIG_arg_fail(2)) SWIG_fail
;
11435 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11436 if (SWIG_arg_fail(3)) SWIG_fail
;
11439 if (!wxPyCheckForApp()) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_From_long((long)(result
));
11463 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11466 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11467 wxKillError
*arg3
= (wxKillError
*) 0 ;
11468 int arg4
= (int) wxKILL_NOCHILDREN
;
11470 wxKillError temp3
;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 PyObject
* obj2
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11483 arg1
= (long)(SWIG_As_long(obj0
));
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11489 if (SWIG_arg_fail(2)) SWIG_fail
;
11494 arg4
= (int)(SWIG_As_int(obj2
));
11495 if (SWIG_arg_fail(4)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_From_int((int)(result
));
11510 o
= PyInt_FromLong((long) (*arg3
));
11511 resultobj
= t_output_helper(resultobj
, o
);
11519 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 int arg1
= (int) wxJOYSTICK1
;
11522 wxJoystick
*result
;
11523 PyObject
* obj0
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "joystick", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11531 arg1
= (int)(SWIG_As_int(obj0
));
11532 if (SWIG_arg_fail(1)) SWIG_fail
;
11536 if (!wxPyCheckForApp()) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (wxJoystick
*)new wxJoystick(arg1
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11550 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 Py_INCREF(Py_None
); resultobj
= Py_None
;
11575 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (arg1
)->GetPosition();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 wxPoint
* resultptr
;
11596 resultptr
= new wxPoint((wxPoint
&)(result
));
11597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11605 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11616 if (SWIG_arg_fail(1)) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (int)(arg1
)->GetZPosition();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= SWIG_From_int((int)(result
));
11633 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "self", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11644 if (SWIG_arg_fail(1)) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (int)(arg1
)->GetButtonState();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_From_int((int)(result
));
11661 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11672 if (SWIG_arg_fail(1)) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (int)(arg1
)->GetPOVPosition();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_From_int((int)(result
));
11689 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (int)(arg1
)->GetPOVCTSPosition();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_From_int((int)(result
));
11717 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11728 if (SWIG_arg_fail(1)) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (int)(arg1
)->GetRudderPosition();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_From_int((int)(result
));
11745 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11756 if (SWIG_arg_fail(1)) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (int)(arg1
)->GetUPosition();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= SWIG_From_int((int)(result
));
11773 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11784 if (SWIG_arg_fail(1)) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (int)(arg1
)->GetVPosition();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_From_int((int)(result
));
11801 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11812 if (SWIG_arg_fail(1)) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)(arg1
)->GetMovementThreshold();
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_From_int((int)(result
));
11829 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "threshold", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11841 if (SWIG_arg_fail(1)) SWIG_fail
;
11843 arg2
= (int)(SWIG_As_int(obj1
));
11844 if (SWIG_arg_fail(2)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->SetMovementThreshold(arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 Py_INCREF(Py_None
); resultobj
= Py_None
;
11860 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 char *kwnames
[] = {
11866 (char *) "self", NULL
11869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11871 if (SWIG_arg_fail(1)) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)(arg1
)->IsOk();
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11888 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11892 PyObject
* obj0
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "self", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11899 if (SWIG_arg_fail(1)) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (int)(arg1
)->GetNumberJoysticks();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_From_int((int)(result
));
11916 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11927 if (SWIG_arg_fail(1)) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (int)(arg1
)->GetManufacturerId();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_From_int((int)(result
));
11944 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11955 if (SWIG_arg_fail(1)) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (int)(arg1
)->GetProductId();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_From_int((int)(result
));
11972 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (arg1
)->GetProductName();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12004 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12015 if (SWIG_arg_fail(1)) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (int)(arg1
)->GetXMin();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_From_int((int)(result
));
12032 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12043 if (SWIG_arg_fail(1)) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (int)(arg1
)->GetYMin();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_From_int((int)(result
));
12060 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12071 if (SWIG_arg_fail(1)) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (int)(arg1
)->GetZMin();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_From_int((int)(result
));
12088 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12099 if (SWIG_arg_fail(1)) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (int)(arg1
)->GetXMax();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_From_int((int)(result
));
12116 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12120 PyObject
* obj0
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "self", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12127 if (SWIG_arg_fail(1)) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (int)(arg1
)->GetYMax();
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_From_int((int)(result
));
12144 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12155 if (SWIG_arg_fail(1)) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 result
= (int)(arg1
)->GetZMax();
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_From_int((int)(result
));
12172 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12183 if (SWIG_arg_fail(1)) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (int)(arg1
)->GetNumberButtons();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_int((int)(result
));
12200 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12211 if (SWIG_arg_fail(1)) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (int)(arg1
)->GetNumberAxes();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_From_int((int)(result
));
12228 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12239 if (SWIG_arg_fail(1)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (int)(arg1
)->GetMaxButtons();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_From_int((int)(result
));
12256 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12267 if (SWIG_arg_fail(1)) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (int)(arg1
)->GetMaxAxes();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_From_int((int)(result
));
12284 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12295 if (SWIG_arg_fail(1)) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (int)(arg1
)->GetPollingMin();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_From_int((int)(result
));
12312 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12316 PyObject
* obj0
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (int)(arg1
)->GetPollingMax();
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= SWIG_From_int((int)(result
));
12340 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12351 if (SWIG_arg_fail(1)) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= (int)(arg1
)->GetRudderMin();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_From_int((int)(result
));
12368 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12379 if (SWIG_arg_fail(1)) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (int)(arg1
)->GetRudderMax();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_From_int((int)(result
));
12396 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12407 if (SWIG_arg_fail(1)) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (int)(arg1
)->GetUMin();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_From_int((int)(result
));
12424 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12435 if (SWIG_arg_fail(1)) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (int)(arg1
)->GetUMax();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_From_int((int)(result
));
12452 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (int)(arg1
)->GetVMin();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_From_int((int)(result
));
12480 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (int)(arg1
)->GetVMax();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_From_int((int)(result
));
12508 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (bool)(arg1
)->HasRudder();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12536 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12547 if (SWIG_arg_fail(1)) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (bool)(arg1
)->HasZ();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12575 if (SWIG_arg_fail(1)) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (bool)(arg1
)->HasU();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12592 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (bool)(arg1
)->HasV();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12620 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12631 if (SWIG_arg_fail(1)) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (bool)(arg1
)->HasPOV();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12648 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12659 if (SWIG_arg_fail(1)) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (bool)(arg1
)->HasPOV4Dir();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12676 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (bool)(arg1
)->HasPOVCTS();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12704 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12707 wxWindow
*arg2
= (wxWindow
*) 0 ;
12708 int arg3
= (int) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 PyObject
* obj2
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12719 if (SWIG_arg_fail(1)) SWIG_fail
;
12720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12721 if (SWIG_arg_fail(2)) SWIG_fail
;
12724 arg3
= (int)(SWIG_As_int(obj2
));
12725 if (SWIG_arg_fail(3)) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12744 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12755 if (SWIG_arg_fail(1)) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= (bool)(arg1
)->ReleaseCapture();
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12772 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12777 return Py_BuildValue((char *)"");
12779 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12782 int arg2
= (int) 0 ;
12783 int arg3
= (int) wxJOYSTICK1
;
12784 int arg4
= (int) 0 ;
12785 wxJoystickEvent
*result
;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 PyObject
* obj2
= 0 ;
12789 PyObject
* obj3
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12797 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12798 if (SWIG_arg_fail(1)) SWIG_fail
;
12803 arg2
= (int)(SWIG_As_int(obj1
));
12804 if (SWIG_arg_fail(2)) SWIG_fail
;
12809 arg3
= (int)(SWIG_As_int(obj2
));
12810 if (SWIG_arg_fail(3)) SWIG_fail
;
12815 arg4
= (int)(SWIG_As_int(obj3
));
12816 if (SWIG_arg_fail(4)) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12833 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 wxPoint
* resultptr
;
12854 resultptr
= new wxPoint((wxPoint
&)(result
));
12855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12863 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= SWIG_From_int((int)(result
));
12891 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_From_int((int)(result
));
12919 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_From_int((int)(result
));
12947 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12958 if (SWIG_arg_fail(1)) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_int((int)(result
));
12975 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self",(char *) "stick", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12987 if (SWIG_arg_fail(1)) SWIG_fail
;
12989 arg2
= (int)(SWIG_As_int(obj1
));
12990 if (SWIG_arg_fail(2)) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 (arg1
)->SetJoystick(arg2
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 Py_INCREF(Py_None
); resultobj
= Py_None
;
13006 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char *kwnames
[] = {
13013 (char *) "self",(char *) "state", NULL
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13018 if (SWIG_arg_fail(1)) SWIG_fail
;
13020 arg2
= (int)(SWIG_As_int(obj1
));
13021 if (SWIG_arg_fail(2)) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 (arg1
)->SetButtonState(arg2
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 Py_INCREF(Py_None
); resultobj
= Py_None
;
13037 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self",(char *) "change", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13049 if (SWIG_arg_fail(1)) SWIG_fail
;
13051 arg2
= (int)(SWIG_As_int(obj1
));
13052 if (SWIG_arg_fail(2)) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 (arg1
)->SetButtonChange(arg2
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 Py_INCREF(Py_None
); resultobj
= Py_None
;
13068 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13071 wxPoint
*arg2
= 0 ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self",(char *) "pos", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13081 if (SWIG_arg_fail(1)) SWIG_fail
;
13084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 Py_INCREF(Py_None
); resultobj
= Py_None
;
13100 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "zPos", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13112 if (SWIG_arg_fail(1)) SWIG_fail
;
13114 arg2
= (int)(SWIG_As_int(obj1
));
13115 if (SWIG_arg_fail(2)) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 (arg1
)->SetZPosition(arg2
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 Py_INCREF(Py_None
); resultobj
= Py_None
;
13131 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13142 if (SWIG_arg_fail(1)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13159 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13187 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13218 int arg2
= (int) wxJOY_BUTTON_ANY
;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "but", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail
;
13231 arg2
= (int)(SWIG_As_int(obj1
));
13232 if (SWIG_arg_fail(2)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13254 int arg2
= (int) wxJOY_BUTTON_ANY
;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "but", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13264 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 arg2
= (int)(SWIG_As_int(obj1
));
13268 if (SWIG_arg_fail(2)) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13290 int arg2
= (int) wxJOY_BUTTON_ANY
;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self",(char *) "but", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13300 if (SWIG_arg_fail(1)) SWIG_fail
;
13303 arg2
= (int)(SWIG_As_int(obj1
));
13304 if (SWIG_arg_fail(2)) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13323 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13326 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13328 return Py_BuildValue((char *)"");
13330 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13333 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13335 bool temp1
= false ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "fileName", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13344 arg1
= wxString_in_helper(obj0
);
13345 if (arg1
== NULL
) SWIG_fail
;
13350 if (!wxPyCheckForApp()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13372 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 PyObject
*arg1
= (PyObject
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "data", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13384 if (!wxPyCheckForApp()) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (wxSound
*)new_wxSound(arg1
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13398 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxSound
*arg1
= (wxSound
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxSound
*arg1
= (wxSound
*) 0 ;
13426 wxString
*arg2
= 0 ;
13428 bool temp2
= false ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "fileName", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13437 if (SWIG_arg_fail(1)) SWIG_fail
;
13439 arg2
= wxString_in_helper(obj1
);
13440 if (arg2
== NULL
) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxSound
*arg1
= (wxSound
*) 0 ;
13470 PyObject
*arg2
= (PyObject
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "data", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13480 if (SWIG_arg_fail(1)) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxSound
*arg1
= (wxSound
*) 0 ;
13502 PyObject
* obj0
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13509 if (SWIG_arg_fail(1)) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (bool)(arg1
)->IsOk();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxSound
*arg1
= (wxSound
*) 0 ;
13529 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self",(char *) "flags", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13539 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13543 if (SWIG_arg_fail(2)) SWIG_fail
;
13547 if (!wxPyCheckForApp()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13563 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxString
*arg1
= 0 ;
13566 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13568 bool temp1
= false ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "filename",(char *) "flags", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13577 arg1
= wxString_in_helper(obj0
);
13578 if (arg1
== NULL
) SWIG_fail
;
13583 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13584 if (SWIG_arg_fail(2)) SWIG_fail
;
13588 if (!wxPyCheckForApp()) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13612 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 char *kwnames
[] = {
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13620 if (!wxPyCheckForApp()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13637 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13639 return Py_BuildValue((char *)"");
13641 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxString
*arg1
= 0 ;
13644 wxString
*arg2
= 0 ;
13645 wxString
*arg3
= 0 ;
13646 wxString
*arg4
= 0 ;
13647 wxFileTypeInfo
*result
;
13648 bool temp1
= false ;
13649 bool temp2
= false ;
13650 bool temp3
= false ;
13651 bool temp4
= false ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 PyObject
* obj2
= 0 ;
13655 PyObject
* obj3
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13662 arg1
= wxString_in_helper(obj0
);
13663 if (arg1
== NULL
) SWIG_fail
;
13667 arg2
= wxString_in_helper(obj1
);
13668 if (arg2
== NULL
) SWIG_fail
;
13672 arg3
= wxString_in_helper(obj2
);
13673 if (arg3
== NULL
) SWIG_fail
;
13677 arg4
= wxString_in_helper(obj3
);
13678 if (arg4
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13727 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxArrayString
*arg1
= 0 ;
13730 wxFileTypeInfo
*result
;
13731 bool temp1
= false ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "sArray", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13739 if (! PySequence_Check(obj0
)) {
13740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13743 arg1
= new wxArrayString
;
13745 int i
, len
=PySequence_Length(obj0
);
13746 for (i
=0; i
<len
; i
++) {
13747 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13749 PyObject
* str
= PyObject_Unicode(item
);
13751 PyObject
* str
= PyObject_Str(item
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13754 arg1
->Add(Py2wxString(str
));
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13768 if (temp1
) delete arg1
;
13773 if (temp1
) delete arg1
;
13779 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxFileTypeInfo
*result
;
13782 char *kwnames
[] = {
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13801 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13829 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13832 wxString
*arg2
= 0 ;
13833 int arg3
= (int) 0 ;
13834 bool temp2
= false ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13844 if (SWIG_arg_fail(1)) SWIG_fail
;
13846 arg2
= wxString_in_helper(obj1
);
13847 if (arg2
== NULL
) SWIG_fail
;
13852 arg3
= (int)(SWIG_As_int(obj2
));
13853 if (SWIG_arg_fail(3)) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 Py_INCREF(Py_None
); resultobj
= Py_None
;
13878 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13881 wxString
*arg2
= 0 ;
13882 bool temp2
= false ;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "shortDesc", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13893 arg2
= wxString_in_helper(obj1
);
13894 if (arg2
== NULL
) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 Py_INCREF(Py_None
); resultobj
= Py_None
;
13919 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13935 result
= (wxString
*) &_result_ref
;
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13945 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13954 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13965 if (SWIG_arg_fail(1)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13970 result
= (wxString
*) &_result_ref
;
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13980 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13989 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
13999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14000 if (SWIG_arg_fail(1)) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14005 result
= (wxString
*) &_result_ref
;
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14024 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14035 if (SWIG_arg_fail(1)) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14040 result
= (wxString
*) &_result_ref
;
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14050 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14059 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14075 result
= (wxString
*) &_result_ref
;
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14094 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14097 wxArrayString
*result
;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14105 if (SWIG_arg_fail(1)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14110 result
= (wxArrayString
*) &_result_ref
;
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= wxArrayString2PyList_helper(*result
);
14125 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= SWIG_From_int((int)(result
));
14153 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14164 if (SWIG_arg_fail(1)) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14169 result
= (wxString
*) &_result_ref
;
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14188 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_From_int((int)(result
));
14216 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14219 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14221 return Py_BuildValue((char *)"");
14223 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxFileTypeInfo
*arg1
= 0 ;
14226 wxFileType
*result
;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "ftInfo", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail
;
14236 if (arg1
== NULL
) {
14237 SWIG_null_ref("wxFileTypeInfo");
14239 if (SWIG_arg_fail(1)) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14255 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxFileType
*arg1
= (wxFileType
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14265 if (SWIG_arg_fail(1)) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxFileType
*arg1
= (wxFileType
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14291 if (SWIG_arg_fail(1)) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= result
;
14306 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxFileType
*arg1
= (wxFileType
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= result
;
14332 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxFileType
*arg1
= (wxFileType
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= result
;
14358 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxFileType
*arg1
= (wxFileType
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14369 if (SWIG_arg_fail(1)) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14384 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxFileType
*arg1
= (wxFileType
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14395 if (SWIG_arg_fail(1)) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= result
;
14410 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxFileType
*arg1
= (wxFileType
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14421 if (SWIG_arg_fail(1)) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= result
;
14436 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxFileType
*arg1
= (wxFileType
*) 0 ;
14439 wxString
*arg2
= 0 ;
14440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14443 bool temp2
= false ;
14444 bool temp3
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14454 if (SWIG_arg_fail(1)) SWIG_fail
;
14456 arg2
= wxString_in_helper(obj1
);
14457 if (arg2
== NULL
) SWIG_fail
;
14462 arg3
= wxString_in_helper(obj2
);
14463 if (arg3
== NULL
) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= result
;
14497 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxFileType
*arg1
= (wxFileType
*) 0 ;
14500 wxString
*arg2
= 0 ;
14501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14504 bool temp2
= false ;
14505 bool temp3
= false ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 PyObject
* obj2
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14515 if (SWIG_arg_fail(1)) SWIG_fail
;
14517 arg2
= wxString_in_helper(obj1
);
14518 if (arg2
== NULL
) SWIG_fail
;
14523 arg3
= wxString_in_helper(obj2
);
14524 if (arg3
== NULL
) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
;
14558 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxFileType
*arg1
= (wxFileType
*) 0 ;
14561 wxString
*arg2
= 0 ;
14562 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14563 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14565 bool temp2
= false ;
14566 bool temp3
= false ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 PyObject
* obj2
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14576 if (SWIG_arg_fail(1)) SWIG_fail
;
14578 arg2
= wxString_in_helper(obj1
);
14579 if (arg2
== NULL
) SWIG_fail
;
14584 arg3
= wxString_in_helper(obj2
);
14585 if (arg3
== NULL
) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= result
;
14619 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxFileType
*arg1
= (wxFileType
*) 0 ;
14622 wxString
*arg2
= 0 ;
14623 wxString
*arg3
= 0 ;
14624 bool arg4
= (bool) true ;
14626 bool temp2
= false ;
14627 bool temp3
= false ;
14628 PyObject
* obj0
= 0 ;
14629 PyObject
* obj1
= 0 ;
14630 PyObject
* obj2
= 0 ;
14631 PyObject
* obj3
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14638 if (SWIG_arg_fail(1)) SWIG_fail
;
14640 arg2
= wxString_in_helper(obj1
);
14641 if (arg2
== NULL
) SWIG_fail
;
14645 arg3
= wxString_in_helper(obj2
);
14646 if (arg3
== NULL
) SWIG_fail
;
14651 arg4
= (bool)(SWIG_As_bool(obj3
));
14652 if (SWIG_arg_fail(4)) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14687 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxFileType
*arg1
= (wxFileType
*) 0 ;
14690 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14691 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14692 int arg3
= (int) 0 ;
14694 bool temp2
= false ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 PyObject
* obj2
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self",(char *) "cmd",(char *) "index", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14704 if (SWIG_arg_fail(1)) SWIG_fail
;
14707 arg2
= wxString_in_helper(obj1
);
14708 if (arg2
== NULL
) SWIG_fail
;
14714 arg3
= (int)(SWIG_As_int(obj2
));
14715 if (SWIG_arg_fail(3)) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14742 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxFileType
*arg1
= (wxFileType
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14753 if (SWIG_arg_fail(1)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)(arg1
)->Unassociate();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14770 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxString
*arg1
= 0 ;
14773 wxString
*arg2
= 0 ;
14774 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14775 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14777 bool temp1
= false ;
14778 bool temp2
= false ;
14779 bool temp3
= false ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 PyObject
* obj2
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14789 arg1
= wxString_in_helper(obj0
);
14790 if (arg1
== NULL
) SWIG_fail
;
14794 arg2
= wxString_in_helper(obj1
);
14795 if (arg2
== NULL
) SWIG_fail
;
14800 arg3
= wxString_in_helper(obj2
);
14801 if (arg3
== NULL
) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14849 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14852 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14854 return Py_BuildValue((char *)"");
14856 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14857 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14862 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14865 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14870 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxString
*arg1
= 0 ;
14873 wxString
*arg2
= 0 ;
14875 bool temp1
= false ;
14876 bool temp2
= false ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "mimeType",(char *) "wildcard", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14885 arg1
= wxString_in_helper(obj0
);
14886 if (arg1
== NULL
) SWIG_fail
;
14890 arg2
= wxString_in_helper(obj1
);
14891 if (arg2
== NULL
) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14926 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxMimeTypesManager
*result
;
14929 char *kwnames
[] = {
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14948 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14951 int arg2
= (int) wxMAILCAP_ALL
;
14952 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14953 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14954 bool temp3
= false ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 PyObject
* obj2
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14967 arg2
= (int)(SWIG_As_int(obj1
));
14968 if (SWIG_arg_fail(2)) SWIG_fail
;
14973 arg3
= wxString_in_helper(obj2
);
14974 if (arg3
== NULL
) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15010 if (SWIG_arg_fail(1)) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->ClearData();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15028 wxString
*arg2
= 0 ;
15029 wxFileType
*result
;
15030 bool temp2
= false ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self",(char *) "ext", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15039 if (SWIG_arg_fail(1)) SWIG_fail
;
15041 arg2
= wxString_in_helper(obj1
);
15042 if (arg2
== NULL
) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15067 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15070 wxString
*arg2
= 0 ;
15071 wxFileType
*result
;
15072 bool temp2
= false ;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "mimeType", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15081 if (SWIG_arg_fail(1)) SWIG_fail
;
15083 arg2
= wxString_in_helper(obj1
);
15084 if (arg2
== NULL
) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15109 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15112 wxString
*arg2
= 0 ;
15113 bool arg3
= (bool) false ;
15115 bool temp2
= false ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 PyObject
* obj2
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail
;
15127 arg2
= wxString_in_helper(obj1
);
15128 if (arg2
== NULL
) SWIG_fail
;
15133 arg3
= (bool)(SWIG_As_bool(obj2
));
15134 if (SWIG_arg_fail(3)) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15161 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15164 wxString
*arg2
= 0 ;
15166 bool temp2
= false ;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self",(char *) "filename", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15175 if (SWIG_arg_fail(1)) SWIG_fail
;
15177 arg2
= wxString_in_helper(obj1
);
15178 if (arg2
== NULL
) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15205 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
;
15231 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15234 wxFileTypeInfo
*arg2
= 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self",(char *) "ft", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15243 if (SWIG_arg_fail(1)) SWIG_fail
;
15245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15246 if (SWIG_arg_fail(2)) SWIG_fail
;
15247 if (arg2
== NULL
) {
15248 SWIG_null_ref("wxFileTypeInfo");
15250 if (SWIG_arg_fail(2)) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 Py_INCREF(Py_None
); resultobj
= Py_None
;
15266 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15269 wxFileTypeInfo
*arg2
= 0 ;
15270 wxFileType
*result
;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self",(char *) "ftInfo", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15279 if (SWIG_arg_fail(1)) SWIG_fail
;
15281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(2)) SWIG_fail
;
15283 if (arg2
== NULL
) {
15284 SWIG_null_ref("wxFileTypeInfo");
15286 if (SWIG_arg_fail(2)) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15302 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15305 wxFileType
*arg2
= (wxFileType
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "ft", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15315 if (SWIG_arg_fail(1)) SWIG_fail
;
15316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15317 if (SWIG_arg_fail(2)) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (bool)(arg1
)->Unassociate(arg2
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15344 if (SWIG_arg_fail(1)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 Py_INCREF(Py_None
); resultobj
= Py_None
;
15359 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15362 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15364 return Py_BuildValue((char *)"");
15366 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15367 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15372 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15377 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15379 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15386 static int _wrap_ART_MENU_set(PyObject
*) {
15387 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15392 static PyObject
*_wrap_ART_MENU_get(void) {
15397 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15399 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15406 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15407 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15412 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15417 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15419 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15426 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15427 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15432 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15437 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15439 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15446 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15447 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15452 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15457 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15459 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15466 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15467 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15472 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15477 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15479 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15486 static int _wrap_ART_BUTTON_set(PyObject
*) {
15487 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15492 static PyObject
*_wrap_ART_BUTTON_get(void) {
15497 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15499 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15506 static int _wrap_ART_OTHER_set(PyObject
*) {
15507 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15512 static PyObject
*_wrap_ART_OTHER_get(void) {
15517 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15519 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15526 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15527 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15532 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15537 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15539 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15546 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15547 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15552 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15557 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15559 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15566 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15567 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15572 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15577 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15579 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15586 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15587 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15592 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15597 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15599 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15606 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15607 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15612 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15617 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15619 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15626 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15627 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15632 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15637 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15639 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15646 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15647 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15652 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15657 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15659 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15666 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15667 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15672 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15677 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15679 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15686 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15687 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15692 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15697 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15699 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15706 static int _wrap_ART_GO_UP_set(PyObject
*) {
15707 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15712 static PyObject
*_wrap_ART_GO_UP_get(void) {
15717 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15719 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15726 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15727 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15732 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15737 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15739 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15746 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15747 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15752 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15757 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15759 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15766 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15767 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15772 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15777 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15779 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15786 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15787 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15792 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15797 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15799 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15806 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15807 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15812 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15817 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15819 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15826 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15827 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15832 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15837 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15839 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15846 static int _wrap_ART_PRINT_set(PyObject
*) {
15847 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15852 static PyObject
*_wrap_ART_PRINT_get(void) {
15857 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15859 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15866 static int _wrap_ART_HELP_set(PyObject
*) {
15867 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15872 static PyObject
*_wrap_ART_HELP_get(void) {
15877 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15879 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15886 static int _wrap_ART_TIP_set(PyObject
*) {
15887 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15892 static PyObject
*_wrap_ART_TIP_get(void) {
15897 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15899 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15906 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15907 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15912 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15917 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15919 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15926 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15927 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15932 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15937 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15939 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15946 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15947 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15952 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15957 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15959 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15966 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15967 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15972 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15977 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15979 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15986 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15987 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15992 static PyObject
*_wrap_ART_FLOPPY_get(void) {
15997 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15999 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16006 static int _wrap_ART_CDROM_set(PyObject
*) {
16007 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16012 static PyObject
*_wrap_ART_CDROM_get(void) {
16017 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16019 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16026 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16027 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16032 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16037 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16039 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16046 static int _wrap_ART_FOLDER_set(PyObject
*) {
16047 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16052 static PyObject
*_wrap_ART_FOLDER_get(void) {
16057 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16059 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16066 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16067 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16072 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16077 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16079 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16086 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16087 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16092 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16097 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16099 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16106 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16107 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16112 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16117 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16119 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16126 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16127 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16132 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16137 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16139 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16146 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16147 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16152 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16157 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16159 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16166 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16167 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16172 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16177 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16179 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16186 static int _wrap_ART_ERROR_set(PyObject
*) {
16187 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16192 static PyObject
*_wrap_ART_ERROR_get(void) {
16197 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16199 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16206 static int _wrap_ART_QUESTION_set(PyObject
*) {
16207 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16212 static PyObject
*_wrap_ART_QUESTION_get(void) {
16217 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16219 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16226 static int _wrap_ART_WARNING_set(PyObject
*) {
16227 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16232 static PyObject
*_wrap_ART_WARNING_get(void) {
16237 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16239 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16246 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16247 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16252 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16257 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16259 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16266 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16267 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16272 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16277 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16279 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16286 static int _wrap_ART_COPY_set(PyObject
*) {
16287 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16292 static PyObject
*_wrap_ART_COPY_get(void) {
16297 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16299 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16306 static int _wrap_ART_CUT_set(PyObject
*) {
16307 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16312 static PyObject
*_wrap_ART_CUT_get(void) {
16317 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16319 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16326 static int _wrap_ART_PASTE_set(PyObject
*) {
16327 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16332 static PyObject
*_wrap_ART_PASTE_get(void) {
16337 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16339 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16346 static int _wrap_ART_DELETE_set(PyObject
*) {
16347 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16352 static PyObject
*_wrap_ART_DELETE_get(void) {
16357 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16359 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16366 static int _wrap_ART_UNDO_set(PyObject
*) {
16367 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16372 static PyObject
*_wrap_ART_UNDO_get(void) {
16377 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16379 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16386 static int _wrap_ART_REDO_set(PyObject
*) {
16387 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16392 static PyObject
*_wrap_ART_REDO_get(void) {
16397 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16399 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16406 static int _wrap_ART_QUIT_set(PyObject
*) {
16407 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16412 static PyObject
*_wrap_ART_QUIT_get(void) {
16417 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16419 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16426 static int _wrap_ART_FIND_set(PyObject
*) {
16427 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16432 static PyObject
*_wrap_ART_FIND_get(void) {
16437 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16439 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16446 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16447 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16452 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16457 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16459 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16466 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxPyArtProvider
*result
;
16469 char *kwnames
[] = {
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16475 if (!wxPyCheckForApp()) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16489 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16492 PyObject
*arg2
= (PyObject
*) 0 ;
16493 PyObject
*arg3
= (PyObject
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 PyObject
* obj1
= 0 ;
16496 PyObject
* obj2
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "self",(char *) "_class", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16503 if (SWIG_arg_fail(1)) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "provider", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16530 if (SWIG_arg_fail(1)) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 wxPyArtProvider::PushProvider(arg1
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16548 char *kwnames
[] = {
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)wxPyArtProvider::PopProvider();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "provider", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16580 if (SWIG_arg_fail(1)) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16597 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxString
*arg1
= 0 ;
16600 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16601 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16602 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16603 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16605 bool temp1
= false ;
16606 bool temp2
= false ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 PyObject
* obj2
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "id",(char *) "client",(char *) "size", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16617 arg1
= wxString_in_helper(obj0
);
16618 if (arg1
== NULL
) SWIG_fail
;
16623 arg2
= wxString_in_helper(obj1
);
16624 if (arg2
== NULL
) SWIG_fail
;
16631 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16635 if (!wxPyCheckForApp()) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 wxBitmap
* resultptr
;
16644 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16669 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxString
*arg1
= 0 ;
16672 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16674 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16675 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16677 bool temp1
= false ;
16678 bool temp2
= false ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 PyObject
* obj2
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "id",(char *) "client",(char *) "size", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16689 arg1
= wxString_in_helper(obj0
);
16690 if (arg1
== NULL
) SWIG_fail
;
16695 arg2
= wxString_in_helper(obj1
);
16696 if (arg2
== NULL
) SWIG_fail
;
16703 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16707 if (!wxPyCheckForApp()) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 wxIcon
* resultptr
;
16716 resultptr
= new wxIcon((wxIcon
&)(result
));
16717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16741 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 wxPyArtProvider_Destroy(arg1
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 Py_INCREF(Py_None
); resultobj
= Py_None
;
16766 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16769 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16771 return Py_BuildValue((char *)"");
16773 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16783 if (SWIG_arg_fail(1)) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 Py_INCREF(Py_None
); resultobj
= Py_None
;
16798 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16801 wxConfigBase
*result
;
16802 PyObject
* obj0
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "config", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16809 if (SWIG_arg_fail(1)) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16824 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 bool arg1
= (bool) true ;
16827 wxConfigBase
*result
;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "createOnDemand", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16836 arg1
= (bool)(SWIG_As_bool(obj0
));
16837 if (SWIG_arg_fail(1)) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16854 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxConfigBase
*result
;
16857 char *kwnames
[] = {
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (wxConfigBase
*)wxConfigBase::Create();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16876 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 char *kwnames
[] = {
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 wxConfigBase::DontCreateOnDemand();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16900 wxString
*arg2
= 0 ;
16901 bool temp2
= false ;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self",(char *) "path", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail
;
16912 arg2
= wxString_in_helper(obj1
);
16913 if (arg2
== NULL
) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 (arg1
)->SetPath((wxString
const &)*arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 Py_INCREF(Py_None
); resultobj
= Py_None
;
16938 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16954 result
= (wxString
*) &_result_ref
;
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16964 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16973 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= result
;
16999 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self",(char *) "index", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17012 if (SWIG_arg_fail(1)) SWIG_fail
;
17014 arg2
= (long)(SWIG_As_long(obj1
));
17015 if (SWIG_arg_fail(2)) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
;
17031 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= result
;
17057 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self",(char *) "index", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17070 if (SWIG_arg_fail(1)) SWIG_fail
;
17072 arg2
= (long)(SWIG_As_long(obj1
));
17073 if (SWIG_arg_fail(2)) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= result
;
17089 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17092 bool arg2
= (bool) false ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "recursive", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17102 if (SWIG_arg_fail(1)) SWIG_fail
;
17105 arg2
= (bool)(SWIG_As_bool(obj1
));
17106 if (SWIG_arg_fail(2)) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17125 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17128 bool arg2
= (bool) false ;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self",(char *) "recursive", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17138 if (SWIG_arg_fail(1)) SWIG_fail
;
17141 arg2
= (bool)(SWIG_As_bool(obj1
));
17142 if (SWIG_arg_fail(2)) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17161 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17164 wxString
*arg2
= 0 ;
17166 bool temp2
= false ;
17167 PyObject
* obj0
= 0 ;
17168 PyObject
* obj1
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self",(char *) "name", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17175 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 arg2
= wxString_in_helper(obj1
);
17178 if (arg2
== NULL
) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17205 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17208 wxString
*arg2
= 0 ;
17210 bool temp2
= false ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "name", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17219 if (SWIG_arg_fail(1)) SWIG_fail
;
17221 arg2
= wxString_in_helper(obj1
);
17222 if (arg2
== NULL
) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17249 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17252 wxString
*arg2
= 0 ;
17254 bool temp2
= false ;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "name", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail
;
17265 arg2
= wxString_in_helper(obj1
);
17266 if (arg2
== NULL
) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17293 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17296 wxString
*arg2
= 0 ;
17297 wxConfigBase::EntryType result
;
17298 bool temp2
= false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "name", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(1)) SWIG_fail
;
17309 arg2
= wxString_in_helper(obj1
);
17310 if (arg2
== NULL
) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= SWIG_From_int((result
));
17335 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17338 wxString
*arg2
= 0 ;
17339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17342 bool temp2
= false ;
17343 bool temp3
= false ;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj1
= 0 ;
17346 PyObject
* obj2
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17353 if (SWIG_arg_fail(1)) SWIG_fail
;
17355 arg2
= wxString_in_helper(obj1
);
17356 if (arg2
== NULL
) SWIG_fail
;
17361 arg3
= wxString_in_helper(obj2
);
17362 if (arg3
== NULL
) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17402 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17405 wxString
*arg2
= 0 ;
17406 long arg3
= (long) 0 ;
17408 bool temp2
= false ;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 PyObject
* obj2
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17418 if (SWIG_arg_fail(1)) SWIG_fail
;
17420 arg2
= wxString_in_helper(obj1
);
17421 if (arg2
== NULL
) SWIG_fail
;
17426 arg3
= (long)(SWIG_As_long(obj2
));
17427 if (SWIG_arg_fail(3)) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_From_long((long)(result
));
17454 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17457 wxString
*arg2
= 0 ;
17458 double arg3
= (double) 0.0 ;
17460 bool temp2
= false ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 PyObject
* obj2
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17470 if (SWIG_arg_fail(1)) SWIG_fail
;
17472 arg2
= wxString_in_helper(obj1
);
17473 if (arg2
== NULL
) SWIG_fail
;
17478 arg3
= (double)(SWIG_As_double(obj2
));
17479 if (SWIG_arg_fail(3)) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_From_double((double)(result
));
17506 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17509 wxString
*arg2
= 0 ;
17510 bool arg3
= (bool) false ;
17512 bool temp2
= false ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17522 if (SWIG_arg_fail(1)) SWIG_fail
;
17524 arg2
= wxString_in_helper(obj1
);
17525 if (arg2
== NULL
) SWIG_fail
;
17530 arg3
= (bool)(SWIG_As_bool(obj2
));
17531 if (SWIG_arg_fail(3)) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17558 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17561 wxString
*arg2
= 0 ;
17562 wxString
*arg3
= 0 ;
17564 bool temp2
= false ;
17565 bool temp3
= false ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 PyObject
* obj2
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self",(char *) "key",(char *) "value", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17577 arg2
= wxString_in_helper(obj1
);
17578 if (arg2
== NULL
) SWIG_fail
;
17582 arg3
= wxString_in_helper(obj2
);
17583 if (arg3
== NULL
) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17618 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17621 wxString
*arg2
= 0 ;
17624 bool temp2
= false ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 PyObject
* obj2
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "key",(char *) "value", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17634 if (SWIG_arg_fail(1)) SWIG_fail
;
17636 arg2
= wxString_in_helper(obj1
);
17637 if (arg2
== NULL
) SWIG_fail
;
17641 arg3
= (long)(SWIG_As_long(obj2
));
17642 if (SWIG_arg_fail(3)) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17671 wxString
*arg2
= 0 ;
17674 bool temp2
= false ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "key",(char *) "value", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",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
= (double)(SWIG_As_double(obj2
));
17692 if (SWIG_arg_fail(3)) SWIG_fail
;
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17698 wxPyEndAllowThreads(__tstate
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17721 wxString
*arg2
= 0 ;
17724 bool temp2
= false ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "key",(char *) "value", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17734 if (SWIG_arg_fail(1)) SWIG_fail
;
17736 arg2
= wxString_in_helper(obj1
);
17737 if (arg2
== NULL
) SWIG_fail
;
17741 arg3
= (bool)(SWIG_As_bool(obj2
));
17742 if (SWIG_arg_fail(3)) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17768 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17771 bool arg2
= (bool) false ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "currentOnly", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 arg2
= (bool)(SWIG_As_bool(obj1
));
17785 if (SWIG_arg_fail(2)) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (bool)(arg1
)->Flush(arg2
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17804 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17807 wxString
*arg2
= 0 ;
17808 wxString
*arg3
= 0 ;
17810 bool temp2
= false ;
17811 bool temp3
= false ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 PyObject
* obj2
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17821 if (SWIG_arg_fail(1)) SWIG_fail
;
17823 arg2
= wxString_in_helper(obj1
);
17824 if (arg2
== NULL
) SWIG_fail
;
17828 arg3
= wxString_in_helper(obj2
);
17829 if (arg3
== NULL
) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17864 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17867 wxString
*arg2
= 0 ;
17868 wxString
*arg3
= 0 ;
17870 bool temp2
= false ;
17871 bool temp3
= false ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 PyObject
* obj2
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17881 if (SWIG_arg_fail(1)) SWIG_fail
;
17883 arg2
= wxString_in_helper(obj1
);
17884 if (arg2
== NULL
) SWIG_fail
;
17888 arg3
= wxString_in_helper(obj2
);
17889 if (arg3
== NULL
) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17924 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17927 wxString
*arg2
= 0 ;
17928 bool arg3
= (bool) true ;
17930 bool temp2
= false ;
17931 PyObject
* obj0
= 0 ;
17932 PyObject
* obj1
= 0 ;
17933 PyObject
* obj2
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17940 if (SWIG_arg_fail(1)) SWIG_fail
;
17942 arg2
= wxString_in_helper(obj1
);
17943 if (arg2
== NULL
) SWIG_fail
;
17948 arg3
= (bool)(SWIG_As_bool(obj2
));
17949 if (SWIG_arg_fail(3)) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17976 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17979 wxString
*arg2
= 0 ;
17981 bool temp2
= false ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "key", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 arg2
= wxString_in_helper(obj1
);
17993 if (arg2
== NULL
) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18020 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18031 if (SWIG_arg_fail(1)) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)(arg1
)->DeleteAll();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18048 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18051 bool arg2
= (bool) true ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "doIt", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18060 if (SWIG_arg_fail(1)) SWIG_fail
;
18063 arg2
= (bool)(SWIG_As_bool(obj1
));
18064 if (SWIG_arg_fail(2)) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 (arg1
)->SetExpandEnvVars(arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 Py_INCREF(Py_None
); resultobj
= Py_None
;
18081 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(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_IsExpandingEnvVars",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
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18109 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18112 bool arg2
= (bool) true ;
18113 PyObject
* obj0
= 0 ;
18114 PyObject
* obj1
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self",(char *) "doIt", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18121 if (SWIG_arg_fail(1)) SWIG_fail
;
18124 arg2
= (bool)(SWIG_As_bool(obj1
));
18125 if (SWIG_arg_fail(2)) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetRecordDefaults(arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18153 if (SWIG_arg_fail(1)) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18170 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
;
18172 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18173 wxString
*arg2
= 0 ;
18175 bool temp2
= false ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "str", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail
;
18186 arg2
= wxString_in_helper(obj1
);
18187 if (arg2
== NULL
) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18218 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18250 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18254 PyObject
* obj0
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18261 if (SWIG_arg_fail(1)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18282 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18285 wxString
*arg2
= 0 ;
18286 bool temp2
= false ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "appName", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 arg2
= wxString_in_helper(obj1
);
18298 if (arg2
== NULL
) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 (arg1
)->SetAppName((wxString
const &)*arg2
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 Py_INCREF(Py_None
); resultobj
= Py_None
;
18323 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18326 wxString
*arg2
= 0 ;
18327 bool temp2
= false ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "vendorName", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18336 if (SWIG_arg_fail(1)) SWIG_fail
;
18338 arg2
= wxString_in_helper(obj1
);
18339 if (arg2
== NULL
) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "style", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail
;
18378 arg2
= (long)(SWIG_As_long(obj1
));
18379 if (SWIG_arg_fail(2)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->SetStyle(arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 Py_INCREF(Py_None
); resultobj
= Py_None
;
18395 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_From_long((long)(result
));
18423 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18426 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18428 return Py_BuildValue((char *)"");
18430 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18433 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18434 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18435 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18436 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18437 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18438 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18439 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18440 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18442 bool temp1
= false ;
18443 bool temp2
= false ;
18444 bool temp3
= false ;
18445 bool temp4
= false ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 PyObject
* obj3
= 0 ;
18450 PyObject
* obj4
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18458 arg1
= wxString_in_helper(obj0
);
18459 if (arg1
== NULL
) SWIG_fail
;
18465 arg2
= wxString_in_helper(obj1
);
18466 if (arg2
== NULL
) SWIG_fail
;
18472 arg3
= wxString_in_helper(obj2
);
18473 if (arg3
== NULL
) SWIG_fail
;
18479 arg4
= wxString_in_helper(obj3
);
18480 if (arg4
== NULL
) SWIG_fail
;
18486 arg5
= (long)(SWIG_As_long(obj4
));
18487 if (SWIG_arg_fail(5)) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18536 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxConfig
*arg1
= (wxConfig
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 Py_INCREF(Py_None
); resultobj
= Py_None
;
18561 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18564 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18566 return Py_BuildValue((char *)"");
18568 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18571 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18572 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18573 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18574 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18575 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18576 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18577 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18578 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18579 wxFileConfig
*result
;
18580 bool temp1
= false ;
18581 bool temp2
= false ;
18582 bool temp3
= false ;
18583 bool temp4
= false ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 PyObject
* obj2
= 0 ;
18587 PyObject
* obj3
= 0 ;
18588 PyObject
* obj4
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18596 arg1
= wxString_in_helper(obj0
);
18597 if (arg1
== NULL
) SWIG_fail
;
18603 arg2
= wxString_in_helper(obj1
);
18604 if (arg2
== NULL
) SWIG_fail
;
18610 arg3
= wxString_in_helper(obj2
);
18611 if (arg3
== NULL
) SWIG_fail
;
18617 arg4
= wxString_in_helper(obj3
);
18618 if (arg4
== NULL
) SWIG_fail
;
18624 arg5
= (long)(SWIG_As_long(obj4
));
18625 if (SWIG_arg_fail(5)) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18674 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18702 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18704 return Py_BuildValue((char *)"");
18706 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18709 wxString
*arg2
= 0 ;
18710 wxConfigPathChanger
*result
;
18711 bool temp2
= false ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "config",(char *) "entry", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 arg2
= wxString_in_helper(obj1
);
18723 if (arg2
== NULL
) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18748 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18758 if (SWIG_arg_fail(1)) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 Py_INCREF(Py_None
); resultobj
= Py_None
;
18773 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18784 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18789 result
= (wxString
*) &_result_ref
;
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18799 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18808 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18811 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18813 return Py_BuildValue((char *)"");
18815 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxString
*arg1
= 0 ;
18819 bool temp1
= false ;
18820 PyObject
* obj0
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "sz", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18827 arg1
= wxString_in_helper(obj0
);
18828 if (arg1
== NULL
) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18859 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18860 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18865 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18870 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18872 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18879 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18880 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18885 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18890 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18892 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18899 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxDateTime::Country arg1
;
18902 PyObject
* obj0
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "country", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18909 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18910 if (SWIG_arg_fail(1)) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxDateTime::Country result
;
18929 char *kwnames
[] = {
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_From_int((result
));
18948 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "country", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18960 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18961 if (SWIG_arg_fail(1)) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18980 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18984 PyObject
* obj0
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "cal", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18992 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_From_int((int)(result
));
19012 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "year", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19023 arg1
= (int)(SWIG_As_int(obj0
));
19024 if (SWIG_arg_fail(1)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_From_int((int)(result
));
19042 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19045 wxDateTime::Month result
;
19046 PyObject
* obj0
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "cal", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19054 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19055 if (SWIG_arg_fail(1)) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_From_int((result
));
19072 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 int arg1
= (int) wxDateTime::Inv_Year
;
19075 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "year",(char *) "cal", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19086 arg1
= (int)(SWIG_As_int(obj0
));
19087 if (SWIG_arg_fail(1)) SWIG_fail
;
19092 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19093 if (SWIG_arg_fail(2)) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19112 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 int arg1
= (int) wxDateTime::Inv_Year
;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "year", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19124 arg1
= (int)(SWIG_As_int(obj0
));
19125 if (SWIG_arg_fail(1)) SWIG_fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (int)wxDateTime::GetCentury(arg1
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19136 resultobj
= SWIG_From_int((int)(result
));
19144 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19147 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "year",(char *) "cal", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19157 arg1
= (int)(SWIG_As_int(obj0
));
19158 if (SWIG_arg_fail(1)) SWIG_fail
;
19162 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19163 if (SWIG_arg_fail(2)) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= SWIG_From_int((int)(result
));
19182 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxDateTime::Month arg1
;
19185 int arg2
= (int) wxDateTime::Inv_Year
;
19186 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 PyObject
* obj2
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "month",(char *) "year",(char *) "cal", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19197 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19198 if (SWIG_arg_fail(1)) SWIG_fail
;
19202 arg2
= (int)(SWIG_As_int(obj1
));
19203 if (SWIG_arg_fail(2)) SWIG_fail
;
19208 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19209 if (SWIG_arg_fail(3)) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_From_int((int)(result
));
19228 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxDateTime::Month arg1
;
19231 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "month",(char *) "flags", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19241 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19242 if (SWIG_arg_fail(1)) SWIG_fail
;
19246 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19247 if (SWIG_arg_fail(2)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19270 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxDateTime::WeekDay arg1
;
19273 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "weekday",(char *) "flags", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19283 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19284 if (SWIG_arg_fail(1)) SWIG_fail
;
19288 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19289 if (SWIG_arg_fail(2)) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19312 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19315 char *kwnames
[] = {
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (PyObject
*)DateTime_GetAmPmStrings();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= result
;
19334 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 int arg1
= (int) wxDateTime::Inv_Year
;
19337 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "year",(char *) "country", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19348 arg1
= (int)(SWIG_As_int(obj0
));
19349 if (SWIG_arg_fail(1)) SWIG_fail
;
19354 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19355 if (SWIG_arg_fail(2)) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19374 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 int arg1
= (int) wxDateTime::Inv_Year
;
19377 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "year",(char *) "country", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19388 arg1
= (int)(SWIG_As_int(obj0
));
19389 if (SWIG_arg_fail(1)) SWIG_fail
;
19394 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19395 if (SWIG_arg_fail(2)) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19406 wxDateTime
* resultptr
;
19407 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19416 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 int arg1
= (int) wxDateTime::Inv_Year
;
19419 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "year",(char *) "country", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 arg1
= (int)(SWIG_As_int(obj0
));
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19436 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19437 if (SWIG_arg_fail(2)) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 wxDateTime
* resultptr
;
19449 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19458 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19461 char *kwnames
[] = {
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= wxDateTime::Now();
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19474 wxDateTime
* resultptr
;
19475 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19484 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19487 char *kwnames
[] = {
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= wxDateTime::UNow();
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 wxDateTime
* resultptr
;
19501 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19510 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19513 char *kwnames
[] = {
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= wxDateTime::Today();
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19526 wxDateTime
* resultptr
;
19527 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19536 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxDateTime
*result
;
19539 char *kwnames
[] = {
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (wxDateTime
*)new wxDateTime();
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19558 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19561 wxDateTime
*result
;
19562 PyObject
* obj0
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "timet", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19569 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19570 if (SWIG_arg_fail(1)) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxDateTime
*)new wxDateTime(arg1
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19586 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19589 wxDateTime
*result
;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "jdn", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19597 arg1
= (double)(SWIG_As_double(obj0
));
19598 if (SWIG_arg_fail(1)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxDateTime
*)new wxDateTime(arg1
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19614 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19617 int arg2
= (int) 0 ;
19618 int arg3
= (int) 0 ;
19619 int arg4
= (int) 0 ;
19620 wxDateTime
*result
;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 PyObject
* obj2
= 0 ;
19624 PyObject
* obj3
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19631 arg1
= (int)(SWIG_As_int(obj0
));
19632 if (SWIG_arg_fail(1)) SWIG_fail
;
19636 arg2
= (int)(SWIG_As_int(obj1
));
19637 if (SWIG_arg_fail(2)) SWIG_fail
;
19642 arg3
= (int)(SWIG_As_int(obj2
));
19643 if (SWIG_arg_fail(3)) SWIG_fail
;
19648 arg4
= (int)(SWIG_As_int(obj3
));
19649 if (SWIG_arg_fail(4)) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19666 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19669 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19670 int arg3
= (int) wxDateTime::Inv_Year
;
19671 int arg4
= (int) 0 ;
19672 int arg5
= (int) 0 ;
19673 int arg6
= (int) 0 ;
19674 int arg7
= (int) 0 ;
19675 wxDateTime
*result
;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 PyObject
* obj2
= 0 ;
19679 PyObject
* obj3
= 0 ;
19680 PyObject
* obj4
= 0 ;
19681 PyObject
* obj5
= 0 ;
19682 PyObject
* obj6
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19689 arg1
= (int)(SWIG_As_int(obj0
));
19690 if (SWIG_arg_fail(1)) SWIG_fail
;
19694 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19695 if (SWIG_arg_fail(2)) SWIG_fail
;
19700 arg3
= (int)(SWIG_As_int(obj2
));
19701 if (SWIG_arg_fail(3)) SWIG_fail
;
19706 arg4
= (int)(SWIG_As_int(obj3
));
19707 if (SWIG_arg_fail(4)) SWIG_fail
;
19712 arg5
= (int)(SWIG_As_int(obj4
));
19713 if (SWIG_arg_fail(5)) SWIG_fail
;
19718 arg6
= (int)(SWIG_As_int(obj5
));
19719 if (SWIG_arg_fail(6)) SWIG_fail
;
19724 arg7
= (int)(SWIG_As_int(obj6
));
19725 if (SWIG_arg_fail(7)) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19742 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19752 if (SWIG_arg_fail(1)) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 Py_INCREF(Py_None
); resultobj
= Py_None
;
19767 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19770 wxDateTime
*result
;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19783 result
= (wxDateTime
*) &_result_ref
;
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19796 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19800 wxDateTime
*result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "timet", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail
;
19811 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19812 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19818 result
= (wxDateTime
*) &_result_ref
;
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19831 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19835 wxDateTime
*result
;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "jdn", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) 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
= (double)(SWIG_As_double(obj1
));
19847 if (SWIG_arg_fail(2)) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19853 result
= (wxDateTime
*) &_result_ref
;
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19866 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19870 int arg3
= (int) 0 ;
19871 int arg4
= (int) 0 ;
19872 int arg5
= (int) 0 ;
19873 wxDateTime
*result
;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 PyObject
* obj2
= 0 ;
19877 PyObject
* obj3
= 0 ;
19878 PyObject
* obj4
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 arg2
= (int)(SWIG_As_int(obj1
));
19888 if (SWIG_arg_fail(2)) SWIG_fail
;
19892 arg3
= (int)(SWIG_As_int(obj2
));
19893 if (SWIG_arg_fail(3)) SWIG_fail
;
19898 arg4
= (int)(SWIG_As_int(obj3
));
19899 if (SWIG_arg_fail(4)) SWIG_fail
;
19904 arg5
= (int)(SWIG_As_int(obj4
));
19905 if (SWIG_arg_fail(5)) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19912 result
= (wxDateTime
*) &_result_ref
;
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19925 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19929 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19930 int arg4
= (int) wxDateTime::Inv_Year
;
19931 int arg5
= (int) 0 ;
19932 int arg6
= (int) 0 ;
19933 int arg7
= (int) 0 ;
19934 int arg8
= (int) 0 ;
19935 wxDateTime
*result
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 PyObject
* obj2
= 0 ;
19939 PyObject
* obj3
= 0 ;
19940 PyObject
* obj4
= 0 ;
19941 PyObject
* obj5
= 0 ;
19942 PyObject
* obj6
= 0 ;
19943 PyObject
* obj7
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail
;
19952 arg2
= (int)(SWIG_As_int(obj1
));
19953 if (SWIG_arg_fail(2)) SWIG_fail
;
19957 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19958 if (SWIG_arg_fail(3)) SWIG_fail
;
19963 arg4
= (int)(SWIG_As_int(obj3
));
19964 if (SWIG_arg_fail(4)) SWIG_fail
;
19969 arg5
= (int)(SWIG_As_int(obj4
));
19970 if (SWIG_arg_fail(5)) SWIG_fail
;
19975 arg6
= (int)(SWIG_As_int(obj5
));
19976 if (SWIG_arg_fail(6)) SWIG_fail
;
19981 arg7
= (int)(SWIG_As_int(obj6
));
19982 if (SWIG_arg_fail(7)) SWIG_fail
;
19987 arg8
= (int)(SWIG_As_int(obj7
));
19988 if (SWIG_arg_fail(8)) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
19995 result
= (wxDateTime
*) &_result_ref
;
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20008 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
;
20010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20011 wxDateTime
*result
;
20012 PyObject
* obj0
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20019 if (SWIG_arg_fail(1)) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20024 result
= (wxDateTime
*) &_result_ref
;
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20037 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20041 wxDateTime
*result
;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "year", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20050 if (SWIG_arg_fail(1)) SWIG_fail
;
20052 arg2
= (int)(SWIG_As_int(obj1
));
20053 if (SWIG_arg_fail(2)) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20059 result
= (wxDateTime
*) &_result_ref
;
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20072 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20075 wxDateTime::Month arg2
;
20076 wxDateTime
*result
;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self",(char *) "month", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20085 if (SWIG_arg_fail(1)) SWIG_fail
;
20087 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20088 if (SWIG_arg_fail(2)) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20094 result
= (wxDateTime
*) &_result_ref
;
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20107 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20111 wxDateTime
*result
;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "day", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 arg2
= (int)(SWIG_As_int(obj1
));
20123 if (SWIG_arg_fail(2)) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20129 result
= (wxDateTime
*) &_result_ref
;
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20142 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20146 wxDateTime
*result
;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self",(char *) "hour", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail
;
20157 arg2
= (int)(SWIG_As_int(obj1
));
20158 if (SWIG_arg_fail(2)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20164 result
= (wxDateTime
*) &_result_ref
;
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20177 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20181 wxDateTime
*result
;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self",(char *) "minute", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail
;
20192 arg2
= (int)(SWIG_As_int(obj1
));
20193 if (SWIG_arg_fail(2)) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20199 result
= (wxDateTime
*) &_result_ref
;
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20212 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20216 wxDateTime
*result
;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self",(char *) "second", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20225 if (SWIG_arg_fail(1)) SWIG_fail
;
20227 arg2
= (int)(SWIG_As_int(obj1
));
20228 if (SWIG_arg_fail(2)) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20234 result
= (wxDateTime
*) &_result_ref
;
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20247 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20251 wxDateTime
*result
;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self",(char *) "millisecond", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20260 if (SWIG_arg_fail(1)) SWIG_fail
;
20262 arg2
= (int)(SWIG_As_int(obj1
));
20263 if (SWIG_arg_fail(2)) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20269 result
= (wxDateTime
*) &_result_ref
;
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20282 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20285 wxDateTime::WeekDay arg2
;
20286 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20287 wxDateTime
*result
;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 PyObject
* obj2
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20297 if (SWIG_arg_fail(1)) SWIG_fail
;
20299 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20300 if (SWIG_arg_fail(2)) SWIG_fail
;
20304 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20305 if (SWIG_arg_fail(3)) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20312 result
= (wxDateTime
*) &_result_ref
;
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20325 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20328 wxDateTime::WeekDay arg2
;
20329 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20331 PyObject
* obj0
= 0 ;
20332 PyObject
* obj1
= 0 ;
20333 PyObject
* obj2
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20343 if (SWIG_arg_fail(2)) SWIG_fail
;
20347 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20348 if (SWIG_arg_fail(3)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20359 wxDateTime
* resultptr
;
20360 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20369 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20372 wxDateTime::WeekDay arg2
;
20373 wxDateTime
*result
;
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_SetToNextWeekDay",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();
20390 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20391 result
= (wxDateTime
*) &_result_ref
;
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20404 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20407 wxDateTime::WeekDay arg2
;
20409 PyObject
* obj0
= 0 ;
20410 PyObject
* obj1
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "weekday", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20417 if (SWIG_arg_fail(1)) SWIG_fail
;
20419 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20420 if (SWIG_arg_fail(2)) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20430 wxDateTime
* resultptr
;
20431 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20440 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20443 wxDateTime::WeekDay arg2
;
20444 wxDateTime
*result
;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self",(char *) "weekday", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail
;
20455 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20456 if (SWIG_arg_fail(2)) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20462 result
= (wxDateTime
*) &_result_ref
;
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20475 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20478 wxDateTime::WeekDay arg2
;
20480 PyObject
* obj0
= 0 ;
20481 PyObject
* obj1
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self",(char *) "weekday", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20488 if (SWIG_arg_fail(1)) SWIG_fail
;
20490 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20491 if (SWIG_arg_fail(2)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 wxDateTime
* resultptr
;
20502 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20511 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20514 wxDateTime::WeekDay arg2
;
20515 int arg3
= (int) 1 ;
20516 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20517 int arg5
= (int) wxDateTime::Inv_Year
;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 PyObject
* obj2
= 0 ;
20522 PyObject
* obj3
= 0 ;
20523 PyObject
* obj4
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
= (int)(SWIG_As_int(obj2
));
20538 if (SWIG_arg_fail(3)) SWIG_fail
;
20543 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20544 if (SWIG_arg_fail(4)) SWIG_fail
;
20549 arg5
= (int)(SWIG_As_int(obj4
));
20550 if (SWIG_arg_fail(5)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20569 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20572 wxDateTime::WeekDay arg2
;
20573 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20574 int arg4
= (int) wxDateTime::Inv_Year
;
20576 PyObject
* obj0
= 0 ;
20577 PyObject
* obj1
= 0 ;
20578 PyObject
* obj2
= 0 ;
20579 PyObject
* obj3
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20589 if (SWIG_arg_fail(2)) SWIG_fail
;
20593 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20594 if (SWIG_arg_fail(3)) SWIG_fail
;
20599 arg4
= (int)(SWIG_As_int(obj3
));
20600 if (SWIG_arg_fail(4)) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20619 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20622 wxDateTime::WeekDay arg2
;
20623 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20624 int arg4
= (int) wxDateTime::Inv_Year
;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 PyObject
* obj2
= 0 ;
20629 PyObject
* obj3
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20636 if (SWIG_arg_fail(1)) SWIG_fail
;
20638 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20639 if (SWIG_arg_fail(2)) SWIG_fail
;
20643 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20644 if (SWIG_arg_fail(3)) SWIG_fail
;
20649 arg4
= (int)(SWIG_As_int(obj3
));
20650 if (SWIG_arg_fail(4)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 wxDateTime
* resultptr
;
20662 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20671 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20675 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20676 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20678 PyObject
* obj0
= 0 ;
20679 PyObject
* obj1
= 0 ;
20680 PyObject
* obj2
= 0 ;
20681 PyObject
* obj3
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20688 if (SWIG_arg_fail(1)) SWIG_fail
;
20690 arg2
= (int)(SWIG_As_int(obj1
));
20691 if (SWIG_arg_fail(2)) SWIG_fail
;
20695 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20696 if (SWIG_arg_fail(3)) SWIG_fail
;
20701 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20702 if (SWIG_arg_fail(4)) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20721 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20725 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20726 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 PyObject
* obj2
= 0 ;
20731 PyObject
* obj3
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20738 if (SWIG_arg_fail(1)) SWIG_fail
;
20740 arg2
= (int)(SWIG_As_int(obj1
));
20741 if (SWIG_arg_fail(2)) SWIG_fail
;
20745 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20746 if (SWIG_arg_fail(3)) SWIG_fail
;
20751 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20752 if (SWIG_arg_fail(4)) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 wxDateTime
* resultptr
;
20764 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20773 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20777 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 PyObject
* obj2
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20788 arg1
= (int)(SWIG_As_int(obj0
));
20789 if (SWIG_arg_fail(1)) SWIG_fail
;
20792 arg2
= (int)(SWIG_As_int(obj1
));
20793 if (SWIG_arg_fail(2)) SWIG_fail
;
20797 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20798 if (SWIG_arg_fail(3)) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 wxDateTime
* resultptr
;
20810 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20819 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20822 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20823 int arg3
= (int) wxDateTime::Inv_Year
;
20824 wxDateTime
*result
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 PyObject
* obj2
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "month",(char *) "year", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20837 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20838 if (SWIG_arg_fail(2)) SWIG_fail
;
20843 arg3
= (int)(SWIG_As_int(obj2
));
20844 if (SWIG_arg_fail(3)) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20851 result
= (wxDateTime
*) &_result_ref
;
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20864 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20867 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20868 int arg3
= (int) wxDateTime::Inv_Year
;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 PyObject
* obj2
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "month",(char *) "year", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20879 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20883 if (SWIG_arg_fail(2)) SWIG_fail
;
20888 arg3
= (int)(SWIG_As_int(obj2
));
20889 if (SWIG_arg_fail(3)) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20900 wxDateTime
* resultptr
;
20901 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20910 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20914 wxDateTime
*result
;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self",(char *) "yday", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20923 if (SWIG_arg_fail(1)) SWIG_fail
;
20925 arg2
= (int)(SWIG_As_int(obj1
));
20926 if (SWIG_arg_fail(2)) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20932 result
= (wxDateTime
*) &_result_ref
;
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20945 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self",(char *) "yday", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20958 if (SWIG_arg_fail(1)) SWIG_fail
;
20960 arg2
= (int)(SWIG_As_int(obj1
));
20961 if (SWIG_arg_fail(2)) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (arg1
)->GetYearDay(arg2
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20971 wxDateTime
* resultptr
;
20972 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20981 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20992 if (SWIG_arg_fail(1)) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (double)(arg1
)->GetJulianDayNumber();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_From_double((double)(result
));
21009 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21020 if (SWIG_arg_fail(1)) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (double)(arg1
)->GetJDN();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_From_double((double)(result
));
21037 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21048 if (SWIG_arg_fail(1)) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_From_double((double)(result
));
21065 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21076 if (SWIG_arg_fail(1)) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (double)(arg1
)->GetMJD();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_From_double((double)(result
));
21093 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21097 PyObject
* obj0
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21104 if (SWIG_arg_fail(1)) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (double)(arg1
)->GetRataDie();
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_double((double)(result
));
21121 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21124 wxDateTime::TimeZone
*arg2
= 0 ;
21125 bool arg3
= (bool) false ;
21127 bool temp2
= false ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 PyObject
* obj2
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21137 if (SWIG_arg_fail(1)) SWIG_fail
;
21139 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21144 arg3
= (bool)(SWIG_As_bool(obj2
));
21145 if (SWIG_arg_fail(3)) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21156 wxDateTime
* resultptr
;
21157 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21161 if (temp2
) delete arg2
;
21166 if (temp2
) delete arg2
;
21172 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21175 wxDateTime::TimeZone
*arg2
= 0 ;
21176 bool arg3
= (bool) false ;
21177 wxDateTime
*result
;
21178 bool temp2
= false ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 PyObject
* obj2
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail
;
21190 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21195 arg3
= (bool)(SWIG_As_bool(obj2
));
21196 if (SWIG_arg_fail(3)) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21203 result
= (wxDateTime
*) &_result_ref
;
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21211 if (temp2
) delete arg2
;
21216 if (temp2
) delete arg2
;
21222 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21225 bool arg2
= (bool) false ;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self",(char *) "noDST", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21238 arg2
= (bool)(SWIG_As_bool(obj1
));
21239 if (SWIG_arg_fail(2)) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (arg1
)->ToGMT(arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 wxDateTime
* resultptr
;
21251 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21260 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21263 bool arg2
= (bool) false ;
21264 wxDateTime
*result
;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self",(char *) "noDST", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21276 arg2
= (bool)(SWIG_As_bool(obj1
));
21277 if (SWIG_arg_fail(2)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21284 result
= (wxDateTime
*) &_result_ref
;
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21297 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21300 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self",(char *) "country", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21310 if (SWIG_arg_fail(1)) SWIG_fail
;
21313 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21314 if (SWIG_arg_fail(2)) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_From_int((int)(result
));
21333 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21361 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21372 if (SWIG_arg_fail(1)) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21389 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21392 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21393 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21395 bool temp2
= false ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "tz", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21404 if (SWIG_arg_fail(1)) SWIG_fail
;
21407 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_From_int((int)(result
));
21422 if (temp2
) delete arg2
;
21427 if (temp2
) delete arg2
;
21433 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21436 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21437 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21438 wxDateTime::Month result
;
21439 bool temp2
= false ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "tz", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21448 if (SWIG_arg_fail(1)) SWIG_fail
;
21451 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_From_int((result
));
21464 if (temp2
) delete arg2
;
21469 if (temp2
) delete arg2
;
21475 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21478 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21479 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21481 bool temp2
= false ;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "tz", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21490 if (SWIG_arg_fail(1)) SWIG_fail
;
21493 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_From_int((int)(result
));
21508 if (temp2
) delete arg2
;
21513 if (temp2
) delete arg2
;
21519 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21522 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21523 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21524 wxDateTime::WeekDay result
;
21525 bool temp2
= false ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "tz", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21534 if (SWIG_arg_fail(1)) SWIG_fail
;
21537 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_From_int((result
));
21550 if (temp2
) delete arg2
;
21555 if (temp2
) delete arg2
;
21561 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21564 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21565 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21567 bool temp2
= false ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "tz", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21579 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_From_int((int)(result
));
21594 if (temp2
) delete arg2
;
21599 if (temp2
) delete arg2
;
21605 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21608 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21609 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21611 bool temp2
= false ;
21612 PyObject
* obj0
= 0 ;
21613 PyObject
* obj1
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self",(char *) "tz", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21620 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_From_int((int)(result
));
21638 if (temp2
) delete arg2
;
21643 if (temp2
) delete arg2
;
21649 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21652 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21653 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21655 bool temp2
= false ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self",(char *) "tz", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail
;
21667 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_From_int((int)(result
));
21682 if (temp2
) delete arg2
;
21687 if (temp2
) delete arg2
;
21693 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21696 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21697 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21699 bool temp2
= false ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char *kwnames
[] = {
21703 (char *) "self",(char *) "tz", NULL
21706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21708 if (SWIG_arg_fail(1)) SWIG_fail
;
21711 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_From_int((int)(result
));
21726 if (temp2
) delete arg2
;
21731 if (temp2
) delete arg2
;
21737 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21740 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21741 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21743 bool temp2
= false ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "tz", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21752 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= SWIG_From_int((int)(result
));
21770 if (temp2
) delete arg2
;
21775 if (temp2
) delete arg2
;
21781 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21784 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21785 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21786 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21788 bool temp3
= false ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 PyObject
* obj2
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "flags",(char *) "tz", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21798 if (SWIG_arg_fail(1)) SWIG_fail
;
21801 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21802 if (SWIG_arg_fail(2)) SWIG_fail
;
21807 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int((int)(result
));
21822 if (temp3
) delete arg3
;
21827 if (temp3
) delete arg3
;
21833 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21836 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21837 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21838 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21840 bool temp3
= false ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "flags",(char *) "tz", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail
;
21853 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21854 if (SWIG_arg_fail(2)) SWIG_fail
;
21859 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_From_int((int)(result
));
21874 if (temp3
) delete arg3
;
21879 if (temp3
) delete arg3
;
21885 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21888 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "country", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21898 if (SWIG_arg_fail(1)) SWIG_fail
;
21901 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21902 if (SWIG_arg_fail(2)) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21921 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21924 wxDateTime
*arg2
= 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "datetime", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21934 if (SWIG_arg_fail(1)) SWIG_fail
;
21936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21937 if (SWIG_arg_fail(2)) SWIG_fail
;
21938 if (arg2
== NULL
) {
21939 SWIG_null_ref("wxDateTime");
21941 if (SWIG_arg_fail(2)) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21959 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21962 wxDateTime
*arg2
= 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "datetime", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21972 if (SWIG_arg_fail(1)) SWIG_fail
;
21974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21975 if (SWIG_arg_fail(2)) SWIG_fail
;
21976 if (arg2
== NULL
) {
21977 SWIG_null_ref("wxDateTime");
21979 if (SWIG_arg_fail(2)) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21997 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22000 wxDateTime
*arg2
= 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "datetime", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22010 if (SWIG_arg_fail(1)) SWIG_fail
;
22012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22013 if (SWIG_arg_fail(2)) SWIG_fail
;
22014 if (arg2
== NULL
) {
22015 SWIG_null_ref("wxDateTime");
22017 if (SWIG_arg_fail(2)) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22035 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22038 wxDateTime
*arg2
= 0 ;
22039 wxDateTime
*arg3
= 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 char *kwnames
[] = {
22045 (char *) "self",(char *) "t1",(char *) "t2", NULL
22048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22050 if (SWIG_arg_fail(1)) SWIG_fail
;
22052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22053 if (SWIG_arg_fail(2)) SWIG_fail
;
22054 if (arg2
== NULL
) {
22055 SWIG_null_ref("wxDateTime");
22057 if (SWIG_arg_fail(2)) SWIG_fail
;
22060 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22061 if (SWIG_arg_fail(3)) SWIG_fail
;
22062 if (arg3
== NULL
) {
22063 SWIG_null_ref("wxDateTime");
22065 if (SWIG_arg_fail(3)) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22083 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22086 wxDateTime
*arg2
= 0 ;
22087 wxDateTime
*arg3
= 0 ;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 PyObject
* obj2
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self",(char *) "t1",(char *) "t2", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22098 if (SWIG_arg_fail(1)) SWIG_fail
;
22100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22101 if (SWIG_arg_fail(2)) SWIG_fail
;
22102 if (arg2
== NULL
) {
22103 SWIG_null_ref("wxDateTime");
22105 if (SWIG_arg_fail(2)) SWIG_fail
;
22108 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22109 if (SWIG_arg_fail(3)) SWIG_fail
;
22110 if (arg3
== NULL
) {
22111 SWIG_null_ref("wxDateTime");
22113 if (SWIG_arg_fail(3)) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22131 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
;
22133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22134 wxDateTime
*arg2
= 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self",(char *) "dt", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22147 if (SWIG_arg_fail(2)) SWIG_fail
;
22148 if (arg2
== NULL
) {
22149 SWIG_null_ref("wxDateTime");
22151 if (SWIG_arg_fail(2)) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22169 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22172 wxDateTime
*arg2
= 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "dt", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22182 if (SWIG_arg_fail(1)) SWIG_fail
;
22184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22185 if (SWIG_arg_fail(2)) SWIG_fail
;
22186 if (arg2
== NULL
) {
22187 SWIG_null_ref("wxDateTime");
22189 if (SWIG_arg_fail(2)) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22207 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22210 wxDateTime
*arg2
= 0 ;
22211 wxTimeSpan
*arg3
= 0 ;
22213 PyObject
* obj0
= 0 ;
22214 PyObject
* obj1
= 0 ;
22215 PyObject
* obj2
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self",(char *) "dt",(char *) "ts", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22222 if (SWIG_arg_fail(1)) SWIG_fail
;
22224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22225 if (SWIG_arg_fail(2)) SWIG_fail
;
22226 if (arg2
== NULL
) {
22227 SWIG_null_ref("wxDateTime");
22229 if (SWIG_arg_fail(2)) SWIG_fail
;
22232 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22233 if (SWIG_arg_fail(3)) SWIG_fail
;
22234 if (arg3
== NULL
) {
22235 SWIG_null_ref("wxTimeSpan");
22237 if (SWIG_arg_fail(3)) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22255 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22258 wxTimeSpan
*arg2
= 0 ;
22259 wxDateTime
*result
;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self",(char *) "diff", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(2)) SWIG_fail
;
22272 if (arg2
== NULL
) {
22273 SWIG_null_ref("wxTimeSpan");
22275 if (SWIG_arg_fail(2)) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22281 result
= (wxDateTime
*) &_result_ref
;
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22294 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22297 wxDateSpan
*arg2
= 0 ;
22298 wxDateTime
*result
;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "diff", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22307 if (SWIG_arg_fail(1)) SWIG_fail
;
22309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22310 if (SWIG_arg_fail(2)) SWIG_fail
;
22311 if (arg2
== NULL
) {
22312 SWIG_null_ref("wxDateSpan");
22314 if (SWIG_arg_fail(2)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22320 result
= (wxDateTime
*) &_result_ref
;
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22333 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
;
22335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22336 wxTimeSpan
*arg2
= 0 ;
22337 wxDateTime
*result
;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self",(char *) "diff", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail
;
22348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22349 if (SWIG_arg_fail(2)) SWIG_fail
;
22350 if (arg2
== NULL
) {
22351 SWIG_null_ref("wxTimeSpan");
22353 if (SWIG_arg_fail(2)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22359 result
= (wxDateTime
*) &_result_ref
;
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22372 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22375 wxDateSpan
*arg2
= 0 ;
22376 wxDateTime
*result
;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "diff", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22388 if (SWIG_arg_fail(2)) SWIG_fail
;
22389 if (arg2
== NULL
) {
22390 SWIG_null_ref("wxDateSpan");
22392 if (SWIG_arg_fail(2)) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22398 result
= (wxDateTime
*) &_result_ref
;
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22411 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22414 wxDateTime
*arg2
= 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self",(char *) "dt", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22427 if (SWIG_arg_fail(2)) SWIG_fail
;
22428 if (arg2
== NULL
) {
22429 SWIG_null_ref("wxDateTime");
22431 if (SWIG_arg_fail(2)) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 wxTimeSpan
* resultptr
;
22442 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22451 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22452 PyObject
*resultobj
;
22453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22454 wxTimeSpan
*arg2
= 0 ;
22455 wxDateTime
*result
;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22459 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22461 if (SWIG_arg_fail(1)) SWIG_fail
;
22463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22464 if (SWIG_arg_fail(2)) SWIG_fail
;
22465 if (arg2
== NULL
) {
22466 SWIG_null_ref("wxTimeSpan");
22468 if (SWIG_arg_fail(2)) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22474 result
= (wxDateTime
*) &_result_ref
;
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22487 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22488 PyObject
*resultobj
;
22489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22490 wxDateSpan
*arg2
= 0 ;
22491 wxDateTime
*result
;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22495 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22497 if (SWIG_arg_fail(1)) SWIG_fail
;
22499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(2)) SWIG_fail
;
22501 if (arg2
== NULL
) {
22502 SWIG_null_ref("wxDateSpan");
22504 if (SWIG_arg_fail(2)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22510 result
= (wxDateTime
*) &_result_ref
;
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22523 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22528 argc
= PyObject_Length(args
);
22529 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22530 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22536 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22546 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22554 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22572 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22580 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22585 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22590 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22591 PyObject
*resultobj
;
22592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22593 wxTimeSpan
*arg2
= 0 ;
22594 wxDateTime
*result
;
22595 PyObject
* obj0
= 0 ;
22596 PyObject
* obj1
= 0 ;
22598 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22600 if (SWIG_arg_fail(1)) SWIG_fail
;
22602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22603 if (SWIG_arg_fail(2)) SWIG_fail
;
22604 if (arg2
== NULL
) {
22605 SWIG_null_ref("wxTimeSpan");
22607 if (SWIG_arg_fail(2)) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22613 result
= (wxDateTime
*) &_result_ref
;
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22626 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22627 PyObject
*resultobj
;
22628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22629 wxDateSpan
*arg2
= 0 ;
22630 wxDateTime
*result
;
22631 PyObject
* obj0
= 0 ;
22632 PyObject
* obj1
= 0 ;
22634 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22636 if (SWIG_arg_fail(1)) SWIG_fail
;
22638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22639 if (SWIG_arg_fail(2)) SWIG_fail
;
22640 if (arg2
== NULL
) {
22641 SWIG_null_ref("wxDateSpan");
22643 if (SWIG_arg_fail(2)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22649 result
= (wxDateTime
*) &_result_ref
;
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22662 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22667 argc
= PyObject_Length(args
);
22668 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22669 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22675 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22685 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22693 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22701 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22711 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22719 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22724 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22729 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22730 PyObject
*resultobj
;
22731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22732 wxTimeSpan
*arg2
= 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22737 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22739 if (SWIG_arg_fail(1)) SWIG_fail
;
22741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22742 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 if (arg2
== NULL
) {
22744 SWIG_null_ref("wxTimeSpan");
22746 if (SWIG_arg_fail(2)) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22756 wxDateTime
* resultptr
;
22757 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22766 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22767 PyObject
*resultobj
;
22768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22769 wxDateSpan
*arg2
= 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22774 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail
;
22778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22779 if (SWIG_arg_fail(2)) SWIG_fail
;
22780 if (arg2
== NULL
) {
22781 SWIG_null_ref("wxDateSpan");
22783 if (SWIG_arg_fail(2)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 wxDateTime
* resultptr
;
22794 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22803 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22808 argc
= PyObject_Length(args
);
22809 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22810 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22826 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22834 return _wrap_DateTime___add____SWIG_0(self
,args
);
22842 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22852 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22860 return _wrap_DateTime___add____SWIG_1(self
,args
);
22865 Py_INCREF(Py_NotImplemented
);
22866 return Py_NotImplemented
;
22870 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22871 PyObject
*resultobj
;
22872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22873 wxDateTime
*arg2
= 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22878 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22883 if (SWIG_arg_fail(2)) SWIG_fail
;
22884 if (arg2
== NULL
) {
22885 SWIG_null_ref("wxDateTime");
22887 if (SWIG_arg_fail(2)) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22897 wxTimeSpan
* resultptr
;
22898 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22907 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22908 PyObject
*resultobj
;
22909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22910 wxTimeSpan
*arg2
= 0 ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22915 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(2)) SWIG_fail
;
22921 if (arg2
== NULL
) {
22922 SWIG_null_ref("wxTimeSpan");
22924 if (SWIG_arg_fail(2)) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22934 wxDateTime
* resultptr
;
22935 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22944 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22945 PyObject
*resultobj
;
22946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22947 wxDateSpan
*arg2
= 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22952 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail
;
22956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22957 if (SWIG_arg_fail(2)) SWIG_fail
;
22958 if (arg2
== NULL
) {
22959 SWIG_null_ref("wxDateSpan");
22961 if (SWIG_arg_fail(2)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22971 wxDateTime
* resultptr
;
22972 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22981 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22986 argc
= PyObject_Length(args
);
22987 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22988 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22994 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23004 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23012 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23020 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23030 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23038 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23046 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23056 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23064 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23069 Py_INCREF(Py_NotImplemented
);
23070 return Py_NotImplemented
;
23074 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23077 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self",(char *) "other", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23089 if (SWIG_arg_fail(2)) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23106 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23109 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self",(char *) "other", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail
;
23120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(2)) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23138 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23141 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "other", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail
;
23152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23153 if (SWIG_arg_fail(2)) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23170 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23173 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self",(char *) "other", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23183 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23185 if (SWIG_arg_fail(2)) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23202 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23205 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "other", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(2)) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23234 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23237 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self",(char *) "other", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23247 if (SWIG_arg_fail(1)) SWIG_fail
;
23248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(2)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23269 wxString
*arg2
= 0 ;
23271 bool temp2
= false ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "date", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23282 arg2
= wxString_in_helper(obj1
);
23283 if (arg2
== NULL
) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= SWIG_From_int((int)(result
));
23310 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23313 wxString
*arg2
= 0 ;
23314 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23316 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23317 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23319 bool temp2
= false ;
23320 bool temp3
= false ;
23321 PyObject
* obj0
= 0 ;
23322 PyObject
* obj1
= 0 ;
23323 PyObject
* obj2
= 0 ;
23324 PyObject
* obj3
= 0 ;
23325 char *kwnames
[] = {
23326 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23331 if (SWIG_arg_fail(1)) SWIG_fail
;
23333 arg2
= wxString_in_helper(obj1
);
23334 if (arg2
== NULL
) SWIG_fail
;
23339 arg3
= wxString_in_helper(obj2
);
23340 if (arg3
== NULL
) SWIG_fail
;
23346 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23347 if (SWIG_arg_fail(4)) SWIG_fail
;
23348 if (arg4
== NULL
) {
23349 SWIG_null_ref("wxDateTime");
23351 if (SWIG_arg_fail(4)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= SWIG_From_int((int)(result
));
23386 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23389 wxString
*arg2
= 0 ;
23391 bool temp2
= false ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "datetime", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 arg2
= wxString_in_helper(obj1
);
23403 if (arg2
== NULL
) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_From_int((int)(result
));
23430 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23433 wxString
*arg2
= 0 ;
23435 bool temp2
= false ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "date", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail
;
23446 arg2
= wxString_in_helper(obj1
);
23447 if (arg2
== NULL
) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_From_int((int)(result
));
23474 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23477 wxString
*arg2
= 0 ;
23479 bool temp2
= false ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "time", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail
;
23490 arg2
= wxString_in_helper(obj1
);
23491 if (arg2
== NULL
) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_From_int((int)(result
));
23518 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23521 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23522 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23523 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23524 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23526 bool temp2
= false ;
23527 bool temp3
= false ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 PyObject
* obj2
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "format",(char *) "tz", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23537 if (SWIG_arg_fail(1)) SWIG_fail
;
23540 arg2
= wxString_in_helper(obj1
);
23541 if (arg2
== NULL
) SWIG_fail
;
23547 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23570 if (temp3
) delete arg3
;
23579 if (temp3
) delete arg3
;
23585 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23596 if (SWIG_arg_fail(1)) SWIG_fail
;
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23617 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23628 if (SWIG_arg_fail(1)) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23649 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23660 if (SWIG_arg_fail(1)) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23681 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23713 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23716 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23718 return Py_BuildValue((char *)"");
23720 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23724 PyObject
* obj0
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "sec", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23731 arg1
= (long)(SWIG_As_long(obj0
));
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= wxTimeSpan::Seconds(arg1
);
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 wxTimeSpan
* resultptr
;
23743 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23752 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23755 char *kwnames
[] = {
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= wxTimeSpan::Second();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 wxTimeSpan
* resultptr
;
23769 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23778 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "min", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23789 arg1
= (long)(SWIG_As_long(obj0
));
23790 if (SWIG_arg_fail(1)) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= wxTimeSpan::Minutes(arg1
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 wxTimeSpan
* resultptr
;
23801 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23810 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23813 char *kwnames
[] = {
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 result
= wxTimeSpan::Minute();
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23826 wxTimeSpan
* resultptr
;
23827 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23836 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "hours", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23847 arg1
= (long)(SWIG_As_long(obj0
));
23848 if (SWIG_arg_fail(1)) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= wxTimeSpan::Hours(arg1
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23858 wxTimeSpan
* resultptr
;
23859 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23868 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23871 char *kwnames
[] = {
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= wxTimeSpan::Hour();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 wxTimeSpan
* resultptr
;
23885 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23894 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "days", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23905 arg1
= (long)(SWIG_As_long(obj0
));
23906 if (SWIG_arg_fail(1)) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= wxTimeSpan::Days(arg1
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 wxTimeSpan
* resultptr
;
23917 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23926 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23929 char *kwnames
[] = {
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= wxTimeSpan::Day();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 wxTimeSpan
* resultptr
;
23943 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23952 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "days", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23963 arg1
= (long)(SWIG_As_long(obj0
));
23964 if (SWIG_arg_fail(1)) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= wxTimeSpan::Weeks(arg1
);
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23974 wxTimeSpan
* resultptr
;
23975 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23984 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23987 char *kwnames
[] = {
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= wxTimeSpan::Week();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 wxTimeSpan
* resultptr
;
24001 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24010 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 long arg1
= (long) 0 ;
24013 long arg2
= (long) 0 ;
24014 long arg3
= (long) 0 ;
24015 long arg4
= (long) 0 ;
24016 wxTimeSpan
*result
;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 PyObject
* obj2
= 0 ;
24020 PyObject
* obj3
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24028 arg1
= (long)(SWIG_As_long(obj0
));
24029 if (SWIG_arg_fail(1)) SWIG_fail
;
24034 arg2
= (long)(SWIG_As_long(obj1
));
24035 if (SWIG_arg_fail(2)) SWIG_fail
;
24040 arg3
= (long)(SWIG_As_long(obj2
));
24041 if (SWIG_arg_fail(3)) SWIG_fail
;
24046 arg4
= (long)(SWIG_As_long(obj3
));
24047 if (SWIG_arg_fail(4)) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24064 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24092 wxTimeSpan
*arg2
= 0 ;
24093 wxTimeSpan
*result
;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "diff", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(2)) SWIG_fail
;
24106 if (arg2
== NULL
) {
24107 SWIG_null_ref("wxTimeSpan");
24109 if (SWIG_arg_fail(2)) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24115 result
= (wxTimeSpan
*) &_result_ref
;
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24128 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24131 wxTimeSpan
*arg2
= 0 ;
24132 wxTimeSpan
*result
;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "diff", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail
;
24143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24144 if (SWIG_arg_fail(2)) SWIG_fail
;
24145 if (arg2
== NULL
) {
24146 SWIG_null_ref("wxTimeSpan");
24148 if (SWIG_arg_fail(2)) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24154 result
= (wxTimeSpan
*) &_result_ref
;
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24167 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24171 wxTimeSpan
*result
;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self",(char *) "n", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail
;
24182 arg2
= (int)(SWIG_As_int(obj1
));
24183 if (SWIG_arg_fail(2)) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24189 result
= (wxTimeSpan
*) &_result_ref
;
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24202 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24205 wxTimeSpan
*result
;
24206 PyObject
* obj0
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24213 if (SWIG_arg_fail(1)) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24218 result
= (wxTimeSpan
*) &_result_ref
;
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24231 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24235 PyObject
* obj0
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24242 if (SWIG_arg_fail(1)) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 wxTimeSpan
* resultptr
;
24252 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24261 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24264 wxTimeSpan
*arg2
= 0 ;
24265 wxTimeSpan
*result
;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "diff", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24274 if (SWIG_arg_fail(1)) SWIG_fail
;
24276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24277 if (SWIG_arg_fail(2)) SWIG_fail
;
24278 if (arg2
== NULL
) {
24279 SWIG_null_ref("wxTimeSpan");
24281 if (SWIG_arg_fail(2)) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24287 result
= (wxTimeSpan
*) &_result_ref
;
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24300 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24303 wxTimeSpan
*arg2
= 0 ;
24304 wxTimeSpan
*result
;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "diff", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24313 if (SWIG_arg_fail(1)) SWIG_fail
;
24315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24316 if (SWIG_arg_fail(2)) SWIG_fail
;
24317 if (arg2
== NULL
) {
24318 SWIG_null_ref("wxTimeSpan");
24320 if (SWIG_arg_fail(2)) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24326 result
= (wxTimeSpan
*) &_result_ref
;
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24339 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24343 wxTimeSpan
*result
;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self",(char *) "n", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24352 if (SWIG_arg_fail(1)) SWIG_fail
;
24354 arg2
= (int)(SWIG_As_int(obj1
));
24355 if (SWIG_arg_fail(2)) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24361 result
= (wxTimeSpan
*) &_result_ref
;
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24374 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24377 wxTimeSpan
*result
;
24378 PyObject
* obj0
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24385 if (SWIG_arg_fail(1)) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24390 result
= (wxTimeSpan
*) &_result_ref
;
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24403 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24406 wxTimeSpan
*arg2
= 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "other", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24416 if (SWIG_arg_fail(1)) SWIG_fail
;
24418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24419 if (SWIG_arg_fail(2)) SWIG_fail
;
24420 if (arg2
== NULL
) {
24421 SWIG_null_ref("wxTimeSpan");
24423 if (SWIG_arg_fail(2)) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 wxTimeSpan
* resultptr
;
24434 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24443 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24446 wxTimeSpan
*arg2
= 0 ;
24448 PyObject
* obj0
= 0 ;
24449 PyObject
* obj1
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "other", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24456 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24460 if (arg2
== NULL
) {
24461 SWIG_null_ref("wxTimeSpan");
24463 if (SWIG_arg_fail(2)) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24473 wxTimeSpan
* resultptr
;
24474 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24483 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "n", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 arg2
= (int)(SWIG_As_int(obj1
));
24499 if (SWIG_arg_fail(2)) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= wxTimeSpan___mul__(arg1
,arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 wxTimeSpan
* resultptr
;
24510 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24519 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24521 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24524 PyObject
* obj0
= 0 ;
24525 PyObject
* obj1
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self",(char *) "n", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24532 if (SWIG_arg_fail(1)) SWIG_fail
;
24534 arg2
= (int)(SWIG_As_int(obj1
));
24535 if (SWIG_arg_fail(2)) SWIG_fail
;
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24545 wxTimeSpan
* resultptr
;
24546 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24555 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24558 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "other", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24568 if (SWIG_arg_fail(1)) SWIG_fail
;
24569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(2)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24590 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "other", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(2)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24619 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24622 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "other", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24632 if (SWIG_arg_fail(1)) SWIG_fail
;
24633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24634 if (SWIG_arg_fail(2)) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24651 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24654 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "other", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24664 if (SWIG_arg_fail(1)) SWIG_fail
;
24665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24666 if (SWIG_arg_fail(2)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24686 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "other", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail
;
24697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(2)) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24718 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "other", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24730 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24751 PyObject
* obj0
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24775 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24834 wxTimeSpan
*arg2
= 0 ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "ts", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24848 if (arg2
== NULL
) {
24849 SWIG_null_ref("wxTimeSpan");
24851 if (SWIG_arg_fail(2)) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24869 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24872 wxTimeSpan
*arg2
= 0 ;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self",(char *) "ts", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail
;
24884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24885 if (SWIG_arg_fail(2)) SWIG_fail
;
24886 if (arg2
== NULL
) {
24887 SWIG_null_ref("wxTimeSpan");
24889 if (SWIG_arg_fail(2)) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24907 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24910 wxTimeSpan
*arg2
= 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self",(char *) "t", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24920 if (SWIG_arg_fail(1)) SWIG_fail
;
24922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24923 if (SWIG_arg_fail(2)) SWIG_fail
;
24924 if (arg2
== NULL
) {
24925 SWIG_null_ref("wxTimeSpan");
24927 if (SWIG_arg_fail(2)) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24945 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= SWIG_From_int((int)(result
));
24973 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24977 PyObject
* obj0
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24984 if (SWIG_arg_fail(1)) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_From_int((int)(result
));
25001 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_From_int((int)(result
));
25029 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_From_int((int)(result
));
25057 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25077 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25078 hi
= PyLong_FromLong( (&result
)->GetHi() );
25079 lo
= PyLong_FromLong( (&result
)->GetLo() );
25080 shifter
= PyLong_FromLong(32);
25081 shifted
= PyNumber_Lshift(hi
, shifter
);
25082 resultobj
= PyNumber_Or(shifted
, lo
);
25085 Py_DECREF(shifter
);
25086 Py_DECREF(shifted
);
25094 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25105 if (SWIG_arg_fail(1)) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25114 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25115 hi
= PyLong_FromLong( (&result
)->GetHi() );
25116 lo
= PyLong_FromLong( (&result
)->GetLo() );
25117 shifter
= PyLong_FromLong(32);
25118 shifted
= PyNumber_Lshift(hi
, shifter
);
25119 resultobj
= PyNumber_Or(shifted
, lo
);
25122 Py_DECREF(shifter
);
25123 Py_DECREF(shifted
);
25131 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25134 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25135 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25137 bool temp2
= false ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "format", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25146 if (SWIG_arg_fail(1)) SWIG_fail
;
25149 arg2
= wxString_in_helper(obj1
);
25150 if (arg2
== NULL
) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25182 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25185 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25187 return Py_BuildValue((char *)"");
25189 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 int arg1
= (int) 0 ;
25192 int arg2
= (int) 0 ;
25193 int arg3
= (int) 0 ;
25194 int arg4
= (int) 0 ;
25195 wxDateSpan
*result
;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 PyObject
* obj2
= 0 ;
25199 PyObject
* obj3
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25207 arg1
= (int)(SWIG_As_int(obj0
));
25208 if (SWIG_arg_fail(1)) SWIG_fail
;
25213 arg2
= (int)(SWIG_As_int(obj1
));
25214 if (SWIG_arg_fail(2)) SWIG_fail
;
25219 arg3
= (int)(SWIG_As_int(obj2
));
25220 if (SWIG_arg_fail(3)) SWIG_fail
;
25225 arg4
= (int)(SWIG_As_int(obj3
));
25226 if (SWIG_arg_fail(4)) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25243 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25246 PyObject
* obj0
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25253 if (SWIG_arg_fail(1)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 Py_INCREF(Py_None
); resultobj
= Py_None
;
25268 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25272 PyObject
* obj0
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "days", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25279 arg1
= (int)(SWIG_As_int(obj0
));
25280 if (SWIG_arg_fail(1)) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= wxDateSpan::Days(arg1
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25290 wxDateSpan
* resultptr
;
25291 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25300 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25303 char *kwnames
[] = {
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 result
= wxDateSpan::Day();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25316 wxDateSpan
* resultptr
;
25317 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25326 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
;
25330 PyObject
* obj0
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "weeks", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25337 arg1
= (int)(SWIG_As_int(obj0
));
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= wxDateSpan::Weeks(arg1
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25348 wxDateSpan
* resultptr
;
25349 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25358 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25361 char *kwnames
[] = {
25365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= wxDateSpan::Week();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25374 wxDateSpan
* resultptr
;
25375 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25384 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25388 PyObject
* obj0
= 0 ;
25389 char *kwnames
[] = {
25390 (char *) "mon", NULL
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25395 arg1
= (int)(SWIG_As_int(obj0
));
25396 if (SWIG_arg_fail(1)) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= wxDateSpan::Months(arg1
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25406 wxDateSpan
* resultptr
;
25407 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25416 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25419 char *kwnames
[] = {
25423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= wxDateSpan::Month();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25432 wxDateSpan
* resultptr
;
25433 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25442 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25446 PyObject
* obj0
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "years", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25453 arg1
= (int)(SWIG_As_int(obj0
));
25454 if (SWIG_arg_fail(1)) SWIG_fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= wxDateSpan::Years(arg1
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25464 wxDateSpan
* resultptr
;
25465 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25474 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25477 char *kwnames
[] = {
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 result
= wxDateSpan::Year();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25490 wxDateSpan
* resultptr
;
25491 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25500 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25504 wxDateSpan
*result
;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "n", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail
;
25515 arg2
= (int)(SWIG_As_int(obj1
));
25516 if (SWIG_arg_fail(2)) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25522 result
= (wxDateSpan
*) &_result_ref
;
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25535 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25539 wxDateSpan
*result
;
25540 PyObject
* obj0
= 0 ;
25541 PyObject
* obj1
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "self",(char *) "n", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25548 if (SWIG_arg_fail(1)) SWIG_fail
;
25550 arg2
= (int)(SWIG_As_int(obj1
));
25551 if (SWIG_arg_fail(2)) SWIG_fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25557 result
= (wxDateSpan
*) &_result_ref
;
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25570 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25574 wxDateSpan
*result
;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self",(char *) "n", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25583 if (SWIG_arg_fail(1)) SWIG_fail
;
25585 arg2
= (int)(SWIG_As_int(obj1
));
25586 if (SWIG_arg_fail(2)) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25592 result
= (wxDateSpan
*) &_result_ref
;
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25605 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
;
25607 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25609 wxDateSpan
*result
;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self",(char *) "n", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25618 if (SWIG_arg_fail(1)) SWIG_fail
;
25620 arg2
= (int)(SWIG_As_int(obj1
));
25621 if (SWIG_arg_fail(2)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25627 result
= (wxDateSpan
*) &_result_ref
;
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25640 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25642 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25651 if (SWIG_arg_fail(1)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_From_int((int)(result
));
25668 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_int((int)(result
));
25696 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25700 PyObject
* obj0
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25707 if (SWIG_arg_fail(1)) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_From_int((int)(result
));
25724 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25735 if (SWIG_arg_fail(1)) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_From_int((int)(result
));
25752 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_From_int((int)(result
));
25780 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25783 wxDateSpan
*arg2
= 0 ;
25784 wxDateSpan
*result
;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self",(char *) "other", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail
;
25795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25796 if (SWIG_arg_fail(2)) SWIG_fail
;
25797 if (arg2
== NULL
) {
25798 SWIG_null_ref("wxDateSpan");
25800 if (SWIG_arg_fail(2)) SWIG_fail
;
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25806 result
= (wxDateSpan
*) &_result_ref
;
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25819 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25821 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25822 wxDateSpan
*arg2
= 0 ;
25823 wxDateSpan
*result
;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self",(char *) "other", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25835 if (SWIG_arg_fail(2)) SWIG_fail
;
25836 if (arg2
== NULL
) {
25837 SWIG_null_ref("wxDateSpan");
25839 if (SWIG_arg_fail(2)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25845 result
= (wxDateSpan
*) &_result_ref
;
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25858 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25861 wxDateSpan
*result
;
25862 PyObject
* obj0
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25874 result
= (wxDateSpan
*) &_result_ref
;
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25887 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25891 wxDateSpan
*result
;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "factor", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(1)) SWIG_fail
;
25902 arg2
= (int)(SWIG_As_int(obj1
));
25903 if (SWIG_arg_fail(2)) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25909 result
= (wxDateSpan
*) &_result_ref
;
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25922 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25925 wxDateSpan
*arg2
= 0 ;
25926 wxDateSpan
*result
;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "other", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25935 if (SWIG_arg_fail(1)) SWIG_fail
;
25937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(2)) SWIG_fail
;
25939 if (arg2
== NULL
) {
25940 SWIG_null_ref("wxDateSpan");
25942 if (SWIG_arg_fail(2)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25948 result
= (wxDateSpan
*) &_result_ref
;
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25961 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25964 wxDateSpan
*arg2
= 0 ;
25965 wxDateSpan
*result
;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "other", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25974 if (SWIG_arg_fail(1)) SWIG_fail
;
25976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25977 if (SWIG_arg_fail(2)) SWIG_fail
;
25978 if (arg2
== NULL
) {
25979 SWIG_null_ref("wxDateSpan");
25981 if (SWIG_arg_fail(2)) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25987 result
= (wxDateSpan
*) &_result_ref
;
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26000 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26003 wxDateSpan
*result
;
26004 PyObject
* obj0
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26016 result
= (wxDateSpan
*) &_result_ref
;
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26029 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26033 wxDateSpan
*result
;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "factor", NULL
26040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26042 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 arg2
= (int)(SWIG_As_int(obj1
));
26045 if (SWIG_arg_fail(2)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26051 result
= (wxDateSpan
*) &_result_ref
;
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26064 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26067 wxDateSpan
*arg2
= 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self",(char *) "other", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26077 if (SWIG_arg_fail(1)) SWIG_fail
;
26079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26080 if (SWIG_arg_fail(2)) SWIG_fail
;
26081 if (arg2
== NULL
) {
26082 SWIG_null_ref("wxDateSpan");
26084 if (SWIG_arg_fail(2)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26094 wxDateSpan
* resultptr
;
26095 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26104 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26107 wxDateSpan
*arg2
= 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "other", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26117 if (SWIG_arg_fail(1)) SWIG_fail
;
26119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(2)) SWIG_fail
;
26121 if (arg2
== NULL
) {
26122 SWIG_null_ref("wxDateSpan");
26124 if (SWIG_arg_fail(2)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 wxDateSpan
* resultptr
;
26135 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26144 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "n", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26157 if (SWIG_arg_fail(1)) SWIG_fail
;
26159 arg2
= (int)(SWIG_As_int(obj1
));
26160 if (SWIG_arg_fail(2)) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= wxDateSpan___mul__(arg1
,arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 wxDateSpan
* resultptr
;
26171 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26180 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self",(char *) "n", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26193 if (SWIG_arg_fail(1)) SWIG_fail
;
26195 arg2
= (int)(SWIG_As_int(obj1
));
26196 if (SWIG_arg_fail(2)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= wxDateSpan___rmul__(arg1
,arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26206 wxDateSpan
* resultptr
;
26207 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26216 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26219 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self",(char *) "other", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26231 if (SWIG_arg_fail(2)) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26248 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26251 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "other", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26261 if (SWIG_arg_fail(1)) SWIG_fail
;
26262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26263 if (SWIG_arg_fail(2)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26280 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26283 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26285 return Py_BuildValue((char *)"");
26287 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
;
26290 char *kwnames
[] = {
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= (long)wxGetLocalTime();
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= SWIG_From_long((long)(result
));
26311 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26314 char *kwnames
[] = {
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= (long)wxGetUTCTime();
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_From_long((long)(result
));
26335 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26338 char *kwnames
[] = {
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (long)wxGetCurrentTime();
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_From_long((long)(result
));
26359 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
;
26362 char *kwnames
[] = {
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= wxGetLocalTimeMillis();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26376 hi
= PyLong_FromLong( (&result
)->GetHi() );
26377 lo
= PyLong_FromLong( (&result
)->GetLo() );
26378 shifter
= PyLong_FromLong(32);
26379 shifted
= PyNumber_Lshift(hi
, shifter
);
26380 resultobj
= PyNumber_Or(shifted
, lo
);
26383 Py_DECREF(shifter
);
26384 Py_DECREF(shifted
);
26392 static int _wrap_DefaultDateTime_set(PyObject
*) {
26393 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26398 static PyObject
*_wrap_DefaultDateTime_get(void) {
26401 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26406 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
;
26408 wxDataFormatId arg1
;
26409 wxDataFormat
*result
;
26410 PyObject
* obj0
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "type", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26417 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26418 if (SWIG_arg_fail(1)) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26434 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxString
*arg1
= 0 ;
26437 wxDataFormat
*result
;
26438 bool temp1
= false ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "format", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26446 arg1
= wxString_in_helper(obj0
);
26447 if (arg1
== NULL
) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26472 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26482 if (SWIG_arg_fail(1)) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 Py_INCREF(Py_None
); resultobj
= Py_None
;
26497 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26498 PyObject
*resultobj
;
26499 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26500 wxDataFormatId arg2
;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26505 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26507 if (SWIG_arg_fail(1)) SWIG_fail
;
26509 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26510 if (SWIG_arg_fail(2)) SWIG_fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26528 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26529 PyObject
*resultobj
;
26530 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26531 wxDataFormatId arg2
;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26536 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail
;
26540 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26541 if (SWIG_arg_fail(2)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26559 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26560 PyObject
*resultobj
;
26561 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26562 wxDataFormat
*arg2
= 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26567 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26569 if (SWIG_arg_fail(1)) SWIG_fail
;
26571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26572 if (SWIG_arg_fail(2)) SWIG_fail
;
26573 if (arg2
== NULL
) {
26574 SWIG_null_ref("wxDataFormat");
26576 if (SWIG_arg_fail(2)) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26594 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26599 argc
= PyObject_Length(args
);
26600 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26601 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26607 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26617 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26625 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26633 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26641 _v
= SWIG_Check_int(argv
[1]);
26643 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26648 Py_INCREF(Py_NotImplemented
);
26649 return Py_NotImplemented
;
26653 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26654 PyObject
*resultobj
;
26655 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26656 wxDataFormat
*arg2
= 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26661 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26663 if (SWIG_arg_fail(1)) SWIG_fail
;
26665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(2)) SWIG_fail
;
26667 if (arg2
== NULL
) {
26668 SWIG_null_ref("wxDataFormat");
26670 if (SWIG_arg_fail(2)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26693 argc
= PyObject_Length(args
);
26694 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26695 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26701 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26711 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26719 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26727 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26735 _v
= SWIG_Check_int(argv
[1]);
26737 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26742 Py_INCREF(Py_NotImplemented
);
26743 return Py_NotImplemented
;
26747 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
;
26749 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26750 wxDataFormatId arg2
;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "self",(char *) "format", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26759 if (SWIG_arg_fail(1)) SWIG_fail
;
26761 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26762 if (SWIG_arg_fail(2)) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 (arg1
)->SetType((wxDataFormatId
)arg2
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 Py_INCREF(Py_None
); resultobj
= Py_None
;
26778 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26781 wxDataFormatId result
;
26782 PyObject
* obj0
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26789 if (SWIG_arg_fail(1)) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_From_int((result
));
26804 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= ((wxDataFormat
const *)arg1
)->GetId();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26836 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26839 wxString
*arg2
= 0 ;
26840 bool temp2
= false ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self",(char *) "format", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26849 if (SWIG_arg_fail(1)) SWIG_fail
;
26851 arg2
= wxString_in_helper(obj1
);
26852 if (arg2
== NULL
) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->SetId((wxString
const &)*arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26880 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26882 return Py_BuildValue((char *)"");
26884 static int _wrap_FormatInvalid_set(PyObject
*) {
26885 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26890 static PyObject
*_wrap_FormatInvalid_get(void) {
26893 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26898 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26908 if (SWIG_arg_fail(1)) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 Py_INCREF(Py_None
); resultobj
= Py_None
;
26923 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26926 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26927 SwigValueWrapper
<wxDataFormat
> result
;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self",(char *) "dir", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26936 if (SWIG_arg_fail(1)) SWIG_fail
;
26939 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26940 if (SWIG_arg_fail(2)) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 wxDataFormat
* resultptr
;
26952 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26961 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
;
26963 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26964 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26966 PyObject
* obj0
= 0 ;
26967 PyObject
* obj1
= 0 ;
26968 char *kwnames
[] = {
26969 (char *) "self",(char *) "dir", NULL
26972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26974 if (SWIG_arg_fail(1)) SWIG_fail
;
26977 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26978 if (SWIG_arg_fail(2)) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26997 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
;
26999 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27000 wxDataFormat
*arg2
= 0 ;
27001 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27003 PyObject
* obj0
= 0 ;
27004 PyObject
* obj1
= 0 ;
27005 PyObject
* obj2
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self",(char *) "format",(char *) "dir", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail
;
27014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27015 if (SWIG_arg_fail(2)) SWIG_fail
;
27016 if (arg2
== NULL
) {
27017 SWIG_null_ref("wxDataFormat");
27019 if (SWIG_arg_fail(2)) SWIG_fail
;
27023 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27024 if (SWIG_arg_fail(3)) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27043 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27046 wxDataFormat
*arg2
= 0 ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self",(char *) "format", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27056 if (SWIG_arg_fail(1)) SWIG_fail
;
27058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27059 if (SWIG_arg_fail(2)) SWIG_fail
;
27060 if (arg2
== NULL
) {
27061 SWIG_null_ref("wxDataFormat");
27063 if (SWIG_arg_fail(2)) SWIG_fail
;
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27081 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
;
27083 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27084 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "dir", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27098 if (SWIG_arg_fail(2)) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= result
;
27115 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27118 wxDataFormat
*arg2
= 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self",(char *) "format", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27131 if (SWIG_arg_fail(2)) SWIG_fail
;
27132 if (arg2
== NULL
) {
27133 SWIG_null_ref("wxDataFormat");
27135 if (SWIG_arg_fail(2)) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
;
27151 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27154 wxDataFormat
*arg2
= 0 ;
27155 PyObject
*arg3
= (PyObject
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 PyObject
* obj2
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "format",(char *) "data", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail
;
27168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27169 if (SWIG_arg_fail(2)) SWIG_fail
;
27170 if (arg2
== NULL
) {
27171 SWIG_null_ref("wxDataFormat");
27173 if (SWIG_arg_fail(2)) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27192 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27195 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27197 return Py_BuildValue((char *)"");
27199 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27202 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27203 wxDataObjectSimple
*result
;
27204 PyObject
* obj0
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "format", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27213 if (SWIG_arg_fail(1)) SWIG_fail
;
27214 if (arg1
== NULL
) {
27215 SWIG_null_ref("wxDataFormat");
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27234 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27237 wxDataFormat
*result
;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27245 if (SWIG_arg_fail(1)) SWIG_fail
;
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27250 result
= (wxDataFormat
*) &_result_ref
;
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27263 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27266 wxDataFormat
*arg2
= 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "format", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27278 if (SWIG_arg_fail(2)) SWIG_fail
;
27279 if (arg2
== NULL
) {
27280 SWIG_null_ref("wxDataFormat");
27282 if (SWIG_arg_fail(2)) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 char *kwnames
[] = {
27304 (char *) "self", NULL
27307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27309 if (SWIG_arg_fail(1)) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27326 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= result
;
27352 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27355 PyObject
*arg2
= (PyObject
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 PyObject
* obj1
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self",(char *) "data", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27383 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27386 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27388 return Py_BuildValue((char *)"");
27390 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27393 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27394 wxPyDataObjectSimple
*result
;
27395 PyObject
* obj0
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "format", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27405 if (arg1
== NULL
) {
27406 SWIG_null_ref("wxDataFormat");
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27425 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27428 PyObject
*arg2
= (PyObject
*) 0 ;
27429 PyObject
*arg3
= (PyObject
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 PyObject
* obj2
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self",(char *) "self",(char *) "_class", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27439 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 Py_INCREF(Py_None
); resultobj
= Py_None
;
27456 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27459 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27461 return Py_BuildValue((char *)"");
27463 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxDataObjectComposite
*result
;
27466 char *kwnames
[] = {
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27485 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27488 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27489 bool arg3
= (bool) false ;
27490 PyObject
* obj0
= 0 ;
27491 PyObject
* obj1
= 0 ;
27492 PyObject
* obj2
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27501 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 arg3
= (bool)(SWIG_As_bool(obj2
));
27505 if (SWIG_arg_fail(3)) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 (arg1
)->Add(arg2
,arg3
);
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 Py_INCREF(Py_None
); resultobj
= Py_None
;
27522 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27525 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27527 return Py_BuildValue((char *)"");
27529 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27532 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27533 wxTextDataObject
*result
;
27534 bool temp1
= false ;
27535 PyObject
* obj0
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "text", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27543 arg1
= wxString_in_helper(obj0
);
27544 if (arg1
== NULL
) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27570 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(1)) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (size_t)(arg1
)->GetTextLength();
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27598 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27602 PyObject
* obj0
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (arg1
)->GetText();
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27630 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27633 wxString
*arg2
= 0 ;
27634 bool temp2
= false ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self",(char *) "text", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(1)) SWIG_fail
;
27645 arg2
= wxString_in_helper(obj1
);
27646 if (arg2
== NULL
) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 (arg1
)->SetText((wxString
const &)*arg2
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 Py_INCREF(Py_None
); resultobj
= Py_None
;
27671 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27674 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27676 return Py_BuildValue((char *)"");
27678 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
;
27680 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27681 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27682 wxPyTextDataObject
*result
;
27683 bool temp1
= false ;
27684 PyObject
* obj0
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "text", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27692 arg1
= wxString_in_helper(obj0
);
27693 if (arg1
== NULL
) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27719 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
;
27721 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27722 PyObject
*arg2
= (PyObject
*) 0 ;
27723 PyObject
*arg3
= (PyObject
*) 0 ;
27724 PyObject
* obj0
= 0 ;
27725 PyObject
* obj1
= 0 ;
27726 PyObject
* obj2
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self",(char *) "self",(char *) "_class", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27743 Py_INCREF(Py_None
); resultobj
= Py_None
;
27750 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27753 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27755 return Py_BuildValue((char *)"");
27757 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27760 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27761 wxBitmapDataObject
*result
;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "bitmap", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27772 if (arg1
== NULL
) {
27773 SWIG_null_ref("wxBitmap");
27775 if (SWIG_arg_fail(1)) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27792 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
;
27794 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27812 wxBitmap
* resultptr
;
27813 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27822 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
;
27824 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27825 wxBitmap
*arg2
= 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 char *kwnames
[] = {
27829 (char *) "self",(char *) "bitmap", NULL
27832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27834 if (SWIG_arg_fail(1)) SWIG_fail
;
27836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(2)) SWIG_fail
;
27838 if (arg2
== NULL
) {
27839 SWIG_null_ref("wxBitmap");
27841 if (SWIG_arg_fail(2)) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27850 Py_INCREF(Py_None
); resultobj
= Py_None
;
27857 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27860 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27862 return Py_BuildValue((char *)"");
27864 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27867 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27868 wxPyBitmapDataObject
*result
;
27869 PyObject
* obj0
= 0 ;
27870 char *kwnames
[] = {
27871 (char *) "bitmap", NULL
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27878 if (SWIG_arg_fail(1)) SWIG_fail
;
27879 if (arg1
== NULL
) {
27880 SWIG_null_ref("wxBitmap");
27882 if (SWIG_arg_fail(1)) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27899 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
;
27901 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27902 PyObject
*arg2
= (PyObject
*) 0 ;
27903 PyObject
*arg3
= (PyObject
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self",(char *) "self",(char *) "_class", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27913 if (SWIG_arg_fail(1)) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27923 Py_INCREF(Py_None
); resultobj
= Py_None
;
27930 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27933 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27935 return Py_BuildValue((char *)"");
27937 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxFileDataObject
*result
;
27940 char *kwnames
[] = {
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (wxFileDataObject
*)new wxFileDataObject();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27959 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27960 PyObject
*resultobj
;
27961 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27962 wxArrayString
*result
;
27963 PyObject
* obj0
= 0 ;
27964 char *kwnames
[] = {
27965 (char *) "self", NULL
27968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27970 if (SWIG_arg_fail(1)) SWIG_fail
;
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27975 result
= (wxArrayString
*) &_result_ref
;
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= wxArrayString2PyList_helper(*result
);
27990 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27993 wxString
*arg2
= 0 ;
27994 bool temp2
= false ;
27995 PyObject
* obj0
= 0 ;
27996 PyObject
* obj1
= 0 ;
27997 char *kwnames
[] = {
27998 (char *) "self",(char *) "filename", NULL
28001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28003 if (SWIG_arg_fail(1)) SWIG_fail
;
28005 arg2
= wxString_in_helper(obj1
);
28006 if (arg2
== NULL
) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 (arg1
)->AddFile((wxString
const &)*arg2
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 Py_INCREF(Py_None
); resultobj
= Py_None
;
28031 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28034 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28036 return Py_BuildValue((char *)"");
28038 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28039 PyObject
*resultobj
;
28040 wxDataFormat
*arg1
= 0 ;
28041 wxCustomDataObject
*result
;
28042 PyObject
* obj0
= 0 ;
28044 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28047 if (SWIG_arg_fail(1)) SWIG_fail
;
28048 if (arg1
== NULL
) {
28049 SWIG_null_ref("wxDataFormat");
28051 if (SWIG_arg_fail(1)) SWIG_fail
;
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28067 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28068 PyObject
*resultobj
;
28069 wxString
*arg1
= 0 ;
28070 wxCustomDataObject
*result
;
28071 bool temp1
= false ;
28072 PyObject
* obj0
= 0 ;
28074 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28076 arg1
= wxString_in_helper(obj0
);
28077 if (arg1
== NULL
) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28102 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28103 PyObject
*resultobj
;
28104 wxCustomDataObject
*result
;
28106 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28121 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28126 argc
= PyObject_Length(args
);
28127 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28128 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28131 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28136 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28139 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28146 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28154 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28158 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28163 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28164 PyObject
*resultobj
;
28165 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28166 PyObject
*arg2
= (PyObject
*) 0 ;
28168 PyObject
* obj0
= 0 ;
28169 PyObject
* obj1
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self",(char *) "data", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28176 if (SWIG_arg_fail(1)) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28194 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28205 if (SWIG_arg_fail(1)) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= (size_t)(arg1
)->GetSize();
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28222 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= result
;
28248 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28251 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28253 return Py_BuildValue((char *)"");
28255 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxURLDataObject
*result
;
28258 char *kwnames
[] = {
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= (wxURLDataObject
*)new wxURLDataObject();
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28277 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28281 PyObject
* obj0
= 0 ;
28282 char *kwnames
[] = {
28283 (char *) "self", NULL
28286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28288 if (SWIG_arg_fail(1)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (arg1
)->GetURL();
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28309 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28312 wxString
*arg2
= 0 ;
28313 bool temp2
= false ;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self",(char *) "url", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28322 if (SWIG_arg_fail(1)) SWIG_fail
;
28324 arg2
= wxString_in_helper(obj1
);
28325 if (arg2
== NULL
) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->SetURL((wxString
const &)*arg2
);
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28353 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28355 return Py_BuildValue((char *)"");
28357 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxMetafileDataObject
*result
;
28360 char *kwnames
[] = {
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28379 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
;
28381 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28382 wxMetafile
*arg2
= 0 ;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self",(char *) "metafile", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28391 if (SWIG_arg_fail(1)) SWIG_fail
;
28393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28394 if (SWIG_arg_fail(2)) SWIG_fail
;
28395 if (arg2
== NULL
) {
28396 SWIG_null_ref("wxMetafile");
28398 if (SWIG_arg_fail(2)) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 Py_INCREF(Py_None
); resultobj
= Py_None
;
28414 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
;
28416 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28418 PyObject
* obj0
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28425 if (SWIG_arg_fail(1)) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 wxMetafile
* resultptr
;
28435 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28444 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28447 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28449 return Py_BuildValue((char *)"");
28451 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
;
28453 wxDragResult arg1
;
28455 PyObject
* obj0
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "res", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28462 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28463 if (SWIG_arg_fail(1)) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28481 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxWindow
*arg1
= (wxWindow
*) 0 ;
28484 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28485 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28486 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28487 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28488 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28489 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28490 wxPyDropSource
*result
;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 PyObject
* obj2
= 0 ;
28494 PyObject
* obj3
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28501 if (SWIG_arg_fail(1)) SWIG_fail
;
28504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28505 if (SWIG_arg_fail(2)) SWIG_fail
;
28506 if (arg2
== NULL
) {
28507 SWIG_null_ref("wxCursor");
28509 if (SWIG_arg_fail(2)) SWIG_fail
;
28514 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28515 if (SWIG_arg_fail(3)) SWIG_fail
;
28516 if (arg3
== NULL
) {
28517 SWIG_null_ref("wxCursor");
28519 if (SWIG_arg_fail(3)) SWIG_fail
;
28524 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28525 if (SWIG_arg_fail(4)) SWIG_fail
;
28526 if (arg4
== NULL
) {
28527 SWIG_null_ref("wxCursor");
28529 if (SWIG_arg_fail(4)) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28546 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28549 PyObject
*arg2
= (PyObject
*) 0 ;
28550 PyObject
*arg3
= (PyObject
*) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 PyObject
* obj2
= 0 ;
28555 PyObject
* obj3
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28562 if (SWIG_arg_fail(1)) SWIG_fail
;
28566 arg4
= (int)(SWIG_As_int(obj3
));
28567 if (SWIG_arg_fail(4)) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28583 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28586 PyObject
* obj0
= 0 ;
28587 char *kwnames
[] = {
28588 (char *) "self", NULL
28591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28593 if (SWIG_arg_fail(1)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 Py_INCREF(Py_None
); resultobj
= Py_None
;
28608 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
;
28610 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28611 wxDataObject
*arg2
= 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "data", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail
;
28622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(2)) SWIG_fail
;
28624 if (arg2
== NULL
) {
28625 SWIG_null_ref("wxDataObject");
28627 if (SWIG_arg_fail(2)) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 (arg1
)->SetData(*arg2
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 Py_INCREF(Py_None
); resultobj
= Py_None
;
28643 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28646 wxDataObject
*result
;
28647 PyObject
* obj0
= 0 ;
28648 char *kwnames
[] = {
28649 (char *) "self", NULL
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(1)) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28669 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28670 PyObject
*resultobj
;
28671 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28672 wxDragResult arg2
;
28673 wxCursor
*arg3
= 0 ;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 PyObject
* obj2
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self",(char *) "res",(char *) "cursor", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28683 if (SWIG_arg_fail(1)) SWIG_fail
;
28685 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28686 if (SWIG_arg_fail(2)) SWIG_fail
;
28689 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28690 if (SWIG_arg_fail(3)) SWIG_fail
;
28691 if (arg3
== NULL
) {
28692 SWIG_null_ref("wxCursor");
28694 if (SWIG_arg_fail(3)) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 Py_INCREF(Py_None
); resultobj
= Py_None
;
28710 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28713 int arg2
= (int) wxDrag_CopyOnly
;
28714 wxDragResult result
;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 char *kwnames
[] = {
28718 (char *) "self",(char *) "flags", NULL
28721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28723 if (SWIG_arg_fail(1)) SWIG_fail
;
28726 arg2
= (int)(SWIG_As_int(obj1
));
28727 if (SWIG_arg_fail(2)) SWIG_fail
;
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_From_int((result
));
28744 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
;
28746 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28747 wxDragResult arg2
;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 char *kwnames
[] = {
28752 (char *) "self",(char *) "effect", NULL
28755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28757 if (SWIG_arg_fail(1)) SWIG_fail
;
28759 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28760 if (SWIG_arg_fail(2)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28778 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28781 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28783 return Py_BuildValue((char *)"");
28785 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28788 wxPyDropTarget
*result
;
28789 PyObject
* obj0
= 0 ;
28790 char *kwnames
[] = {
28791 (char *) "dataObject", NULL
28794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28797 if (SWIG_arg_fail(1)) SWIG_fail
;
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28813 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28814 PyObject
*resultobj
;
28815 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28816 PyObject
*arg2
= (PyObject
*) 0 ;
28817 PyObject
*arg3
= (PyObject
*) 0 ;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 PyObject
* obj2
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self",(char *) "self",(char *) "_class", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28827 if (SWIG_arg_fail(1)) SWIG_fail
;
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 Py_INCREF(Py_None
); resultobj
= Py_None
;
28844 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28845 PyObject
*resultobj
;
28846 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28847 PyObject
* obj0
= 0 ;
28848 char *kwnames
[] = {
28849 (char *) "self", NULL
28852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28854 if (SWIG_arg_fail(1)) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 Py_INCREF(Py_None
); resultobj
= Py_None
;
28869 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28872 wxDataObject
*result
;
28873 PyObject
* obj0
= 0 ;
28874 char *kwnames
[] = {
28875 (char *) "self", NULL
28878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28880 if (SWIG_arg_fail(1)) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28895 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
;
28897 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28898 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28899 PyObject
* obj0
= 0 ;
28900 PyObject
* obj1
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self",(char *) "dataObject", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28907 if (SWIG_arg_fail(1)) SWIG_fail
;
28908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28909 if (SWIG_arg_fail(2)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 (arg1
)->SetDataObject(arg2
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28924 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28929 wxDragResult arg4
;
28930 wxDragResult result
;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 PyObject
* obj2
= 0 ;
28934 PyObject
* obj3
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28941 if (SWIG_arg_fail(1)) SWIG_fail
;
28943 arg2
= (int)(SWIG_As_int(obj1
));
28944 if (SWIG_arg_fail(2)) SWIG_fail
;
28947 arg3
= (int)(SWIG_As_int(obj2
));
28948 if (SWIG_arg_fail(3)) SWIG_fail
;
28951 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28952 if (SWIG_arg_fail(4)) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_From_int((result
));
28968 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
;
28970 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28973 wxDragResult arg4
;
28974 wxDragResult result
;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 PyObject
* obj3
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 arg2
= (int)(SWIG_As_int(obj1
));
28988 if (SWIG_arg_fail(2)) SWIG_fail
;
28991 arg3
= (int)(SWIG_As_int(obj2
));
28992 if (SWIG_arg_fail(3)) SWIG_fail
;
28995 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28996 if (SWIG_arg_fail(4)) SWIG_fail
;
28999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_From_int((result
));
29012 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29013 PyObject
*resultobj
;
29014 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 char *kwnames
[] = {
29017 (char *) "self", NULL
29020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29022 if (SWIG_arg_fail(1)) SWIG_fail
;
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 (arg1
)->base_OnLeave();
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 Py_INCREF(Py_None
); resultobj
= Py_None
;
29037 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29038 PyObject
*resultobj
;
29039 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29043 PyObject
* obj0
= 0 ;
29044 PyObject
* obj1
= 0 ;
29045 PyObject
* obj2
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self",(char *) "x",(char *) "y", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29052 if (SWIG_arg_fail(1)) SWIG_fail
;
29054 arg2
= (int)(SWIG_As_int(obj1
));
29055 if (SWIG_arg_fail(2)) SWIG_fail
;
29058 arg3
= (int)(SWIG_As_int(obj2
));
29059 if (SWIG_arg_fail(3)) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29077 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
;
29079 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29081 PyObject
* obj0
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 result
= (bool)(arg1
)->GetData();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29105 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29108 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29110 return Py_BuildValue((char *)"");
29112 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29114 wxPyTextDropTarget
*result
;
29115 char *kwnames
[] = {
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29134 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29137 PyObject
*arg2
= (PyObject
*) 0 ;
29138 PyObject
*arg3
= (PyObject
*) 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 PyObject
* obj2
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self",(char *) "self",(char *) "_class", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29148 if (SWIG_arg_fail(1)) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 Py_INCREF(Py_None
); resultobj
= Py_None
;
29165 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
;
29167 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29170 wxDragResult arg4
;
29171 wxDragResult result
;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 PyObject
* obj2
= 0 ;
29175 PyObject
* obj3
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29182 if (SWIG_arg_fail(1)) SWIG_fail
;
29184 arg2
= (int)(SWIG_As_int(obj1
));
29185 if (SWIG_arg_fail(2)) SWIG_fail
;
29188 arg3
= (int)(SWIG_As_int(obj2
));
29189 if (SWIG_arg_fail(3)) SWIG_fail
;
29192 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29193 if (SWIG_arg_fail(4)) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= SWIG_From_int((result
));
29209 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29214 wxDragResult arg4
;
29215 wxDragResult result
;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 PyObject
* obj2
= 0 ;
29219 PyObject
* obj3
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29226 if (SWIG_arg_fail(1)) SWIG_fail
;
29228 arg2
= (int)(SWIG_As_int(obj1
));
29229 if (SWIG_arg_fail(2)) SWIG_fail
;
29232 arg3
= (int)(SWIG_As_int(obj2
));
29233 if (SWIG_arg_fail(3)) SWIG_fail
;
29236 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29237 if (SWIG_arg_fail(4)) SWIG_fail
;
29240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29241 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= SWIG_From_int((result
));
29253 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
;
29255 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29256 PyObject
* obj0
= 0 ;
29257 char *kwnames
[] = {
29258 (char *) "self", NULL
29261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29263 if (SWIG_arg_fail(1)) SWIG_fail
;
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->base_OnLeave();
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 Py_INCREF(Py_None
); resultobj
= Py_None
;
29278 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 PyObject
* obj2
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "self",(char *) "x",(char *) "y", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29293 if (SWIG_arg_fail(1)) SWIG_fail
;
29295 arg2
= (int)(SWIG_As_int(obj1
));
29296 if (SWIG_arg_fail(2)) SWIG_fail
;
29299 arg3
= (int)(SWIG_As_int(obj2
));
29300 if (SWIG_arg_fail(3)) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29318 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29323 wxDragResult arg4
;
29324 wxDragResult result
;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 PyObject
* obj2
= 0 ;
29328 PyObject
* obj3
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail
;
29337 arg2
= (int)(SWIG_As_int(obj1
));
29338 if (SWIG_arg_fail(2)) SWIG_fail
;
29341 arg3
= (int)(SWIG_As_int(obj2
));
29342 if (SWIG_arg_fail(3)) SWIG_fail
;
29345 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29346 if (SWIG_arg_fail(4)) SWIG_fail
;
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= SWIG_From_int((result
));
29362 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29365 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29367 return Py_BuildValue((char *)"");
29369 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxPyFileDropTarget
*result
;
29372 char *kwnames
[] = {
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29391 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
;
29393 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29394 PyObject
*arg2
= (PyObject
*) 0 ;
29395 PyObject
*arg3
= (PyObject
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 PyObject
* obj2
= 0 ;
29399 char *kwnames
[] = {
29400 (char *) "self",(char *) "self",(char *) "_class", NULL
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29405 if (SWIG_arg_fail(1)) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 Py_INCREF(Py_None
); resultobj
= Py_None
;
29422 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29423 PyObject
*resultobj
;
29424 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29427 wxDragResult arg4
;
29428 wxDragResult result
;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 PyObject
* obj2
= 0 ;
29432 PyObject
* obj3
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29439 if (SWIG_arg_fail(1)) SWIG_fail
;
29441 arg2
= (int)(SWIG_As_int(obj1
));
29442 if (SWIG_arg_fail(2)) SWIG_fail
;
29445 arg3
= (int)(SWIG_As_int(obj2
));
29446 if (SWIG_arg_fail(3)) SWIG_fail
;
29449 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29450 if (SWIG_arg_fail(4)) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_From_int((result
));
29466 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29468 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29471 wxDragResult arg4
;
29472 wxDragResult result
;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 PyObject
* obj2
= 0 ;
29476 PyObject
* obj3
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29483 if (SWIG_arg_fail(1)) SWIG_fail
;
29485 arg2
= (int)(SWIG_As_int(obj1
));
29486 if (SWIG_arg_fail(2)) SWIG_fail
;
29489 arg3
= (int)(SWIG_As_int(obj2
));
29490 if (SWIG_arg_fail(3)) SWIG_fail
;
29493 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29494 if (SWIG_arg_fail(4)) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= SWIG_From_int((result
));
29510 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
;
29512 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29513 PyObject
* obj0
= 0 ;
29514 char *kwnames
[] = {
29515 (char *) "self", NULL
29518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29520 if (SWIG_arg_fail(1)) SWIG_fail
;
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 (arg1
)->base_OnLeave();
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29528 Py_INCREF(Py_None
); resultobj
= Py_None
;
29535 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 PyObject
* obj2
= 0 ;
29544 char *kwnames
[] = {
29545 (char *) "self",(char *) "x",(char *) "y", NULL
29548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail
;
29552 arg2
= (int)(SWIG_As_int(obj1
));
29553 if (SWIG_arg_fail(2)) SWIG_fail
;
29556 arg3
= (int)(SWIG_As_int(obj2
));
29557 if (SWIG_arg_fail(3)) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29575 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29580 wxDragResult arg4
;
29581 wxDragResult result
;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 PyObject
* obj3
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail
;
29594 arg2
= (int)(SWIG_As_int(obj1
));
29595 if (SWIG_arg_fail(2)) SWIG_fail
;
29598 arg3
= (int)(SWIG_As_int(obj2
));
29599 if (SWIG_arg_fail(3)) SWIG_fail
;
29602 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29603 if (SWIG_arg_fail(4)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_From_int((result
));
29619 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29622 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29624 return Py_BuildValue((char *)"");
29626 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
;
29628 wxClipboard
*result
;
29629 char *kwnames
[] = {
29633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (wxClipboard
*)new wxClipboard();
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29648 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29651 PyObject
* obj0
= 0 ;
29652 char *kwnames
[] = {
29653 (char *) "self", NULL
29656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29658 if (SWIG_arg_fail(1)) SWIG_fail
;
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29666 Py_INCREF(Py_None
); resultobj
= Py_None
;
29673 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29674 PyObject
*resultobj
;
29675 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29677 PyObject
* obj0
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "self", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29684 if (SWIG_arg_fail(1)) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= (bool)(arg1
)->Open();
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29701 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29704 PyObject
* obj0
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29711 if (SWIG_arg_fail(1)) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 Py_INCREF(Py_None
); resultobj
= Py_None
;
29726 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29730 PyObject
* obj0
= 0 ;
29731 char *kwnames
[] = {
29732 (char *) "self", NULL
29735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29737 if (SWIG_arg_fail(1)) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29754 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29757 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self",(char *) "data", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29767 if (SWIG_arg_fail(1)) SWIG_fail
;
29768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29769 if (SWIG_arg_fail(2)) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (bool)(arg1
)->AddData(arg2
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29786 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29789 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self",(char *) "data", NULL
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29799 if (SWIG_arg_fail(1)) SWIG_fail
;
29800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29801 if (SWIG_arg_fail(2)) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (bool)(arg1
)->SetData(arg2
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29818 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29819 PyObject
*resultobj
;
29820 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29821 wxDataFormat
*arg2
= 0 ;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 char *kwnames
[] = {
29826 (char *) "self",(char *) "format", NULL
29829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29831 if (SWIG_arg_fail(1)) SWIG_fail
;
29833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29834 if (SWIG_arg_fail(2)) SWIG_fail
;
29835 if (arg2
== NULL
) {
29836 SWIG_null_ref("wxDataFormat");
29838 if (SWIG_arg_fail(2)) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29856 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
;
29858 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29859 wxDataObject
*arg2
= 0 ;
29861 PyObject
* obj0
= 0 ;
29862 PyObject
* obj1
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self",(char *) "data", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29869 if (SWIG_arg_fail(1)) SWIG_fail
;
29871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29872 if (SWIG_arg_fail(2)) SWIG_fail
;
29873 if (arg2
== NULL
) {
29874 SWIG_null_ref("wxDataObject");
29876 if (SWIG_arg_fail(2)) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= (bool)(arg1
)->GetData(*arg2
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29894 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29895 PyObject
*resultobj
;
29896 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29897 PyObject
* obj0
= 0 ;
29898 char *kwnames
[] = {
29899 (char *) "self", NULL
29902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 Py_INCREF(Py_None
); resultobj
= Py_None
;
29919 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
;
29921 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29923 PyObject
* obj0
= 0 ;
29924 char *kwnames
[] = {
29925 (char *) "self", NULL
29928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29930 if (SWIG_arg_fail(1)) SWIG_fail
;
29932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29933 result
= (bool)(arg1
)->Flush();
29935 wxPyEndAllowThreads(__tstate
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29947 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
;
29949 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29950 bool arg2
= (bool) true ;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self",(char *) "primary", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29959 if (SWIG_arg_fail(1)) SWIG_fail
;
29962 arg2
= (bool)(SWIG_As_bool(obj1
));
29963 if (SWIG_arg_fail(2)) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 (arg1
)->UsePrimarySelection(arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 Py_INCREF(Py_None
); resultobj
= Py_None
;
29980 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxClipboard
*result
;
29983 char *kwnames
[] = {
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 result
= (wxClipboard
*)wxClipboard::Get();
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30002 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30005 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30007 return Py_BuildValue((char *)"");
30009 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
;
30011 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30012 wxClipboardLocker
*result
;
30013 PyObject
* obj0
= 0 ;
30014 char *kwnames
[] = {
30015 (char *) "clipboard", NULL
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30021 if (SWIG_arg_fail(1)) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30037 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30040 PyObject
* obj0
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "self", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30047 if (SWIG_arg_fail(1)) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 Py_INCREF(Py_None
); resultobj
= Py_None
;
30062 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30073 if (SWIG_arg_fail(1)) SWIG_fail
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30090 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30093 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30095 return Py_BuildValue((char *)"");
30097 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
;
30099 int arg1
= (int) 0 ;
30100 int arg2
= (int) 0 ;
30101 int arg3
= (int) 0 ;
30102 int arg4
= (int) 0 ;
30103 wxVideoMode
*result
;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 PyObject
* obj2
= 0 ;
30107 PyObject
* obj3
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30115 arg1
= (int)(SWIG_As_int(obj0
));
30116 if (SWIG_arg_fail(1)) SWIG_fail
;
30121 arg2
= (int)(SWIG_As_int(obj1
));
30122 if (SWIG_arg_fail(2)) SWIG_fail
;
30127 arg3
= (int)(SWIG_As_int(obj2
));
30128 if (SWIG_arg_fail(3)) SWIG_fail
;
30133 arg4
= (int)(SWIG_As_int(obj3
));
30134 if (SWIG_arg_fail(4)) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30151 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
;
30153 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30154 PyObject
* obj0
= 0 ;
30155 char *kwnames
[] = {
30156 (char *) "self", NULL
30159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30161 if (SWIG_arg_fail(1)) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 Py_INCREF(Py_None
); resultobj
= Py_None
;
30176 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
;
30178 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30179 wxVideoMode
*arg2
= 0 ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self",(char *) "other", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30189 if (SWIG_arg_fail(1)) SWIG_fail
;
30191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30192 if (SWIG_arg_fail(2)) SWIG_fail
;
30193 if (arg2
== NULL
) {
30194 SWIG_null_ref("wxVideoMode");
30196 if (SWIG_arg_fail(2)) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30214 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30215 PyObject
*resultobj
;
30216 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30218 PyObject
* obj0
= 0 ;
30219 char *kwnames
[] = {
30220 (char *) "self", NULL
30223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30225 if (SWIG_arg_fail(1)) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_From_int((int)(result
));
30242 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
;
30244 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30246 PyObject
* obj0
= 0 ;
30247 char *kwnames
[] = {
30248 (char *) "self", NULL
30251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30253 if (SWIG_arg_fail(1)) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_From_int((int)(result
));
30270 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30274 PyObject
* obj0
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_From_int((int)(result
));
30298 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
;
30300 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30302 PyObject
* obj0
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30326 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
;
30328 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30329 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30331 PyObject
* obj0
= 0 ;
30332 PyObject
* obj1
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self",(char *) "other", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail
;
30340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30341 if (SWIG_arg_fail(2)) SWIG_fail
;
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30358 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
;
30360 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30361 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30363 PyObject
* obj0
= 0 ;
30364 PyObject
* obj1
= 0 ;
30365 char *kwnames
[] = {
30366 (char *) "self",(char *) "other", NULL
30369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30371 if (SWIG_arg_fail(1)) SWIG_fail
;
30372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30373 if (SWIG_arg_fail(2)) SWIG_fail
;
30375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30376 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30390 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "w", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail
;
30404 arg2
= (int)(SWIG_As_int(obj1
));
30405 if (SWIG_arg_fail(2)) SWIG_fail
;
30407 if (arg1
) (arg1
)->w
= arg2
;
30409 Py_INCREF(Py_None
); resultobj
= Py_None
;
30416 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
;
30418 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 char *kwnames
[] = {
30422 (char *) "self", NULL
30425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30427 if (SWIG_arg_fail(1)) SWIG_fail
;
30428 result
= (int) ((arg1
)->w
);
30431 resultobj
= SWIG_From_int((int)(result
));
30439 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "h", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail
;
30453 arg2
= (int)(SWIG_As_int(obj1
));
30454 if (SWIG_arg_fail(2)) SWIG_fail
;
30456 if (arg1
) (arg1
)->h
= arg2
;
30458 Py_INCREF(Py_None
); resultobj
= Py_None
;
30465 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30469 PyObject
* obj0
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30476 if (SWIG_arg_fail(1)) SWIG_fail
;
30477 result
= (int) ((arg1
)->h
);
30480 resultobj
= SWIG_From_int((int)(result
));
30488 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "bpp", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30500 if (SWIG_arg_fail(1)) SWIG_fail
;
30502 arg2
= (int)(SWIG_As_int(obj1
));
30503 if (SWIG_arg_fail(2)) SWIG_fail
;
30505 if (arg1
) (arg1
)->bpp
= arg2
;
30507 Py_INCREF(Py_None
); resultobj
= Py_None
;
30514 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
;
30516 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30525 if (SWIG_arg_fail(1)) SWIG_fail
;
30526 result
= (int) ((arg1
)->bpp
);
30529 resultobj
= SWIG_From_int((int)(result
));
30537 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
;
30539 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30541 PyObject
* obj0
= 0 ;
30542 PyObject
* obj1
= 0 ;
30543 char *kwnames
[] = {
30544 (char *) "self",(char *) "refresh", NULL
30547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30549 if (SWIG_arg_fail(1)) SWIG_fail
;
30551 arg2
= (int)(SWIG_As_int(obj1
));
30552 if (SWIG_arg_fail(2)) SWIG_fail
;
30554 if (arg1
) (arg1
)->refresh
= arg2
;
30556 Py_INCREF(Py_None
); resultobj
= Py_None
;
30563 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
;
30565 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30567 PyObject
* obj0
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30574 if (SWIG_arg_fail(1)) SWIG_fail
;
30575 result
= (int) ((arg1
)->refresh
);
30578 resultobj
= SWIG_From_int((int)(result
));
30586 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30589 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30591 return Py_BuildValue((char *)"");
30593 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30594 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30599 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30602 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30607 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 size_t arg1
= (size_t) 0 ;
30611 PyObject
* obj0
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "index", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30619 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30620 if (SWIG_arg_fail(1)) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 result
= (wxDisplay
*)new wxDisplay(arg1
);
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30637 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30640 PyObject
* obj0
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30647 if (SWIG_arg_fail(1)) SWIG_fail
;
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 Py_INCREF(Py_None
); resultobj
= Py_None
;
30662 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30665 char *kwnames
[] = {
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= (size_t)wxDisplay::GetCount();
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30686 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
;
30688 wxPoint
*arg1
= 0 ;
30691 PyObject
* obj0
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "pt", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30699 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_From_int((int)(result
));
30717 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxWindow
*arg1
= (wxWindow
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "window", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30728 if (SWIG_arg_fail(1)) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (int)Display_GetFromWindow(arg1
);
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30737 resultobj
= SWIG_From_int((int)(result
));
30745 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30746 PyObject
*resultobj
;
30747 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 char *kwnames
[] = {
30751 (char *) "self", NULL
30754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30756 if (SWIG_arg_fail(1)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30773 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 char *kwnames
[] = {
30779 (char *) "self", NULL
30782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30784 if (SWIG_arg_fail(1)) SWIG_fail
;
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30793 wxRect
* resultptr
;
30794 resultptr
= new wxRect((wxRect
&)(result
));
30795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30803 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
;
30805 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30807 PyObject
* obj0
= 0 ;
30808 char *kwnames
[] = {
30809 (char *) "self", NULL
30812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30814 if (SWIG_arg_fail(1)) SWIG_fail
;
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= ((wxDisplay
const *)arg1
)->GetName();
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30835 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30846 if (SWIG_arg_fail(1)) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30863 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
;
30865 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30866 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30867 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30869 PyObject
* obj0
= 0 ;
30870 PyObject
* obj1
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "mode", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30877 if (SWIG_arg_fail(1)) SWIG_fail
;
30880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30881 if (SWIG_arg_fail(2)) SWIG_fail
;
30882 if (arg2
== NULL
) {
30883 SWIG_null_ref("wxVideoMode");
30885 if (SWIG_arg_fail(2)) SWIG_fail
;
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= result
;
30902 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30905 wxVideoMode result
;
30906 PyObject
* obj0
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30913 if (SWIG_arg_fail(1)) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30922 wxVideoMode
* resultptr
;
30923 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30932 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30935 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30936 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30938 PyObject
* obj0
= 0 ;
30939 PyObject
* obj1
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self",(char *) "mode", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30946 if (SWIG_arg_fail(1)) SWIG_fail
;
30949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30950 if (SWIG_arg_fail(2)) SWIG_fail
;
30951 if (arg2
== NULL
) {
30952 SWIG_null_ref("wxVideoMode");
30954 if (SWIG_arg_fail(2)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30973 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30976 PyObject
* obj0
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 (arg1
)->ResetMode();
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 Py_INCREF(Py_None
); resultobj
= Py_None
;
30998 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31001 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31003 return Py_BuildValue((char *)"");
31005 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
;
31007 wxStandardPaths
*result
;
31008 char *kwnames
[] = {
31012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 result
= (wxStandardPaths
*)StandardPaths_Get();
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31027 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31031 PyObject
* obj0
= 0 ;
31032 char *kwnames
[] = {
31033 (char *) "self", NULL
31036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31038 if (SWIG_arg_fail(1)) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31059 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31060 PyObject
*resultobj
;
31061 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31063 PyObject
* obj0
= 0 ;
31064 char *kwnames
[] = {
31065 (char *) "self", NULL
31068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31070 if (SWIG_arg_fail(1)) SWIG_fail
;
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31075 wxPyEndAllowThreads(__tstate
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31091 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31092 PyObject
*resultobj
;
31093 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31095 PyObject
* obj0
= 0 ;
31096 char *kwnames
[] = {
31097 (char *) "self", NULL
31100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31102 if (SWIG_arg_fail(1)) SWIG_fail
;
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31123 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
;
31125 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 char *kwnames
[] = {
31129 (char *) "self", NULL
31132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31134 if (SWIG_arg_fail(1)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31155 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31159 PyObject
* obj0
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31187 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31191 PyObject
* obj0
= 0 ;
31192 char *kwnames
[] = {
31193 (char *) "self", NULL
31196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31198 if (SWIG_arg_fail(1)) SWIG_fail
;
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31219 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31223 PyObject
* obj0
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31230 if (SWIG_arg_fail(1)) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31251 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31254 wxString
*arg2
= 0 ;
31255 bool temp2
= false ;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 char *kwnames
[] = {
31259 (char *) "self",(char *) "prefix", NULL
31262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail
;
31266 arg2
= wxString_in_helper(obj1
);
31267 if (arg2
== NULL
) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 Py_INCREF(Py_None
); resultobj
= Py_None
;
31292 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31293 PyObject
*resultobj
;
31294 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31296 PyObject
* obj0
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31303 if (SWIG_arg_fail(1)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31324 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31327 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31329 return Py_BuildValue((char *)"");
31331 static PyMethodDef SwigMethods
[] = {
31332 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31339 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31346 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31410 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31418 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31436 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31439 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31442 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31445 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31451 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31465 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31471 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31477 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31480 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31497 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31498 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31501 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31528 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31532 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31534 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31541 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31547 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31561 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31568 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31585 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31593 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31640 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31658 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31668 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31684 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31700 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31714 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31766 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31769 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31772 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31776 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31869 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31870 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31871 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31872 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31889 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31934 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31976 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31977 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31982 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32001 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32004 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32012 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32019 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32024 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32032 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32036 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32046 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32073 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32087 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32091 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32109 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32123 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32134 { NULL
, NULL
, 0, NULL
}
32138 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32140 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32143 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32144 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32146 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32147 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32149 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32150 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32152 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32153 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32155 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32156 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32158 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32161 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32162 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32164 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32167 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32168 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32170 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32173 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32174 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32176 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32177 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32179 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32180 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32182 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32183 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32185 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32186 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32188 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32189 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32191 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32192 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32194 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32195 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32197 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32200 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32203 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32206 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32209 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32212 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32215 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32218 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32221 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32224 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32227 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32230 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32233 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32236 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32239 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32242 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32245 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32248 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32251 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32254 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32257 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32258 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32260 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32261 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32263 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32264 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32266 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32267 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32269 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32270 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32272 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32273 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32275 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32276 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32278 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32279 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32281 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32282 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32284 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32285 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32287 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32288 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32290 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32291 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32293 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32294 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32296 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32297 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32299 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32300 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32302 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32303 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32305 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32306 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32308 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32309 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32311 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32312 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32314 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32315 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32317 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32318 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32320 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32321 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32323 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32324 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32326 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32327 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32329 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32330 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32332 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32333 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32335 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32338 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32339 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32341 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32342 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32344 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32345 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32347 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32348 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32350 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32351 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32353 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32354 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32356 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32357 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32359 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32360 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32362 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32365 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32368 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32371 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32374 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32377 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32380 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32383 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) ((wxSizer
*) x
));
32386 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32389 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32392 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32395 static void *_p_wxEventTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) ((wxEvent
*) x
));
32398 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32401 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32404 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32407 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32410 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32413 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32416 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32419 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32422 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32425 static void *_p_wxControlTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32428 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32431 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32434 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32437 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32440 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32443 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32446 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32449 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32452 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32455 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32458 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32461 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32464 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32467 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32470 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32473 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32476 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32479 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32482 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32485 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32488 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32491 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32494 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32497 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32500 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32503 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32506 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32509 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32512 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32515 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32518 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32521 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32524 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32527 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32530 static void *_p_wxImageTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) ((wxImage
*) x
));
32533 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32536 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32539 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32542 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32545 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32548 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32551 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32554 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32557 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32560 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32563 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32566 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32569 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32572 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32575 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32578 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32581 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32584 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32587 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32590 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32593 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32596 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32599 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32602 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32605 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32608 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32611 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32614 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32617 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32618 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32620 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32621 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32623 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32624 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32626 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32627 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32629 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32630 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32632 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32633 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32635 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32636 return (void *)((wxWindow
*) ((wxControl
*) x
));
32638 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32639 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32641 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32642 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32644 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32645 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32647 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32648 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32650 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}};
32651 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}};
32652 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32653 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}};
32654 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}};
32655 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}};
32656 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}};
32657 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}};
32658 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}};
32659 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}};
32660 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}};
32661 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}};
32662 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}};
32663 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}};
32664 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}};
32665 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}};
32666 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}};
32667 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}};
32668 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}};
32669 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}};
32670 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}};
32671 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}};
32672 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32673 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}};
32674 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}};
32675 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}};
32676 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}};
32677 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}};
32678 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}};
32679 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}};
32680 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}};
32681 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}};
32682 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}};
32683 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}};
32684 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}};
32685 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}};
32686 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}};
32687 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}};
32688 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}};
32689 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}};
32690 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}};
32691 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}};
32692 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}};
32693 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}};
32694 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}};
32695 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}};
32696 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}};
32697 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}};
32698 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}};
32699 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}};
32700 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}};
32701 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}};
32702 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}};
32703 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}};
32704 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}};
32705 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}};
32706 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}};
32707 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}};
32708 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}};
32709 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}};
32710 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}};
32711 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}};
32712 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}};
32713 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}};
32714 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}};
32715 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}};
32716 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}};
32717 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}};
32718 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}};
32719 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}};
32720 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}};
32721 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}};
32722 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}};
32723 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}};
32724 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}};
32725 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}};
32726 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}};
32727 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}};
32728 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}};
32729 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}};
32730 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}};
32731 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}};
32732 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}};
32733 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}};
32734 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}};
32735 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}};
32736 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}};
32737 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}};
32738 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}};
32739 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}};
32740 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}};
32741 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}};
32742 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}};
32743 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}};
32744 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}};
32745 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}};
32746 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}};
32748 static swig_type_info
*swig_types_initial
[] = {
32749 _swigt__p_wxLogChain
,
32750 _swigt__p_wxMutexGuiLocker
,
32751 _swigt__p_wxMetafile
,
32752 _swigt__p_wxFileHistory
,
32756 _swigt__p_wxDateTime__TimeZone
,
32757 _swigt__p_wxConfigBase
,
32758 _swigt__p_wxDisplay
,
32759 _swigt__p_wxFileType
,
32760 _swigt__p_wxLogGui
,
32762 _swigt__p_wxDataFormat
,
32763 _swigt__p_wxTimerEvent
,
32766 _swigt__std__ptrdiff_t
,
32769 _swigt__p_wxClipboard
,
32770 _swigt__p_wxStopWatch
,
32772 _swigt__p_wxClipboardLocker
,
32774 _swigt__p_wxLogStderr
,
32775 _swigt__p_wxLogTextCtrl
,
32776 _swigt__p_wxTextCtrl
,
32777 _swigt__p_wxBusyCursor
,
32778 _swigt__p_wxBitmapDataObject
,
32779 _swigt__p_wxTextDataObject
,
32780 _swigt__p_wxDataObject
,
32781 _swigt__p_wxPyTextDataObject
,
32782 _swigt__p_wxPyBitmapDataObject
,
32783 _swigt__p_wxFileDataObject
,
32784 _swigt__p_wxCustomDataObject
,
32785 _swigt__p_wxURLDataObject
,
32786 _swigt__p_wxMetafileDataObject
,
32788 _swigt__p_wxTimerRunner
,
32789 _swigt__p_wxLogWindow
,
32790 _swigt__p_wxTimeSpan
,
32791 _swigt__p_wxArrayString
,
32792 _swigt__p_wxWindowDisabler
,
32793 _swigt__p_form_ops_t
,
32794 _swigt__p_wxToolTip
,
32795 _swigt__p_wxDataObjectComposite
,
32796 _swigt__p_wxSystemSettings
,
32797 _swigt__p_wxFileConfig
,
32798 _swigt__p_wxVideoMode
,
32799 _swigt__p_wxDataObjectSimple
,
32800 _swigt__p_wxPyDataObjectSimple
,
32801 _swigt__p_wxDuplexMode
,
32802 _swigt__p_wxEvtHandler
,
32805 _swigt__p_wxSingleInstanceChecker
,
32806 _swigt__p_wxStandardPaths
,
32807 _swigt__p_wxFileTypeInfo
,
32810 _swigt__p_wxPaperSize
,
32811 _swigt__p_wxMimeTypesManager
,
32812 _swigt__p_wxPyArtProvider
,
32813 _swigt__p_wxPyTipProvider
,
32814 _swigt__p_wxTipProvider
,
32815 _swigt__p_wxJoystick
,
32816 _swigt__p_wxSystemOptions
,
32818 _swigt__p_wxJoystickEvent
,
32819 _swigt__p_wxCursor
,
32820 _swigt__p_wxObject
,
32821 _swigt__p_wxOutputStream
,
32822 _swigt__p_wxDateTime
,
32823 _swigt__p_wxPyDropSource
,
32824 _swigt__p_unsigned_long
,
32825 _swigt__p_wxKillError
,
32826 _swigt__p_wxWindow
,
32827 _swigt__p_wxString
,
32828 _swigt__p_wxPyProcess
,
32829 _swigt__p_wxBitmap
,
32830 _swigt__p_wxConfig
,
32831 _swigt__unsigned_int
,
32832 _swigt__p_unsigned_int
,
32833 _swigt__p_unsigned_char
,
32835 _swigt__p_wxBusyInfo
,
32836 _swigt__p_wxPyDropTarget
,
32837 _swigt__p_wxPyTextDropTarget
,
32838 _swigt__p_wxPyFileDropTarget
,
32839 _swigt__p_wxProcessEvent
,
32841 _swigt__p_wxLogNull
,
32842 _swigt__p_wxColour
,
32843 _swigt__p_wxPyTimer
,
32844 _swigt__p_wxConfigPathChanger
,
32845 _swigt__p_wxDateSpan
,
32850 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32852 static swig_const_info swig_const_table
[] = {
32853 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32854 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32855 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32856 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32857 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32858 {0, 0, 0, 0.0, 0, 0}};
32869 /* Python-specific SWIG API */
32870 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32871 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32872 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32874 /* -----------------------------------------------------------------------------
32875 * global variable support code.
32876 * ----------------------------------------------------------------------------- */
32878 typedef struct swig_globalvar
{
32879 char *name
; /* Name of global variable */
32880 PyObject
*(*get_attr
)(); /* Return the current value */
32881 int (*set_attr
)(PyObject
*); /* Set the value */
32882 struct swig_globalvar
*next
;
32885 typedef struct swig_varlinkobject
{
32887 swig_globalvar
*vars
;
32888 } swig_varlinkobject
;
32891 swig_varlink_repr(swig_varlinkobject
*v
) {
32893 return PyString_FromString("<Swig global variables>");
32897 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32898 swig_globalvar
*var
;
32900 fprintf(fp
,"Swig global variables { ");
32901 for (var
= v
->vars
; var
; var
=var
->next
) {
32902 fprintf(fp
,"%s", var
->name
);
32903 if (var
->next
) fprintf(fp
,", ");
32905 fprintf(fp
," }\n");
32910 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32911 swig_globalvar
*var
= v
->vars
;
32913 if (strcmp(var
->name
,n
) == 0) {
32914 return (*var
->get_attr
)();
32918 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32923 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32924 swig_globalvar
*var
= v
->vars
;
32926 if (strcmp(var
->name
,n
) == 0) {
32927 return (*var
->set_attr
)(p
);
32931 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32935 static PyTypeObject varlinktype
= {
32936 PyObject_HEAD_INIT(0)
32937 0, /* Number of items in variable part (ob_size) */
32938 (char *)"swigvarlink", /* Type name (tp_name) */
32939 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32940 0, /* Itemsize (tp_itemsize) */
32941 0, /* Deallocator (tp_dealloc) */
32942 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32943 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32944 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32945 0, /* tp_compare */
32946 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32947 0, /* tp_as_number */
32948 0, /* tp_as_sequence */
32949 0, /* tp_as_mapping */
32953 0, /* tp_getattro */
32954 0, /* tp_setattro */
32955 0, /* tp_as_buffer */
32958 #if PY_VERSION_HEX >= 0x02000000
32959 0, /* tp_traverse */
32962 #if PY_VERSION_HEX >= 0x02010000
32963 0, /* tp_richcompare */
32964 0, /* tp_weaklistoffset */
32966 #if PY_VERSION_HEX >= 0x02020000
32967 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32969 #if PY_VERSION_HEX >= 0x02030000
32972 #ifdef COUNT_ALLOCS
32973 0,0,0,0 /* tp_alloc -> tp_next */
32977 /* Create a variable linking object for use later */
32979 SWIG_Python_newvarlink(void) {
32980 swig_varlinkobject
*result
= 0;
32981 result
= PyMem_NEW(swig_varlinkobject
,1);
32982 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32983 result
->ob_type
= &varlinktype
;
32985 result
->ob_refcnt
= 0;
32986 Py_XINCREF((PyObject
*) result
);
32987 return ((PyObject
*) result
);
32991 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32992 swig_varlinkobject
*v
;
32993 swig_globalvar
*gv
;
32994 v
= (swig_varlinkobject
*) p
;
32995 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32996 gv
->name
= (char *) malloc(strlen(name
)+1);
32997 strcpy(gv
->name
,name
);
32998 gv
->get_attr
= get_attr
;
32999 gv
->set_attr
= set_attr
;
33000 gv
->next
= v
->vars
;
33004 /* -----------------------------------------------------------------------------
33005 * constants/methods manipulation
33006 * ----------------------------------------------------------------------------- */
33008 /* Install Constants */
33010 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33013 for (i
= 0; constants
[i
].type
; i
++) {
33014 switch(constants
[i
].type
) {
33016 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33018 case SWIG_PY_FLOAT
:
33019 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33021 case SWIG_PY_STRING
:
33022 if (constants
[i
].pvalue
) {
33023 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33025 Py_INCREF(Py_None
);
33029 case SWIG_PY_POINTER
:
33030 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33032 case SWIG_PY_BINARY
:
33033 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33040 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33046 /* -----------------------------------------------------------------------------*/
33047 /* Fix SwigMethods to carry the callback ptrs when needed */
33048 /* -----------------------------------------------------------------------------*/
33051 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33052 swig_const_info
*const_table
,
33053 swig_type_info
**types
,
33054 swig_type_info
**types_initial
) {
33056 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33057 char *c
= methods
[i
].ml_doc
;
33058 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33060 swig_const_info
*ci
= 0;
33061 char *name
= c
+ 10;
33062 for (j
= 0; const_table
[j
].type
; j
++) {
33063 if (strncmp(const_table
[j
].name
, name
,
33064 strlen(const_table
[j
].name
)) == 0) {
33065 ci
= &(const_table
[j
]);
33070 size_t shift
= (ci
->ptype
) - types
;
33071 swig_type_info
*ty
= types_initial
[shift
];
33072 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33073 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33074 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33076 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33077 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33079 strncpy(buff
, "swig_ptr: ", 10);
33081 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33082 methods
[i
].ml_doc
= ndoc
;
33088 /* -----------------------------------------------------------------------------*
33089 * Initialize type list
33090 * -----------------------------------------------------------------------------*/
33092 #if PY_MAJOR_VERSION < 2
33093 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33094 is copied out of Python/modsupport.c in python version 2.3.4 */
33096 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33099 if (!PyModule_Check(m
)) {
33100 PyErr_SetString(PyExc_TypeError
,
33101 "PyModule_AddObject() needs module as first arg");
33105 PyErr_SetString(PyExc_TypeError
,
33106 "PyModule_AddObject() needs non-NULL value");
33110 dict
= PyModule_GetDict(m
);
33111 if (dict
== NULL
) {
33112 /* Internal error -- modules must have a dict! */
33113 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33114 PyModule_GetName(m
));
33117 if (PyDict_SetItemString(dict
, name
, o
))
33124 static swig_type_info
**
33125 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33126 static PyMethodDef swig_empty_runtime_method_table
[] = {
33128 NULL
, NULL
, 0, NULL
33132 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33133 swig_empty_runtime_method_table
);
33134 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33135 if (pointer
&& module) {
33136 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33138 return type_list_handle
;
33141 static swig_type_info
**
33142 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33143 swig_type_info
**type_pointer
;
33145 /* first check if module already created */
33146 type_pointer
= SWIG_Python_GetTypeListHandle();
33147 if (type_pointer
) {
33148 return type_pointer
;
33150 /* create a new module and variable */
33151 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33159 /* -----------------------------------------------------------------------------*
33160 * Partial Init method
33161 * -----------------------------------------------------------------------------*/
33163 #ifdef SWIG_LINK_RUNTIME
33167 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33173 SWIGEXPORT(void) SWIG_init(void) {
33174 static PyObject
*SWIG_globals
= 0;
33175 static int typeinit
= 0;
33178 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33180 /* Fix SwigMethods to carry the callback ptrs when needed */
33181 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33183 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33184 d
= PyModule_GetDict(m
);
33187 #ifdef SWIG_LINK_RUNTIME
33188 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33190 # ifndef SWIG_STATIC_RUNTIME
33191 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33194 for (i
= 0; swig_types_initial
[i
]; i
++) {
33195 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33199 SWIG_InstallConstants(d
,swig_const_table
);
33202 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33205 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33208 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33211 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33214 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33217 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33220 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33223 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33226 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33229 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33232 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33235 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33238 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33241 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33244 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33247 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33250 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33253 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33256 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33259 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33262 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33265 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33268 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33271 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33274 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33277 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33280 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33283 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33286 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33289 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33292 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33295 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33298 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33301 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33304 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33307 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33310 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33313 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33316 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33319 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33322 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33325 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33328 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33331 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33334 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33337 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33340 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33343 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33346 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33349 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33352 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33355 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33358 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33361 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33364 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33367 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33370 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33373 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33376 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33379 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33382 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33385 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33388 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33391 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33394 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33397 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33400 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33403 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33406 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33409 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33412 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33415 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33418 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33421 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33424 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33427 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33430 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33433 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33436 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33439 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33442 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33445 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33448 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33451 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33454 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33457 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33460 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33463 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33466 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33469 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33472 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33474 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33475 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33476 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33477 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33478 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33480 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33483 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33486 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33489 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33491 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33493 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33496 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33499 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33502 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33505 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33508 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33511 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33514 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33517 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33520 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33523 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33526 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33528 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33529 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33530 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33531 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33532 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33534 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33537 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33540 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33543 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33546 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33549 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33552 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33555 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33558 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33561 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33564 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33567 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33570 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33573 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33576 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33579 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33582 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33585 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33588 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33591 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33594 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33597 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33600 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33603 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33606 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33609 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33612 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33615 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33618 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33621 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33624 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33626 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33628 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33631 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33634 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33637 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33640 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33643 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33646 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33649 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33652 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33655 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33658 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33661 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33664 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33666 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33667 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33668 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33669 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33671 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33674 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33677 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33680 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33683 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33686 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33689 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33692 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33694 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33735 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33736 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33737 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33738 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33739 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33740 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33741 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33742 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33743 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33744 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33745 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33746 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33747 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33748 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33749 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33751 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33754 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33757 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33760 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33763 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33766 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33769 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33772 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33775 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33778 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33780 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33781 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33783 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33786 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33789 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33792 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33795 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33798 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33801 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33804 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33807 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33810 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33813 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33816 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33819 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33822 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33825 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33828 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33831 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33834 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33837 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33840 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33843 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33846 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33849 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33852 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33855 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33858 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33861 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33864 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33867 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33870 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33873 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33876 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33879 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33882 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33885 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33888 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33891 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33894 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33897 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33900 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33903 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33906 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33909 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33912 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33915 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33918 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33921 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33924 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33927 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33930 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33933 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33936 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33939 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33942 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33945 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33948 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33951 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33954 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33957 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33960 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33963 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33966 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33969 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33972 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33975 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33978 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33981 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33984 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33987 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33990 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33993 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33996 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33999 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34002 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34005 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34008 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34011 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34014 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34017 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34020 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34023 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34026 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34029 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34032 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34035 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34038 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34041 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34044 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34047 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34050 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34053 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34056 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34059 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34062 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34065 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34068 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34071 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34074 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34077 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34080 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34083 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34086 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34089 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34092 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34095 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34098 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34101 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34104 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34107 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34110 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34113 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34116 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34119 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34122 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34125 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34128 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34131 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34134 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34137 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34140 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34143 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34146 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34149 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34152 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34155 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34158 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34161 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34164 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34167 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34170 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34173 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34176 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34179 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34182 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34185 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34188 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34191 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34194 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34197 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34200 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34203 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34206 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34209 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34212 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34215 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34218 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34221 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34224 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34227 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34230 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34233 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34236 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34239 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34242 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34245 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34247 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34249 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34252 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34255 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34258 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34261 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34264 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34267 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34270 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34273 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34276 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34279 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34282 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34285 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34288 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34291 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34294 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34297 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34300 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34303 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34306 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34308 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34310 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34313 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34316 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34319 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34322 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34325 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34328 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34331 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34334 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34337 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34340 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34343 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34346 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34347 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34348 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34349 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34351 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);