1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxFileHistory swig_types[2]
1344 #define SWIGTYPE_p_wxLog swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxEvent swig_types[5]
1347 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1348 #define SWIGTYPE_p_wxConfigBase swig_types[7]
1349 #define SWIGTYPE_p_wxDisplay swig_types[8]
1350 #define SWIGTYPE_p_wxFileType swig_types[9]
1351 #define SWIGTYPE_p_wxLogGui swig_types[10]
1352 #define SWIGTYPE_p_wxFont swig_types[11]
1353 #define SWIGTYPE_p_wxDataFormat swig_types[12]
1354 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
1355 #define SWIGTYPE_p_wxCaret swig_types[14]
1356 #define SWIGTYPE_ptrdiff_t swig_types[15]
1357 #define SWIGTYPE_std__ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_p_int swig_types[17]
1359 #define SWIGTYPE_p_wxSize swig_types[18]
1360 #define SWIGTYPE_p_wxClipboard swig_types[19]
1361 #define SWIGTYPE_p_wxStopWatch swig_types[20]
1362 #define SWIGTYPE_p_wxDC swig_types[21]
1363 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxLogStderr swig_types[24]
1366 #define SWIGTYPE_p_wxLogTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxBusyCursor swig_types[27]
1369 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyTextDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxFileDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxURLDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxMetafileDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxSound swig_types[37]
1379 #define SWIGTYPE_p_wxTimerRunner swig_types[38]
1380 #define SWIGTYPE_p_wxLogWindow swig_types[39]
1381 #define SWIGTYPE_p_wxTimeSpan swig_types[40]
1382 #define SWIGTYPE_p_wxArrayString swig_types[41]
1383 #define SWIGTYPE_p_wxWindowDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxToolTip swig_types[44]
1386 #define SWIGTYPE_p_wxDataObjectComposite swig_types[45]
1387 #define SWIGTYPE_p_wxSystemSettings swig_types[46]
1388 #define SWIGTYPE_p_wxFileConfig swig_types[47]
1389 #define SWIGTYPE_p_wxVideoMode swig_types[48]
1390 #define SWIGTYPE_p_wxDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
1393 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_char swig_types[54]
1396 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[55]
1397 #define SWIGTYPE_p_wxStandardPaths swig_types[56]
1398 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
1399 #define SWIGTYPE_p_wxFrame swig_types[58]
1400 #define SWIGTYPE_p_wxTimer swig_types[59]
1401 #define SWIGTYPE_p_wxPaperSize swig_types[60]
1402 #define SWIGTYPE_p_wxMimeTypesManager swig_types[61]
1403 #define SWIGTYPE_p_wxPyArtProvider swig_types[62]
1404 #define SWIGTYPE_p_wxPyTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxJoystick swig_types[65]
1407 #define SWIGTYPE_p_wxSystemOptions swig_types[66]
1408 #define SWIGTYPE_p_wxPoint swig_types[67]
1409 #define SWIGTYPE_p_wxJoystickEvent swig_types[68]
1410 #define SWIGTYPE_p_wxCursor swig_types[69]
1411 #define SWIGTYPE_p_wxObject swig_types[70]
1412 #define SWIGTYPE_p_wxOutputStream swig_types[71]
1413 #define SWIGTYPE_p_wxDateTime swig_types[72]
1414 #define SWIGTYPE_p_wxPyDropSource swig_types[73]
1415 #define SWIGTYPE_p_unsigned_long swig_types[74]
1416 #define SWIGTYPE_p_wxKillError swig_types[75]
1417 #define SWIGTYPE_p_wxWindow swig_types[76]
1418 #define SWIGTYPE_p_wxString swig_types[77]
1419 #define SWIGTYPE_p_wxPyProcess swig_types[78]
1420 #define SWIGTYPE_p_wxBitmap swig_types[79]
1421 #define SWIGTYPE_p_wxConfig swig_types[80]
1422 #define SWIGTYPE_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_char swig_types[83]
1425 #define SWIGTYPE_p_wxChar swig_types[84]
1426 #define SWIGTYPE_p_wxBusyInfo swig_types[85]
1427 #define SWIGTYPE_p_wxPyDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxProcessEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPyLog swig_types[90]
1432 #define SWIGTYPE_p_wxLogNull swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxPyTimer swig_types[93]
1435 #define SWIGTYPE_p_wxConfigPathChanger swig_types[94]
1436 #define SWIGTYPE_p_wxDateSpan swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _misc_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_misc_
1447 #define SWIG_name "_misc_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451 #include "wx/wxPython/pyistream.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1458 #define SWIG_From_int PyInt_FromLong
1466 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1469 if (value
< min_value
) {
1471 PyErr_Format(PyExc_OverflowError
,
1472 "value %ld is less than '%s' minimum %ld",
1473 value
, errmsg
, min_value
);
1476 } else if (value
> max_value
) {
1478 PyErr_Format(PyExc_OverflowError
,
1479 "value %ld is greater than '%s' maximum %ld",
1480 value
, errmsg
, max_value
);
1489 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1491 if (PyNumber_Check(obj
)) {
1492 if (val
) *val
= PyInt_AsLong(obj
);
1496 SWIG_type_error("number", obj
);
1502 #if INT_MAX != LONG_MAX
1504 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1506 const char* errmsg
= val
? "int" : (char*)0;
1508 if (SWIG_AsVal_long(obj
, &v
)) {
1509 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1510 if (val
) *val
= (int)(v
);
1519 SWIG_type_error(errmsg
, obj
);
1525 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1527 return SWIG_AsVal_long(obj
,(long*)val
);
1533 SWIG_As_int(PyObject
* obj
)
1536 if (!SWIG_AsVal_int(obj
, &v
)) {
1538 this is needed to make valgrind/purify happier.
1540 memset((void*)&v
, 0, sizeof(int));
1547 SWIG_Check_int(PyObject
* obj
)
1549 return SWIG_AsVal_int(obj
, (int*)0);
1552 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1554 #include <wx/stockitem.h>
1556 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1557 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1558 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1560 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1561 #define SWIG_From_long PyInt_FromLong
1565 SWIGINTERNSHORT
long
1566 SWIG_As_long(PyObject
* obj
)
1569 if (!SWIG_AsVal_long(obj
, &v
)) {
1571 this is needed to make valgrind/purify happier.
1573 memset((void*)&v
, 0, sizeof(long));
1580 SWIG_Check_long(PyObject
* obj
)
1582 return SWIG_AsVal_long(obj
, (long*)0);
1587 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1589 if (obj
== Py_True
) {
1590 if (val
) *val
= true;
1593 if (obj
== Py_False
) {
1594 if (val
) *val
= false;
1598 if (SWIG_AsVal_int(obj
, &res
)) {
1599 if (val
) *val
= res
? true : false;
1605 SWIG_type_error("bool", obj
);
1611 SWIGINTERNSHORT
bool
1612 SWIG_As_bool(PyObject
* obj
)
1615 if (!SWIG_AsVal_bool(obj
, &v
)) {
1617 this is needed to make valgrind/purify happier.
1619 memset((void*)&v
, 0, sizeof(bool));
1626 SWIG_Check_bool(PyObject
* obj
)
1628 return SWIG_AsVal_bool(obj
, (bool*)0);
1632 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1638 } else if (target
== Py_None
) {
1642 if (!PyTuple_Check(target
)) {
1644 target
= PyTuple_New(1);
1645 PyTuple_SetItem(target
, 0, o2
);
1647 o3
= PyTuple_New(1);
1648 PyTuple_SetItem(o3
, 0, o
);
1651 target
= PySequence_Concat(o2
, o3
);
1660 long wxGetFreeMemory()
1661 { wxPyRaiseNotImplemented(); return 0; }
1665 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1668 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1669 SWIG_type_error("unsigned number", obj
);
1672 *val
= (unsigned long)v
;
1677 SWIGINTERNSHORT
unsigned long
1678 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1681 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1683 this is needed to make valgrind/purify happier.
1685 memset((void*)&v
, 0, sizeof(unsigned long));
1692 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1694 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1698 SWIGINTERNSHORT PyObject
*
1699 SWIG_From_unsigned_SS_long(unsigned long value
)
1701 return (value
> LONG_MAX
) ?
1702 PyLong_FromUnsignedLong(value
)
1703 : PyInt_FromLong((long)(value
));
1707 void wxWakeUpMainThread() {}
1710 bool wxThread_IsMain() {
1711 #ifdef WXP_WITH_THREAD
1712 return wxThread::IsMain();
1718 static void wxCaret_Destroy(wxCaret
*self
){
1722 #include <wx/snglinst.h>
1726 #include <wx/msw/private.h>
1727 #include <wx/dynload.h>
1732 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1743 // This one only partially works. Appears to be an undocumented
1744 // "standard" convention that not all widgets adhear to. For
1745 // example, for some widgets backgrounds or non-client areas may
1747 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1752 // This one works much better, nearly all widgets and their
1753 // children are captured correctly[**]. Prior to the big
1754 // background erase changes that Vadim did in 2004-2005 this
1755 // method failed badly on XP with Themes activated, most native
1756 // widgets draw only partially, if at all. Without themes it
1757 // worked just like on Win2k. After those changes this method
1760 // ** For example the radio buttons in a wxRadioBox are not its
1761 // children by default, but you can capture it via the panel
1762 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1763 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1764 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1765 PRF_ERASEBKGND
| PRF_OWNED
);
1771 // This one is only defined in the latest SDK and is only
1772 // available on XP. MSDN says it is similar to sending WM_PRINT
1773 // so I expect that it will work similar to the above. Since it
1774 // is avaialble only on XP, it can't be compiled like this and
1775 // will have to be loaded dynamically.
1776 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1781 // Use PrintWindow if available, or fallback to WM_PRINT
1782 // otherwise. Unfortunately using PrintWindow is even worse than
1783 // WM_PRINT. For most native widgets nothing is drawn to the dc
1784 // at all, with or without Themes.
1785 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1786 static bool s_triedToLoad
= false;
1787 static PrintWindow_t pfnPrintWindow
= NULL
;
1788 if ( !s_triedToLoad
)
1791 s_triedToLoad
= true;
1792 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1793 if ( dllUser32
.IsLoaded() )
1795 wxLogNull nolog
; // Don't report errors here
1796 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1801 //printf("Using PrintWindow\n");
1802 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1806 //printf("Using WM_PRINT\n");
1807 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1808 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1809 PRF_ERASEBKGND
| PRF_OWNED
);
1820 #include <wx/tipdlg.h>
1823 class wxPyTipProvider
: public wxTipProvider
{
1825 wxPyTipProvider(size_t currentTip
)
1826 : wxTipProvider(currentTip
) {}
1828 DEC_PYCALLBACK_STRING__pure(GetTip
);
1829 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1833 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1834 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1837 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1839 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1841 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1842 : wxTimer(owner
, id
)
1844 if (owner
== NULL
) SetOwner(this);
1848 void wxPyTimer::Notify() {
1850 bool blocked
= wxPyBeginBlockThreads();
1851 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1852 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1853 wxPyEndBlockThreads(blocked
);
1857 void wxPyTimer::base_Notify() {
1863 SWIGINTERN PyObject
*
1864 SWIG_FromCharPtr(const char* cptr
)
1867 size_t size
= strlen(cptr
);
1868 if (size
> INT_MAX
) {
1869 return SWIG_NewPointerObj((char*)(cptr
),
1870 SWIG_TypeQuery("char *"), 0);
1873 return PyString_FromStringAndSize(cptr
, size
);
1875 return PyString_FromString(cptr
);
1885 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1886 unsigned long max_value
,
1889 if (value
> max_value
) {
1891 PyErr_Format(PyExc_OverflowError
,
1892 "value %lu is greater than '%s' minimum %lu",
1893 value
, errmsg
, max_value
);
1901 #if UINT_MAX != ULONG_MAX
1903 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1905 const char* errmsg
= val
? "unsigned int" : (char*)0;
1907 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1908 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1909 if (val
) *val
= (unsigned int)(v
);
1916 SWIG_type_error(errmsg
, obj
);
1921 SWIGINTERNSHORT
unsigned int
1922 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1924 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1929 SWIGINTERNSHORT
unsigned int
1930 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1933 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1935 this is needed to make valgrind/purify happier.
1937 memset((void*)&v
, 0, sizeof(unsigned int));
1944 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1946 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1949 static wxString
Log_TimeStamp(){
1951 wxLog::TimeStamp(&msg
);
1954 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1955 // Make somce wrappers that double any % signs so they are 'escaped'
1956 void wxPyLogFatalError(const wxString
& msg
)
1959 m
.Replace(wxT("%"), wxT("%%"));
1963 void wxPyLogError(const wxString
& msg
)
1966 m
.Replace(wxT("%"), wxT("%%"));
1970 void wxPyLogWarning(const wxString
& msg
)
1973 m
.Replace(wxT("%"), wxT("%%"));
1977 void wxPyLogMessage(const wxString
& msg
)
1980 m
.Replace(wxT("%"), wxT("%%"));
1984 void wxPyLogInfo(const wxString
& msg
)
1987 m
.Replace(wxT("%"), wxT("%%"));
1991 void wxPyLogDebug(const wxString
& msg
)
1994 m
.Replace(wxT("%"), wxT("%%"));
1998 void wxPyLogVerbose(const wxString
& msg
)
2001 m
.Replace(wxT("%"), wxT("%%"));
2005 void wxPyLogStatus(const wxString
& msg
)
2008 m
.Replace(wxT("%"), wxT("%%"));
2012 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2015 m
.Replace(wxT("%"), wxT("%%"));
2016 wxLogStatus(pFrame
, m
);
2019 void wxPyLogSysError(const wxString
& msg
)
2022 m
.Replace(wxT("%"), wxT("%%"));
2026 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2029 m
.Replace(wxT("%"), wxT("%%"));
2030 wxLogGeneric(level
, m
);
2033 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2036 m
.Replace(wxT("%"), wxT("%%"));
2037 wxLogTrace(mask
, m
);
2040 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2043 m
.Replace(wxT("%"), wxT("%%"));
2044 wxLogTrace(mask
, m
);
2049 // A wxLog class that can be derived from in wxPython
2050 class wxPyLog
: public wxLog
{
2052 wxPyLog() : wxLog() {}
2054 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2056 bool blocked
= wxPyBeginBlockThreads();
2057 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2058 PyObject
* s
= wx2PyString(szString
);
2059 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2062 wxPyEndBlockThreads(blocked
);
2064 wxLog::DoLog(level
, szString
, t
);
2067 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2069 bool blocked
= wxPyBeginBlockThreads();
2070 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2071 PyObject
* s
= wx2PyString(szString
);
2072 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2075 wxPyEndBlockThreads(blocked
);
2077 wxLog::DoLogString(szString
, t
);
2086 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2089 #include <wx/joystick.h>
2092 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2093 // A C++ stub class for wxJoystick for platforms that don't have it.
2094 class wxJoystick
: public wxObject
{
2096 wxJoystick(int joystick
= wxJOYSTICK1
) {
2097 bool blocked
= wxPyBeginBlockThreads();
2098 PyErr_SetString(PyExc_NotImplementedError
,
2099 "wxJoystick is not available on this platform.");
2100 wxPyEndBlockThreads(blocked
);
2102 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2103 int GetZPosition() { return -1; }
2104 int GetButtonState() { return -1; }
2105 int GetPOVPosition() { return -1; }
2106 int GetPOVCTSPosition() { return -1; }
2107 int GetRudderPosition() { return -1; }
2108 int GetUPosition() { return -1; }
2109 int GetVPosition() { return -1; }
2110 int GetMovementThreshold() { return -1; }
2111 void SetMovementThreshold(int threshold
) {}
2113 bool IsOk(void) { return false; }
2114 int GetNumberJoysticks() { return -1; }
2115 int GetManufacturerId() { return -1; }
2116 int GetProductId() { return -1; }
2117 wxString
GetProductName() { return wxEmptyString
; }
2118 int GetXMin() { return -1; }
2119 int GetYMin() { return -1; }
2120 int GetZMin() { return -1; }
2121 int GetXMax() { return -1; }
2122 int GetYMax() { return -1; }
2123 int GetZMax() { return -1; }
2124 int GetNumberButtons() { return -1; }
2125 int GetNumberAxes() { return -1; }
2126 int GetMaxButtons() { return -1; }
2127 int GetMaxAxes() { return -1; }
2128 int GetPollingMin() { return -1; }
2129 int GetPollingMax() { return -1; }
2130 int GetRudderMin() { return -1; }
2131 int GetRudderMax() { return -1; }
2132 int GetUMin() { return -1; }
2133 int GetUMax() { return -1; }
2134 int GetVMin() { return -1; }
2135 int GetVMax() { return -1; }
2137 bool HasRudder() { return false; }
2138 bool HasZ() { return false; }
2139 bool HasU() { return false; }
2140 bool HasV() { return false; }
2141 bool HasPOV() { return false; }
2142 bool HasPOV4Dir() { return false; }
2143 bool HasPOVCTS() { return false; }
2145 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2146 bool ReleaseCapture() { return false; }
2151 #include <wx/sound.h>
2155 // A C++ stub class for wxWave for platforms that don't have it.
2156 class wxSound
: public wxObject
2160 bool blocked
= wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError
,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked
);
2165 wxSound(const wxString
&/*, bool*/) {
2166 bool blocked
= wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError
,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked
);
2171 wxSound(int, const wxByte
*) {
2172 bool blocked
= wxPyBeginBlockThreads();
2173 PyErr_SetString(PyExc_NotImplementedError
,
2174 "wxSound is not available on this platform.");
2175 wxPyEndBlockThreads(blocked
);
2180 bool Create(const wxString
&/*, bool*/) { return false; }
2181 bool Create(int, const wxByte
*) { return false; };
2182 bool IsOk() { return false; };
2183 bool Play(unsigned) const { return false; }
2184 static bool Play(const wxString
&, unsigned) { return false; }
2185 static void Stop() {}
2190 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2191 if (fileName
.Length() == 0)
2194 return new wxSound(fileName
);
2196 static wxSound
*new_wxSound(PyObject
*data
){
2197 unsigned char* buffer
; int size
;
2198 wxSound
*sound
= NULL
;
2200 bool blocked
= wxPyBeginBlockThreads();
2201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2203 sound
= new wxSound(size
, buffer
);
2205 wxPyEndBlockThreads(blocked
);
2208 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2210 unsigned char* buffer
;
2214 bool blocked
= wxPyBeginBlockThreads();
2215 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2217 rv
= self
->Create(size
, buffer
);
2219 wxPyEndBlockThreads(blocked
);
2222 bool blocked
= wxPyBeginBlockThreads();
2223 PyErr_SetString(PyExc_NotImplementedError
,
2224 "Create from data is not available on this platform.");
2225 wxPyEndBlockThreads(blocked
);
2230 #include <wx/mimetype.h>
2232 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2234 if (self
->GetMimeType(&str
))
2235 return wx2PyString(str
);
2239 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2241 if (self
->GetMimeTypes(arr
))
2242 return wxArrayString2PyList_helper(arr
);
2246 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2248 if (self
->GetExtensions(arr
))
2249 return wxArrayString2PyList_helper(arr
);
2253 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2255 if (self
->GetIcon(&loc
))
2256 return new wxIcon(loc
);
2260 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2262 if (self
->GetIcon(&loc
)) {
2263 wxString iconFile
= loc
.GetFileName();
2268 // Make a tuple and put the values in it
2269 bool blocked
= wxPyBeginBlockThreads();
2270 PyObject
* tuple
= PyTuple_New(3);
2271 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2272 wxT("wxIcon"), true));
2273 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2274 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2275 wxPyEndBlockThreads(blocked
);
2281 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2283 if (self
->GetDescription(&str
))
2284 return wx2PyString(str
);
2288 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2290 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2291 return wx2PyString(str
);
2295 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2297 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2298 return wx2PyString(str
);
2302 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2303 wxArrayString verbs
;
2304 wxArrayString commands
;
2305 if (self
->GetAllCommands(&verbs
, &commands
,
2306 wxFileType::MessageParameters(filename
, mimetype
))) {
2307 bool blocked
= wxPyBeginBlockThreads();
2308 PyObject
* tuple
= PyTuple_New(2);
2309 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2310 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2311 wxPyEndBlockThreads(blocked
);
2317 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2318 return wxFileType::ExpandCommand(command
,
2319 wxFileType::MessageParameters(filename
, mimetype
));
2321 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2323 self
->EnumAllFileTypes(arr
);
2324 return wxArrayString2PyList_helper(arr
);
2327 #include <wx/artprov.h>
2329 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2330 static const wxString
wxPyART_MENU(wxART_MENU
);
2331 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2332 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2333 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2334 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2335 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2336 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2337 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2338 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2339 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2340 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2341 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2342 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2343 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2344 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2345 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2346 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2347 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2348 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2349 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2350 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2351 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2352 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2353 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2354 static const wxString
wxPyART_HELP(wxART_HELP
);
2355 static const wxString
wxPyART_TIP(wxART_TIP
);
2356 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2357 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2358 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2359 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2360 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2361 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2362 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2363 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2364 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2365 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2366 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2367 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2368 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2369 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2370 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2371 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2372 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2373 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2374 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2375 static const wxString
wxPyART_COPY(wxART_COPY
);
2376 static const wxString
wxPyART_CUT(wxART_CUT
);
2377 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2378 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2379 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2380 static const wxString
wxPyART_REDO(wxART_REDO
);
2381 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2382 static const wxString
wxPyART_FIND(wxART_FIND
);
2383 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2384 // Python aware wxArtProvider
2385 class wxPyArtProvider
: public wxArtProvider
{
2388 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2389 const wxArtClient
& client
,
2390 const wxSize
& size
) {
2391 wxBitmap rval
= wxNullBitmap
;
2392 bool blocked
= wxPyBeginBlockThreads();
2393 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2394 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2398 s1
= wx2PyString(id
);
2399 s2
= wx2PyString(client
);
2400 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2405 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2410 wxPyEndBlockThreads(blocked
);
2417 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2421 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2422 PyObject
* ret
= PyTuple_New(3);
2424 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2425 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2426 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2431 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2436 cont
= self
->GetFirstGroup(value
, index
);
2437 return __EnumerationHelper(cont
, value
, index
);
2439 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2443 cont
= self
->GetNextGroup(value
, index
);
2444 return __EnumerationHelper(cont
, value
, index
);
2446 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2451 cont
= self
->GetFirstEntry(value
, index
);
2452 return __EnumerationHelper(cont
, value
, index
);
2454 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2458 cont
= self
->GetNextEntry(value
, index
);
2459 return __EnumerationHelper(cont
, value
, index
);
2461 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2463 self
->Read(key
, &rv
, defaultVal
);
2468 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2470 if (PyNumber_Check(obj
)) {
2471 if (val
) *val
= PyFloat_AsDouble(obj
);
2475 SWIG_type_error("number", obj
);
2481 SWIGINTERNSHORT
double
2482 SWIG_As_double(PyObject
* obj
)
2485 if (!SWIG_AsVal_double(obj
, &v
)) {
2487 this is needed to make valgrind/purify happier.
2489 memset((void*)&v
, 0, sizeof(double));
2496 SWIG_Check_double(PyObject
* obj
)
2498 return SWIG_AsVal_double(obj
, (double*)0);
2501 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2503 self
->Read(key
, &rv
, defaultVal
);
2507 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2508 #define SWIG_From_double PyFloat_FromDouble
2511 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2513 self
->Read(key
, &rv
, defaultVal
);
2517 #include <wx/datetime.h>
2519 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2520 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2522 #define LOCAL_TZ wxDateTime::Local
2525 #if UINT_MAX < LONG_MAX
2526 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2527 #define SWIG_From_unsigned_SS_int SWIG_From_long
2530 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2531 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2535 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2536 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2537 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2538 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2539 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2540 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2541 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2542 return (*self
< *other
);
2544 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2545 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2546 return (*self
<= *other
);
2548 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2549 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2550 return (*self
> *other
);
2552 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2553 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2554 return (*self
>= *other
);
2556 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2557 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2558 return (*self
== *other
);
2560 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2561 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2562 return (*self
!= *other
);
2564 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2566 const wxChar
* _date
= date
;
2567 rv
= self
->ParseRfc822Date(_date
);
2568 if (rv
== NULL
) return -1;
2571 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2573 const wxChar
* _date
= date
;
2574 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2575 if (rv
== NULL
) return -1;
2578 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2580 const wxChar
* _datetime
= datetime
;
2581 rv
= self
->ParseDateTime(_datetime
);
2582 if (rv
== NULL
) return -1;
2583 return rv
- _datetime
;
2585 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2587 const wxChar
* _date
= date
;
2588 rv
= self
->ParseDate(_date
);
2589 if (rv
== NULL
) return -1;
2592 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2594 const wxChar
* _time
= time
;
2595 rv
= self
->ParseTime(_time
);
2596 if (rv
== NULL
) return -1;
2599 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2600 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2601 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2602 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2603 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2604 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2605 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2606 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2607 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2608 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2609 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2610 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2611 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2612 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2613 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2614 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2616 #include <wx/dataobj.h>
2618 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2619 size_t count
= self
->GetFormatCount(dir
);
2620 wxDataFormat
* formats
= new wxDataFormat
[count
];
2621 self
->GetAllFormats(formats
, dir
);
2623 bool blocked
= wxPyBeginBlockThreads();
2624 PyObject
* list
= PyList_New(count
);
2625 for (size_t i
=0; i
<count
; i
++) {
2626 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2627 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2628 PyList_Append(list
, obj
);
2631 wxPyEndBlockThreads(blocked
);
2635 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2636 PyObject
* rval
= NULL
;
2637 size_t size
= self
->GetDataSize(format
);
2638 bool blocked
= wxPyBeginBlockThreads();
2640 char* buf
= new char[size
];
2641 if (self
->GetDataHere(format
, buf
))
2642 rval
= PyString_FromStringAndSize(buf
, size
);
2649 wxPyEndBlockThreads(blocked
);
2652 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2654 bool blocked
= wxPyBeginBlockThreads();
2655 if (PyString_Check(data
)) {
2656 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2659 // raise a TypeError if not a string
2660 PyErr_SetString(PyExc_TypeError
, "String expected.");
2663 wxPyEndBlockThreads(blocked
);
2666 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2667 PyObject
* rval
= NULL
;
2668 size_t size
= self
->GetDataSize();
2669 bool blocked
= wxPyBeginBlockThreads();
2671 char* buf
= new char[size
];
2672 if (self
->GetDataHere(buf
))
2673 rval
= PyString_FromStringAndSize(buf
, size
);
2680 wxPyEndBlockThreads(blocked
);
2683 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2685 bool blocked
= wxPyBeginBlockThreads();
2686 if (PyString_Check(data
)) {
2687 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2690 // raise a TypeError if not a string
2691 PyErr_SetString(PyExc_TypeError
, "String expected.");
2694 wxPyEndBlockThreads(blocked
);
2697 // Create a new class for wxPython to use
2698 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2700 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2701 : wxDataObjectSimple(format
) {}
2703 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2704 bool GetDataHere(void *buf
) const;
2705 bool SetData(size_t len
, const void *buf
) const;
2709 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2711 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2712 // We need to get the data for this object and write it to buf. I think
2713 // the best way to do this for wxPython is to have the Python method
2714 // return either a string or None and then act appropriately with the
2718 bool blocked
= wxPyBeginBlockThreads();
2719 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2721 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2723 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2725 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2729 wxPyEndBlockThreads(blocked
);
2733 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2734 // For this one we simply need to make a string from buf and len
2735 // and send it to the Python method.
2737 bool blocked
= wxPyBeginBlockThreads();
2738 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2739 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2740 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2743 wxPyEndBlockThreads(blocked
);
2747 // Create a new class for wxPython to use
2748 class wxPyTextDataObject
: public wxTextDataObject
{
2750 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2751 : wxTextDataObject(text
) {}
2753 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2754 DEC_PYCALLBACK_STRING__const(GetText
);
2755 DEC_PYCALLBACK__STRING(SetText
);
2759 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2760 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2761 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2764 // Create a new class for wxPython to use
2765 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2767 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2768 : wxBitmapDataObject(bitmap
) {}
2770 wxBitmap
GetBitmap() const;
2771 void SetBitmap(const wxBitmap
& bitmap
);
2775 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2776 wxBitmap
* rval
= &wxNullBitmap
;
2777 bool blocked
= wxPyBeginBlockThreads();
2778 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2781 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2783 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2788 wxPyEndBlockThreads(blocked
);
2792 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2793 bool blocked
= wxPyBeginBlockThreads();
2794 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2795 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2796 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2799 wxPyEndBlockThreads(blocked
);
2802 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2803 return new wxCustomDataObject(wxDataFormat(formatName
));
2805 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2807 bool blocked
= wxPyBeginBlockThreads();
2808 if (PyString_Check(data
)) {
2809 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2812 // raise a TypeError if not a string
2813 PyErr_SetString(PyExc_TypeError
, "String expected.");
2816 wxPyEndBlockThreads(blocked
);
2819 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2821 bool blocked
= wxPyBeginBlockThreads();
2822 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2823 wxPyEndBlockThreads(blocked
);
2827 class wxMetafileDataObject
: public wxDataObjectSimple
2830 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2834 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2837 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2838 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2839 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2840 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2841 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2844 class wxPyTextDropTarget
: public wxTextDropTarget
{
2846 wxPyTextDropTarget() {}
2848 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2850 DEC_PYCALLBACK__(OnLeave
);
2851 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2854 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2859 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2860 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2861 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2862 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2864 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2868 class wxPyFileDropTarget
: public wxFileDropTarget
{
2870 wxPyFileDropTarget() {}
2872 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2874 DEC_PYCALLBACK__(OnLeave
);
2875 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2878 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2883 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2884 const wxArrayString
& filenames
) {
2886 bool blocked
= wxPyBeginBlockThreads();
2887 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2888 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2889 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2892 wxPyEndBlockThreads(blocked
);
2898 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2899 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2900 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2902 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2907 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2909 #include <wx/display.h>
2911 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2912 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2914 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2916 #include <wx/dynarray.h>
2917 #include <wx/vidmode.h>
2919 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2920 #include "wx/arrimpl.cpp"
2921 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2922 const wxVideoMode wxDefaultVideoMode
;
2927 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2930 static size_t GetCount()
2931 { wxPyRaiseNotImplemented(); return 0; }
2933 static int GetFromPoint(const wxPoint
& pt
)
2934 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2935 static int GetFromWindow(wxWindow
*window
)
2936 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2938 virtual bool IsOk() const { return false; }
2939 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2940 virtual wxString
GetName() const { return wxEmptyString
; }
2941 bool IsPrimary() const { return false; }
2943 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2944 { wxArrayVideoModes a
; return a
; }
2946 virtual wxVideoMode
GetCurrentMode() const
2947 { return wxDefaultVideoMode
; }
2949 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2956 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2957 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2958 PyObject
* pyList
= NULL
;
2959 wxArrayVideoModes arr
= self
->GetModes(mode
);
2960 bool blocked
= wxPyBeginBlockThreads();
2961 pyList
= PyList_New(0);
2962 for (int i
=0; i
< arr
.GetCount(); i
++) {
2963 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2964 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2965 PyList_Append(pyList
, pyObj
);
2968 wxPyEndBlockThreads(blocked
);
2972 #include <wx/stdpaths.h>
2974 static wxStandardPaths
*StandardPaths_Get(){
2975 return (wxStandardPaths
*) &wxStandardPaths::Get();
2980 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxSystemColour arg1
;
2984 PyObject
* obj0
= 0 ;
2986 (char *) "index", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2991 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2992 if (SWIG_arg_fail(1)) SWIG_fail
;
2995 if (!wxPyCheckForApp()) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 wxColour
* resultptr
;
3004 resultptr
= new wxColour((wxColour
&)(result
));
3005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3013 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "index", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3024 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3025 if (SWIG_arg_fail(1)) SWIG_fail
;
3028 if (!wxPyCheckForApp()) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3037 resultptr
= new wxFont((wxFont
&)(result
));
3038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3046 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxSystemMetric arg1
;
3050 PyObject
* obj0
= 0 ;
3052 (char *) "index", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
3057 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3058 if (SWIG_arg_fail(1)) SWIG_fail
;
3061 if (!wxPyCheckForApp()) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= SWIG_From_int((int)(result
));
3077 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxSystemFeature arg1
;
3081 PyObject
* obj0
= 0 ;
3083 (char *) "index", NULL
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3088 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3089 if (SWIG_arg_fail(1)) SWIG_fail
;
3092 if (!wxPyCheckForApp()) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3108 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxSystemScreenType result
;
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3117 if (!wxPyCheckForApp()) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= SWIG_From_int((result
));
3131 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxSystemScreenType arg1
;
3134 PyObject
* obj0
= 0 ;
3136 (char *) "screen", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3141 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3142 if (SWIG_arg_fail(1)) SWIG_fail
;
3145 if (!wxPyCheckForApp()) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3162 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3164 return Py_BuildValue((char *)"");
3166 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3167 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3172 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3177 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3179 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3186 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxSystemOptions
*result
;
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= (wxSystemOptions
*)new wxSystemOptions();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3208 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxString
*arg1
= 0 ;
3211 wxString
*arg2
= 0 ;
3212 bool temp1
= false ;
3213 bool temp2
= false ;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3217 (char *) "name",(char *) "value", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3222 arg1
= wxString_in_helper(obj0
);
3223 if (arg1
== NULL
) SWIG_fail
;
3227 arg2
= wxString_in_helper(obj1
);
3228 if (arg2
== NULL
) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 Py_INCREF(Py_None
); resultobj
= Py_None
;
3261 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxString
*arg1
= 0 ;
3265 bool temp1
= false ;
3266 PyObject
* obj0
= 0 ;
3267 PyObject
* obj1
= 0 ;
3269 (char *) "name",(char *) "value", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3274 arg1
= wxString_in_helper(obj0
);
3275 if (arg1
== NULL
) SWIG_fail
;
3279 arg2
= (int)(SWIG_As_int(obj1
));
3280 if (SWIG_arg_fail(2)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 Py_INCREF(Py_None
); resultobj
= Py_None
;
3304 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxString
*arg1
= 0 ;
3308 bool temp1
= false ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "name", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3316 arg1
= wxString_in_helper(obj0
);
3317 if (arg1
== NULL
) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3348 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxString
*arg1
= 0 ;
3352 bool temp1
= false ;
3353 PyObject
* obj0
= 0 ;
3355 (char *) "name", NULL
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3360 arg1
= wxString_in_helper(obj0
);
3361 if (arg1
== NULL
) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= SWIG_From_int((int)(result
));
3388 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxString
*arg1
= 0 ;
3392 bool temp1
= false ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "name", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3400 arg1
= wxString_in_helper(obj0
);
3401 if (arg1
== NULL
) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3428 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3431 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3433 return Py_BuildValue((char *)"");
3435 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3436 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3441 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3446 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3448 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3455 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3456 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3461 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3466 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3468 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3475 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3476 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3481 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3486 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3488 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3495 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (long)wxNewId();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_From_long((long)(result
));
3519 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3522 PyObject
* obj0
= 0 ;
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3529 arg1
= (long)(SWIG_As_long(obj0
));
3530 if (SWIG_arg_fail(1)) SWIG_fail
;
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 Py_INCREF(Py_None
); resultobj
= Py_None
;
3546 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
;
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (long)wxGetCurrentId();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= SWIG_From_long((long)(result
));
3570 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3574 PyObject
* obj0
= 0 ;
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3581 arg1
= (int)(SWIG_As_int(obj0
));
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (bool)wxIsStockID(arg1
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3600 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3603 wxString
*arg2
= 0 ;
3605 bool temp2
= false ;
3606 PyObject
* obj0
= 0 ;
3607 PyObject
* obj1
= 0 ;
3609 (char *) "id",(char *) "label", NULL
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3614 arg1
= (int)(SWIG_As_int(obj0
));
3615 if (SWIG_arg_fail(1)) SWIG_fail
;
3618 arg2
= wxString_in_helper(obj1
);
3619 if (arg2
== NULL
) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3646 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3649 bool arg2
= (bool) true ;
3650 wxString arg3
= (wxString
) wxPyEmptyString
;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3654 PyObject
* obj2
= 0 ;
3656 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3661 arg1
= (int)(SWIG_As_int(obj0
));
3662 if (SWIG_arg_fail(1)) SWIG_fail
;
3666 arg2
= (bool)(SWIG_As_bool(obj1
));
3667 if (SWIG_arg_fail(2)) SWIG_fail
;
3672 wxString
* sptr
= wxString_in_helper(obj2
);
3673 if (sptr
== NULL
) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3698 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3706 if (!wxPyCheckForApp()) SWIG_fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 Py_INCREF(Py_None
); resultobj
= Py_None
;
3720 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3728 if (!wxPyCheckForApp()) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 bool arg1
= (bool) true ;
3746 PyObject
* obj0
= 0 ;
3748 (char *) "resetTimer", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3754 arg1
= (bool)(SWIG_As_bool(obj0
));
3755 if (SWIG_arg_fail(1)) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (long)wxGetElapsedTime(arg1
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= SWIG_From_long((long)(result
));
3774 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 int *arg1
= (int *) 0 ;
3777 int *arg2
= (int *) 0 ;
3786 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3790 if (!wxPyCheckForApp()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 wxGetMousePosition(arg1
,arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3798 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3799 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3801 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3808 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (bool)wxIsBusy();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3832 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3860 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3863 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3865 bool temp1
= false ;
3866 PyObject
* obj0
= 0 ;
3868 (char *) "command", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3874 arg1
= wxString_in_helper(obj0
);
3875 if (arg1
== NULL
) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (bool)wxShell((wxString
const &)*arg1
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3903 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 int *arg1
= (int *) 0 ;
3927 int *arg2
= (int *) 0 ;
3937 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3938 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (int)wxGetOsVersion(arg1
,arg2
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_From_int((int)(result
));
3950 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3951 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3952 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3953 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3960 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= wxGetOsDescription();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3988 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 result
= (long)wxGetFreeMemory();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= SWIG_From_long((long)(result
));
4012 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxShutdownFlags arg1
;
4016 PyObject
* obj0
= 0 ;
4018 (char *) "wFlags", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4023 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4024 if (SWIG_arg_fail(1)) SWIG_fail
;
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4043 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4046 PyObject
* obj0
= 0 ;
4048 (char *) "secs", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4053 arg1
= (int)(SWIG_As_int(obj0
));
4054 if (SWIG_arg_fail(1)) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 Py_INCREF(Py_None
); resultobj
= Py_None
;
4070 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
;
4072 unsigned long arg1
;
4073 PyObject
* obj0
= 0 ;
4075 (char *) "milliseconds", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4080 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 unsigned long arg1
;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "microseconds", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4107 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4108 if (SWIG_arg_fail(1)) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "enable", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4134 arg1
= (bool)(SWIG_As_bool(obj0
));
4135 if (SWIG_arg_fail(1)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxEnableTopLevelWindows(arg1
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxString
*arg1
= 0 ;
4155 bool temp1
= false ;
4156 PyObject
* obj0
= 0 ;
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4163 arg1
= wxString_in_helper(obj0
);
4164 if (arg1
== NULL
) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4195 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= wxGetEmailAddress();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4223 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= wxGetHostName();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4251 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= wxGetFullHostName();
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4279 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= wxGetUserId();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4307 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= wxGetUserName();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4335 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= wxGetHomeDir();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4363 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4366 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4368 bool temp1
= false ;
4369 PyObject
* obj0
= 0 ;
4371 (char *) "user", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4377 arg1
= wxString_in_helper(obj0
);
4378 if (arg1
== NULL
) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 result
= wxGetUserHome((wxString
const &)*arg1
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4410 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 unsigned long result
;
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (unsigned long)wxGetProcessId();
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4434 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4458 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4459 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4463 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4464 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4465 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4466 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4467 int arg6
= (int) 0 ;
4468 wxWindow
*arg7
= (wxWindow
*) NULL
;
4469 int arg8
= (int) -1 ;
4470 int arg9
= (int) -1 ;
4472 bool temp1
= false ;
4473 bool temp2
= false ;
4474 bool temp3
= false ;
4475 bool temp4
= false ;
4476 bool temp5
= false ;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4479 PyObject
* obj2
= 0 ;
4480 PyObject
* obj3
= 0 ;
4481 PyObject
* obj4
= 0 ;
4482 PyObject
* obj5
= 0 ;
4483 PyObject
* obj6
= 0 ;
4484 PyObject
* obj7
= 0 ;
4485 PyObject
* obj8
= 0 ;
4487 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4493 arg1
= wxString_in_helper(obj0
);
4494 if (arg1
== NULL
) SWIG_fail
;
4500 arg2
= wxString_in_helper(obj1
);
4501 if (arg2
== NULL
) SWIG_fail
;
4507 arg3
= wxString_in_helper(obj2
);
4508 if (arg3
== NULL
) SWIG_fail
;
4514 arg4
= wxString_in_helper(obj3
);
4515 if (arg4
== NULL
) SWIG_fail
;
4521 arg5
= wxString_in_helper(obj4
);
4522 if (arg5
== NULL
) SWIG_fail
;
4528 arg6
= (int)(SWIG_As_int(obj5
));
4529 if (SWIG_arg_fail(6)) SWIG_fail
;
4533 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4534 if (SWIG_arg_fail(7)) SWIG_fail
;
4538 arg8
= (int)(SWIG_As_int(obj7
));
4539 if (SWIG_arg_fail(8)) SWIG_fail
;
4544 arg9
= (int)(SWIG_As_int(obj8
));
4545 if (SWIG_arg_fail(9)) SWIG_fail
;
4549 if (!wxPyCheckForApp()) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4609 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxString
*arg1
= 0 ;
4612 wxString
*arg2
= 0 ;
4613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4615 wxWindow
*arg4
= (wxWindow
*) NULL
;
4617 bool temp1
= false ;
4618 bool temp2
= false ;
4619 bool temp3
= false ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4622 PyObject
* obj2
= 0 ;
4623 PyObject
* obj3
= 0 ;
4625 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4630 arg1
= wxString_in_helper(obj0
);
4631 if (arg1
== NULL
) SWIG_fail
;
4635 arg2
= wxString_in_helper(obj1
);
4636 if (arg2
== NULL
) SWIG_fail
;
4641 arg3
= wxString_in_helper(obj2
);
4642 if (arg3
== NULL
) SWIG_fail
;
4647 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4648 if (SWIG_arg_fail(4)) SWIG_fail
;
4651 if (!wxPyCheckForApp()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4695 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxString
*arg1
= 0 ;
4698 wxString
*arg2
= 0 ;
4699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4701 wxWindow
*arg4
= (wxWindow
*) NULL
;
4703 bool temp1
= false ;
4704 bool temp2
= false ;
4705 bool temp3
= false ;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 PyObject
* obj2
= 0 ;
4709 PyObject
* obj3
= 0 ;
4711 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4716 arg1
= wxString_in_helper(obj0
);
4717 if (arg1
== NULL
) SWIG_fail
;
4721 arg2
= wxString_in_helper(obj1
);
4722 if (arg2
== NULL
) SWIG_fail
;
4727 arg3
= wxString_in_helper(obj2
);
4728 if (arg3
== NULL
) SWIG_fail
;
4733 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4734 if (SWIG_arg_fail(4)) SWIG_fail
;
4737 if (!wxPyCheckForApp()) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4781 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4784 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4785 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4786 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4787 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4790 wxWindow
*arg5
= (wxWindow
*) NULL
;
4792 bool temp1
= false ;
4793 bool temp2
= false ;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 PyObject
* obj2
= 0 ;
4798 PyObject
* obj3
= 0 ;
4799 PyObject
* obj4
= 0 ;
4801 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4807 arg1
= wxString_in_helper(obj0
);
4808 if (arg1
== NULL
) SWIG_fail
;
4814 arg2
= wxString_in_helper(obj1
);
4815 if (arg2
== NULL
) SWIG_fail
;
4821 arg3
= (long)(SWIG_As_long(obj2
));
4822 if (SWIG_arg_fail(3)) SWIG_fail
;
4828 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4832 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4833 if (SWIG_arg_fail(5)) SWIG_fail
;
4836 if (!wxPyCheckForApp()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4872 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxString
*arg1
= 0 ;
4875 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4876 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4877 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4878 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4879 wxWindow
*arg4
= (wxWindow
*) NULL
;
4880 int arg5
= (int) -1 ;
4881 int arg6
= (int) -1 ;
4882 bool arg7
= (bool) true ;
4884 bool temp1
= false ;
4885 bool temp2
= false ;
4886 bool temp3
= false ;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4890 PyObject
* obj3
= 0 ;
4891 PyObject
* obj4
= 0 ;
4892 PyObject
* obj5
= 0 ;
4893 PyObject
* obj6
= 0 ;
4895 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4900 arg1
= wxString_in_helper(obj0
);
4901 if (arg1
== NULL
) SWIG_fail
;
4906 arg2
= wxString_in_helper(obj1
);
4907 if (arg2
== NULL
) SWIG_fail
;
4913 arg3
= wxString_in_helper(obj2
);
4914 if (arg3
== NULL
) SWIG_fail
;
4919 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4920 if (SWIG_arg_fail(4)) SWIG_fail
;
4924 arg5
= (int)(SWIG_As_int(obj4
));
4925 if (SWIG_arg_fail(5)) SWIG_fail
;
4930 arg6
= (int)(SWIG_As_int(obj5
));
4931 if (SWIG_arg_fail(6)) SWIG_fail
;
4936 arg7
= (bool)(SWIG_As_bool(obj6
));
4937 if (SWIG_arg_fail(7)) SWIG_fail
;
4941 if (!wxPyCheckForApp()) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4985 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxString
*arg1
= 0 ;
4988 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4989 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4990 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4992 wxWindow
*arg4
= (wxWindow
*) NULL
;
4994 bool temp1
= false ;
4995 bool temp2
= false ;
4996 bool temp3
= false ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 PyObject
* obj2
= 0 ;
5000 PyObject
* obj3
= 0 ;
5002 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5007 arg1
= wxString_in_helper(obj0
);
5008 if (arg1
== NULL
) SWIG_fail
;
5013 arg2
= wxString_in_helper(obj1
);
5014 if (arg2
== NULL
) SWIG_fail
;
5020 arg3
= wxString_in_helper(obj2
);
5021 if (arg3
== NULL
) SWIG_fail
;
5026 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5027 if (SWIG_arg_fail(4)) SWIG_fail
;
5030 if (!wxPyCheckForApp()) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5074 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxString
*arg1
= 0 ;
5077 wxString
*arg2
= 0 ;
5079 wxString
*arg4
= (wxString
*) 0 ;
5080 wxWindow
*arg5
= (wxWindow
*) NULL
;
5081 int arg6
= (int) -1 ;
5082 int arg7
= (int) -1 ;
5083 bool arg8
= (bool) true ;
5084 int arg9
= (int) 150 ;
5085 int arg10
= (int) 200 ;
5087 bool temp1
= false ;
5088 bool temp2
= false ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5091 PyObject
* obj2
= 0 ;
5092 PyObject
* obj3
= 0 ;
5093 PyObject
* obj4
= 0 ;
5094 PyObject
* obj5
= 0 ;
5095 PyObject
* obj6
= 0 ;
5096 PyObject
* obj7
= 0 ;
5097 PyObject
* obj8
= 0 ;
5099 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5104 arg1
= wxString_in_helper(obj0
);
5105 if (arg1
== NULL
) SWIG_fail
;
5109 arg2
= wxString_in_helper(obj1
);
5110 if (arg2
== NULL
) SWIG_fail
;
5114 arg3
= PyList_Size(obj2
);
5115 arg4
= wxString_LIST_helper(obj2
);
5116 if (arg4
== NULL
) SWIG_fail
;
5119 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5120 if (SWIG_arg_fail(5)) SWIG_fail
;
5124 arg6
= (int)(SWIG_As_int(obj4
));
5125 if (SWIG_arg_fail(6)) SWIG_fail
;
5130 arg7
= (int)(SWIG_As_int(obj5
));
5131 if (SWIG_arg_fail(7)) SWIG_fail
;
5136 arg8
= (bool)(SWIG_As_bool(obj6
));
5137 if (SWIG_arg_fail(8)) SWIG_fail
;
5142 arg9
= (int)(SWIG_As_int(obj7
));
5143 if (SWIG_arg_fail(9)) SWIG_fail
;
5148 arg10
= (int)(SWIG_As_int(obj8
));
5149 if (SWIG_arg_fail(10)) SWIG_fail
;
5153 if (!wxPyCheckForApp()) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5176 if (arg4
) delete [] arg4
;
5189 if (arg4
) delete [] arg4
;
5195 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxString
*arg1
= 0 ;
5198 wxString
*arg2
= 0 ;
5200 wxString
*arg4
= (wxString
*) 0 ;
5201 wxWindow
*arg5
= (wxWindow
*) NULL
;
5202 int arg6
= (int) -1 ;
5203 int arg7
= (int) -1 ;
5204 bool arg8
= (bool) true ;
5205 int arg9
= (int) 150 ;
5206 int arg10
= (int) 200 ;
5208 bool temp1
= false ;
5209 bool temp2
= false ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5212 PyObject
* obj2
= 0 ;
5213 PyObject
* obj3
= 0 ;
5214 PyObject
* obj4
= 0 ;
5215 PyObject
* obj5
= 0 ;
5216 PyObject
* obj6
= 0 ;
5217 PyObject
* obj7
= 0 ;
5218 PyObject
* obj8
= 0 ;
5220 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5225 arg1
= wxString_in_helper(obj0
);
5226 if (arg1
== NULL
) SWIG_fail
;
5230 arg2
= wxString_in_helper(obj1
);
5231 if (arg2
== NULL
) SWIG_fail
;
5235 arg3
= PyList_Size(obj2
);
5236 arg4
= wxString_LIST_helper(obj2
);
5237 if (arg4
== NULL
) SWIG_fail
;
5240 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5241 if (SWIG_arg_fail(5)) SWIG_fail
;
5245 arg6
= (int)(SWIG_As_int(obj4
));
5246 if (SWIG_arg_fail(6)) SWIG_fail
;
5251 arg7
= (int)(SWIG_As_int(obj5
));
5252 if (SWIG_arg_fail(7)) SWIG_fail
;
5257 arg8
= (bool)(SWIG_As_bool(obj6
));
5258 if (SWIG_arg_fail(8)) SWIG_fail
;
5263 arg9
= (int)(SWIG_As_int(obj7
));
5264 if (SWIG_arg_fail(9)) SWIG_fail
;
5269 arg10
= (int)(SWIG_As_int(obj8
));
5270 if (SWIG_arg_fail(10)) SWIG_fail
;
5274 if (!wxPyCheckForApp()) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= SWIG_From_int((int)(result
));
5293 if (arg4
) delete [] arg4
;
5306 if (arg4
) delete [] arg4
;
5312 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxString
*arg1
= 0 ;
5315 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5316 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5317 int arg3
= (int) wxOK
|wxCENTRE
;
5318 wxWindow
*arg4
= (wxWindow
*) NULL
;
5319 int arg5
= (int) -1 ;
5320 int arg6
= (int) -1 ;
5322 bool temp1
= false ;
5323 bool temp2
= false ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5326 PyObject
* obj2
= 0 ;
5327 PyObject
* obj3
= 0 ;
5328 PyObject
* obj4
= 0 ;
5329 PyObject
* obj5
= 0 ;
5331 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5336 arg1
= wxString_in_helper(obj0
);
5337 if (arg1
== NULL
) SWIG_fail
;
5342 arg2
= wxString_in_helper(obj1
);
5343 if (arg2
== NULL
) SWIG_fail
;
5349 arg3
= (int)(SWIG_As_int(obj2
));
5350 if (SWIG_arg_fail(3)) SWIG_fail
;
5354 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5355 if (SWIG_arg_fail(4)) SWIG_fail
;
5359 arg5
= (int)(SWIG_As_int(obj4
));
5360 if (SWIG_arg_fail(5)) SWIG_fail
;
5365 arg6
= (int)(SWIG_As_int(obj5
));
5366 if (SWIG_arg_fail(6)) SWIG_fail
;
5370 if (!wxPyCheckForApp()) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_From_int((int)(result
));
5402 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxString
*arg1
= 0 ;
5405 wxString
*arg2
= 0 ;
5406 wxString
*arg3
= 0 ;
5408 long arg5
= (long) 0 ;
5409 long arg6
= (long) 100 ;
5410 wxWindow
*arg7
= (wxWindow
*) NULL
;
5411 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5412 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5414 bool temp1
= false ;
5415 bool temp2
= false ;
5416 bool temp3
= false ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 PyObject
* obj2
= 0 ;
5421 PyObject
* obj3
= 0 ;
5422 PyObject
* obj4
= 0 ;
5423 PyObject
* obj5
= 0 ;
5424 PyObject
* obj6
= 0 ;
5425 PyObject
* obj7
= 0 ;
5427 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5432 arg1
= wxString_in_helper(obj0
);
5433 if (arg1
== NULL
) SWIG_fail
;
5437 arg2
= wxString_in_helper(obj1
);
5438 if (arg2
== NULL
) SWIG_fail
;
5442 arg3
= wxString_in_helper(obj2
);
5443 if (arg3
== NULL
) SWIG_fail
;
5447 arg4
= (long)(SWIG_As_long(obj3
));
5448 if (SWIG_arg_fail(4)) SWIG_fail
;
5452 arg5
= (long)(SWIG_As_long(obj4
));
5453 if (SWIG_arg_fail(5)) SWIG_fail
;
5458 arg6
= (long)(SWIG_As_long(obj5
));
5459 if (SWIG_arg_fail(6)) SWIG_fail
;
5463 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5464 if (SWIG_arg_fail(7)) SWIG_fail
;
5469 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5473 if (!wxPyCheckForApp()) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_long((long)(result
));
5513 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5522 if (!wxPyCheckForApp()) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (bool)wxColourDisplay();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5538 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5547 if (!wxPyCheckForApp()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (int)wxDisplayDepth();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_From_int((int)(result
));
5563 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5572 if (!wxPyCheckForApp()) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (int)wxGetDisplayDepth();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_From_int((int)(result
));
5588 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 int *arg1
= (int *) 0 ;
5591 int *arg2
= (int *) 0 ;
5600 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5601 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5604 if (!wxPyCheckForApp()) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 wxDisplaySize(arg1
,arg2
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5613 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5614 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5615 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5622 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5631 if (!wxPyCheckForApp()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= wxGetDisplaySize();
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5640 resultptr
= new wxSize((wxSize
&)(result
));
5641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5649 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 int *arg1
= (int *) 0 ;
5652 int *arg2
= (int *) 0 ;
5661 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5662 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5665 if (!wxPyCheckForApp()) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 wxDisplaySizeMM(arg1
,arg2
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5674 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5675 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5676 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5683 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5692 if (!wxPyCheckForApp()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= wxGetDisplaySizeMM();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 resultptr
= new wxSize((wxSize
&)(result
));
5702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5710 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 int *arg1
= (int *) 0 ;
5713 int *arg2
= (int *) 0 ;
5714 int *arg3
= (int *) 0 ;
5715 int *arg4
= (int *) 0 ;
5728 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5729 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5730 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5731 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5734 if (!wxPyCheckForApp()) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 Py_INCREF(Py_None
); resultobj
= Py_None
;
5742 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5743 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5744 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5745 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5746 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5747 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5748 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5749 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5756 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5765 if (!wxPyCheckForApp()) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= wxGetClientDisplayRect();
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5774 resultptr
= new wxRect((wxRect
&)(result
));
5775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5783 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxCursor
*arg1
= 0 ;
5786 PyObject
* obj0
= 0 ;
5788 (char *) "cursor", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5794 if (SWIG_arg_fail(1)) SWIG_fail
;
5796 SWIG_null_ref("wxCursor");
5798 if (SWIG_arg_fail(1)) SWIG_fail
;
5801 if (!wxPyCheckForApp()) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 Py_INCREF(Py_None
); resultobj
= Py_None
;
5815 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "cursor", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5826 if (SWIG_arg_fail(1)) SWIG_fail
;
5829 if (!wxPyCheckForApp()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 wxBeginBusyCursor(arg1
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 Py_INCREF(Py_None
); resultobj
= Py_None
;
5843 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5852 if (!wxPyCheckForApp()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (wxWindow
*)wxGetActiveWindow();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= wxPyMake_wxObject(result
, 0);
5868 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5873 PyObject
* obj0
= 0 ;
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5881 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5884 if (!wxPyCheckForApp()) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= wxPyMake_wxObject(result
, 0);
5900 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5905 PyObject
* obj0
= 0 ;
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5913 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5916 if (!wxPyCheckForApp()) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= wxPyMake_wxObject(result
, 0);
5932 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxWindow
*arg1
= (wxWindow
*) 0 ;
5936 PyObject
* obj0
= 0 ;
5938 (char *) "win", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 if (!wxPyCheckForApp()) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= wxPyMake_wxObject(result
, 0);
5961 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "key", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5972 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5973 if (SWIG_arg_fail(1)) SWIG_fail
;
5976 if (!wxPyCheckForApp()) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5992 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6000 if (!wxPyCheckForApp()) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 wxWakeUpMainThread();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 Py_INCREF(Py_None
); resultobj
= Py_None
;
6014 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6022 if (!wxPyCheckForApp()) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 Py_INCREF(Py_None
); resultobj
= Py_None
;
6036 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6044 if (!wxPyCheckForApp()) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxMutexGuiLocker
*result
;
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6067 if (!wxPyCheckForApp()) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6081 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6091 if (SWIG_arg_fail(1)) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6106 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6109 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6111 return Py_BuildValue((char *)"");
6113 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (bool)wxThread_IsMain();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6137 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxString
*arg1
= 0 ;
6141 bool temp1
= false ;
6142 PyObject
* obj0
= 0 ;
6144 (char *) "tip", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6149 arg1
= wxString_in_helper(obj0
);
6150 if (arg1
== NULL
) SWIG_fail
;
6154 if (!wxPyCheckForApp()) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= wxPyMake_wxObject(result
, 1);
6178 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6181 wxString
*arg2
= 0 ;
6182 bool temp2
= false ;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6186 (char *) "self",(char *) "tip", NULL
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6191 if (SWIG_arg_fail(1)) SWIG_fail
;
6193 arg2
= wxString_in_helper(obj1
);
6194 if (arg2
== NULL
) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 (arg1
)->SetTip((wxString
const &)*arg2
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6219 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6230 if (SWIG_arg_fail(1)) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (arg1
)->GetTip();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6251 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6257 (char *) "self", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6262 if (SWIG_arg_fail(1)) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (wxWindow
*)(arg1
)->GetWindow();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= wxPyMake_wxObject(result
, 0);
6279 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "flag", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6289 arg1
= (bool)(SWIG_As_bool(obj0
));
6290 if (SWIG_arg_fail(1)) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 wxToolTip::Enable(arg1
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 Py_INCREF(Py_None
); resultobj
= Py_None
;
6306 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "milliseconds", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6316 arg1
= (long)(SWIG_As_long(obj0
));
6317 if (SWIG_arg_fail(1)) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 wxToolTip::SetDelay(arg1
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 Py_INCREF(Py_None
); resultobj
= Py_None
;
6333 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6336 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6338 return Py_BuildValue((char *)"");
6340 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxWindow
*arg1
= (wxWindow
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6349 (char *) "window",(char *) "size", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6360 if (!wxPyCheckForApp()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6374 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxCaret
*arg1
= (wxCaret
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 wxCaret_Destroy(arg1
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 Py_INCREF(Py_None
); resultobj
= Py_None
;
6399 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxCaret
*arg1
= (wxCaret
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6405 (char *) "self", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6410 if (SWIG_arg_fail(1)) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (bool)(arg1
)->IsOk();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6427 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxCaret
*arg1
= (wxCaret
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (bool)(arg1
)->IsVisible();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxCaret
*arg1
= (wxCaret
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6461 (char *) "self", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6466 if (SWIG_arg_fail(1)) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (arg1
)->GetPosition();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 wxPoint
* resultptr
;
6476 resultptr
= new wxPoint((wxPoint
&)(result
));
6477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6485 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxCaret
*arg1
= (wxCaret
*) 0 ;
6488 int *arg2
= (int *) 0 ;
6489 int *arg3
= (int *) 0 ;
6494 PyObject
* obj0
= 0 ;
6496 (char *) "self", NULL
6499 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6500 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6503 if (SWIG_arg_fail(1)) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 (arg1
)->GetPosition(arg2
,arg3
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 Py_INCREF(Py_None
); resultobj
= Py_None
;
6512 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6513 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6515 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6522 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxCaret
*arg1
= (wxCaret
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (arg1
)->GetSize();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6543 resultptr
= new wxSize((wxSize
&)(result
));
6544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6552 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxCaret
*arg1
= (wxCaret
*) 0 ;
6555 int *arg2
= (int *) 0 ;
6556 int *arg3
= (int *) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6567 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6570 if (SWIG_arg_fail(1)) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->GetSize(arg2
,arg3
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6579 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6580 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6581 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6582 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6589 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxCaret
*arg1
= (wxCaret
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6595 (char *) "self", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 result
= (wxWindow
*)(arg1
)->GetWindow();
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6609 resultobj
= wxPyMake_wxObject(result
, 0);
6617 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxCaret
*arg1
= (wxCaret
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 PyObject
* obj2
= 0 ;
6626 (char *) "self",(char *) "x",(char *) "y", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6633 arg2
= (int)(SWIG_As_int(obj1
));
6634 if (SWIG_arg_fail(2)) SWIG_fail
;
6637 arg3
= (int)(SWIG_As_int(obj2
));
6638 if (SWIG_arg_fail(3)) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 (arg1
)->Move(arg2
,arg3
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 Py_INCREF(Py_None
); resultobj
= Py_None
;
6654 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxCaret
*arg1
= (wxCaret
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6660 PyObject
* obj1
= 0 ;
6662 (char *) "self",(char *) "pt", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail
;
6670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 (arg1
)->Move((wxPoint
const &)*arg2
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 Py_INCREF(Py_None
); resultobj
= Py_None
;
6686 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxCaret
*arg1
= (wxCaret
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6693 PyObject
* obj2
= 0 ;
6695 (char *) "self",(char *) "width",(char *) "height", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail
;
6702 arg2
= (int)(SWIG_As_int(obj1
));
6703 if (SWIG_arg_fail(2)) SWIG_fail
;
6706 arg3
= (int)(SWIG_As_int(obj2
));
6707 if (SWIG_arg_fail(3)) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 (arg1
)->SetSize(arg2
,arg3
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 Py_INCREF(Py_None
); resultobj
= Py_None
;
6723 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxCaret
*arg1
= (wxCaret
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6731 (char *) "self",(char *) "size", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6736 if (SWIG_arg_fail(1)) SWIG_fail
;
6739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 (arg1
)->SetSize((wxSize
const &)*arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 Py_INCREF(Py_None
); resultobj
= Py_None
;
6755 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxCaret
*arg1
= (wxCaret
*) 0 ;
6758 int arg2
= (int) true ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6762 (char *) "self",(char *) "show", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6767 if (SWIG_arg_fail(1)) SWIG_fail
;
6770 arg2
= (int)(SWIG_As_int(obj1
));
6771 if (SWIG_arg_fail(2)) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxCaret
*arg1
= (wxCaret
*) 0 ;
6791 PyObject
* obj0
= 0 ;
6793 (char *) "self", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6798 if (SWIG_arg_fail(1)) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 Py_INCREF(Py_None
); resultobj
= Py_None
;
6813 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (int)wxCaret::GetBlinkTime();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= SWIG_From_int((int)(result
));
6837 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6840 PyObject
* obj0
= 0 ;
6842 (char *) "milliseconds", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6847 arg1
= (int)(SWIG_As_int(obj0
));
6848 if (SWIG_arg_fail(1)) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxCaret::SetBlinkTime(arg1
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6867 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6869 return Py_BuildValue((char *)"");
6871 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6874 wxBusyCursor
*result
;
6875 PyObject
* obj0
= 0 ;
6877 (char *) "cursor", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6883 if (SWIG_arg_fail(1)) SWIG_fail
;
6886 if (!wxPyCheckForApp()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6900 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6905 (char *) "self", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6910 if (SWIG_arg_fail(1)) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 Py_INCREF(Py_None
); resultobj
= Py_None
;
6925 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6928 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6930 return Py_BuildValue((char *)"");
6932 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxWindow
*arg1
= (wxWindow
*) NULL
;
6935 wxWindowDisabler
*result
;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "winToSkip", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6944 if (SWIG_arg_fail(1)) SWIG_fail
;
6947 if (!wxPyCheckForApp()) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6961 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "self", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6971 if (SWIG_arg_fail(1)) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6989 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6991 return Py_BuildValue((char *)"");
6993 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxString
*arg1
= 0 ;
6997 bool temp1
= false ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "message", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7005 arg1
= wxString_in_helper(obj0
);
7006 if (arg1
== NULL
) SWIG_fail
;
7010 if (!wxPyCheckForApp()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7032 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7037 (char *) "self", NULL
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7042 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7060 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7062 return Py_BuildValue((char *)"");
7064 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxStopWatch
*result
;
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (wxStopWatch
*)new wxStopWatch();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7086 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7089 long arg2
= (long) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "self",(char *) "t0", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7098 if (SWIG_arg_fail(1)) SWIG_fail
;
7101 arg2
= (long)(SWIG_As_long(obj1
));
7102 if (SWIG_arg_fail(2)) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->Start(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7122 PyObject
* obj0
= 0 ;
7124 (char *) "self", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7129 if (SWIG_arg_fail(1)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7154 if (SWIG_arg_fail(1)) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "self", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7180 if (SWIG_arg_fail(1)) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_long((long)(result
));
7197 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7200 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7202 return Py_BuildValue((char *)"");
7204 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 int arg1
= (int) 9 ;
7207 int arg2
= (int) wxID_FILE1
;
7208 wxFileHistory
*result
;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7212 (char *) "maxFiles",(char *) "idBase", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7218 arg1
= (int)(SWIG_As_int(obj0
));
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7224 arg2
= (int)(SWIG_As_int(obj1
));
7225 if (SWIG_arg_fail(2)) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7242 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "self", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7270 wxString
*arg2
= 0 ;
7271 bool temp2
= false ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7275 (char *) "self",(char *) "file", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7280 if (SWIG_arg_fail(1)) SWIG_fail
;
7282 arg2
= wxString_in_helper(obj1
);
7283 if (arg2
== NULL
) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7315 (char *) "self",(char *) "i", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7320 if (SWIG_arg_fail(1)) SWIG_fail
;
7322 arg2
= (int)(SWIG_As_int(obj1
));
7323 if (SWIG_arg_fail(2)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 (arg1
)->RemoveFileFromHistory(arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7345 (char *) "self", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7350 if (SWIG_arg_fail(1)) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_From_int((int)(result
));
7367 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7370 wxMenu
*arg2
= (wxMenu
*) 0 ;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7374 (char *) "self",(char *) "menu", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7379 if (SWIG_arg_fail(1)) SWIG_fail
;
7380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7381 if (SWIG_arg_fail(2)) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 (arg1
)->UseMenu(arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7396 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7399 wxMenu
*arg2
= (wxMenu
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7401 PyObject
* obj1
= 0 ;
7403 (char *) "self",(char *) "menu", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7408 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(2)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->RemoveMenu(arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7428 wxConfigBase
*arg2
= 0 ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7432 (char *) "self",(char *) "config", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7437 if (SWIG_arg_fail(1)) SWIG_fail
;
7439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7440 if (SWIG_arg_fail(2)) SWIG_fail
;
7442 SWIG_null_ref("wxConfigBase");
7444 if (SWIG_arg_fail(2)) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 (arg1
)->Load(*arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7463 wxConfigBase
*arg2
= 0 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 (char *) "self",(char *) "config", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7472 if (SWIG_arg_fail(1)) SWIG_fail
;
7474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(2)) SWIG_fail
;
7477 SWIG_null_ref("wxConfigBase");
7479 if (SWIG_arg_fail(2)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->Save(*arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7500 (char *) "self", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7505 if (SWIG_arg_fail(1)) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 (arg1
)->AddFilesToMenu();
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 Py_INCREF(Py_None
); resultobj
= Py_None
;
7520 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7523 wxMenu
*arg2
= (wxMenu
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7527 (char *) "self",(char *) "menu", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail
;
7533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(2)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 (arg1
)->AddFilesToMenu(arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "i", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7564 arg2
= (int)(SWIG_As_int(obj1
));
7565 if (SWIG_arg_fail(2)) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7587 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7593 (char *) "self", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7598 if (SWIG_arg_fail(1)) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_From_int((int)(result
));
7615 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7618 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7620 return Py_BuildValue((char *)"");
7622 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxString
*arg1
= 0 ;
7625 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7626 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7627 wxSingleInstanceChecker
*result
;
7628 bool temp1
= false ;
7629 bool temp2
= false ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "name",(char *) "path", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 arg1
= wxString_in_helper(obj0
);
7639 if (arg1
== NULL
) SWIG_fail
;
7644 arg2
= wxString_in_helper(obj1
);
7645 if (arg2
== NULL
) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7679 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxSingleInstanceChecker
*result
;
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7701 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7706 (char *) "self", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7711 if (SWIG_arg_fail(1)) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7729 wxString
*arg2
= 0 ;
7730 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7731 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7733 bool temp2
= false ;
7734 bool temp3
= false ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7737 PyObject
* obj2
= 0 ;
7739 (char *) "self",(char *) "name",(char *) "path", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail
;
7746 arg2
= wxString_in_helper(obj1
);
7747 if (arg2
== NULL
) SWIG_fail
;
7752 arg3
= wxString_in_helper(obj2
);
7753 if (arg3
== NULL
) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7789 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "self", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7817 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7820 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7822 return Py_BuildValue((char *)"");
7824 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxWindow
*arg1
= (wxWindow
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7832 (char *) "window",(char *) "dc", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail
;
7839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7840 if (SWIG_arg_fail(2)) SWIG_fail
;
7842 SWIG_null_ref("wxDC");
7844 if (SWIG_arg_fail(2)) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7862 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7887 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (arg1
)->GetTip();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7919 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "self", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7930 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (size_t)(arg1
)->GetCurrentTip();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7947 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7950 wxString
*arg2
= 0 ;
7952 bool temp2
= false ;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7956 (char *) "self",(char *) "tip", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail
;
7963 arg2
= wxString_in_helper(obj1
);
7964 if (arg2
== NULL
) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7995 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7998 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8000 return Py_BuildValue((char *)"");
8002 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8005 wxPyTipProvider
*result
;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "currentTip", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8013 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8014 if (SWIG_arg_fail(1)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8030 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8033 PyObject
*arg2
= (PyObject
*) 0 ;
8034 PyObject
*arg3
= (PyObject
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 PyObject
* obj2
= 0 ;
8039 (char *) "self",(char *) "self",(char *) "_class", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 Py_INCREF(Py_None
); resultobj
= Py_None
;
8061 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8064 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8066 return Py_BuildValue((char *)"");
8068 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxWindow
*arg1
= (wxWindow
*) 0 ;
8071 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8072 bool arg3
= (bool) true ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8078 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail
;
8084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(2)) SWIG_fail
;
8088 arg3
= (bool)(SWIG_As_bool(obj2
));
8089 if (SWIG_arg_fail(3)) SWIG_fail
;
8093 if (!wxPyCheckForApp()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8109 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxString
*arg1
= 0 ;
8113 wxTipProvider
*result
;
8114 bool temp1
= false ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8118 (char *) "filename",(char *) "currentTip", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8123 arg1
= wxString_in_helper(obj0
);
8124 if (arg1
== NULL
) SWIG_fail
;
8128 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8129 if (SWIG_arg_fail(2)) SWIG_fail
;
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8154 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8157 int arg2
= (int) -1 ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8162 (char *) "owner",(char *) "id", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8168 if (SWIG_arg_fail(1)) SWIG_fail
;
8172 arg2
= (int)(SWIG_As_int(obj1
));
8173 if (SWIG_arg_fail(2)) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8191 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8201 if (SWIG_arg_fail(1)) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 Py_INCREF(Py_None
); resultobj
= Py_None
;
8216 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8219 PyObject
*arg2
= (PyObject
*) 0 ;
8220 PyObject
*arg3
= (PyObject
*) 0 ;
8221 int arg4
= (int) 1 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 PyObject
* obj2
= 0 ;
8225 PyObject
* obj3
= 0 ;
8227 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8232 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 arg4
= (int)(SWIG_As_int(obj3
));
8238 if (SWIG_arg_fail(4)) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8255 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8258 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8259 int arg3
= (int) -1 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8264 (char *) "self",(char *) "owner",(char *) "id", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8269 if (SWIG_arg_fail(1)) SWIG_fail
;
8270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8271 if (SWIG_arg_fail(2)) SWIG_fail
;
8274 arg3
= (int)(SWIG_As_int(obj2
));
8275 if (SWIG_arg_fail(3)) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 (arg1
)->SetOwner(arg2
,arg3
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8295 wxEvtHandler
*result
;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8303 if (SWIG_arg_fail(1)) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= wxPyMake_wxObject(result
, 0);
8320 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8323 int arg2
= (int) -1 ;
8324 bool arg3
= (bool) false ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 PyObject
* obj2
= 0 ;
8330 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8338 arg2
= (int)(SWIG_As_int(obj1
));
8339 if (SWIG_arg_fail(2)) SWIG_fail
;
8344 arg3
= (bool)(SWIG_As_bool(obj2
));
8345 if (SWIG_arg_fail(3)) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8364 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8369 (char *) "self", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8374 if (SWIG_arg_fail(1)) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8395 (char *) "self", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8400 if (SWIG_arg_fail(1)) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8417 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8428 if (SWIG_arg_fail(1)) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_From_int((int)(result
));
8445 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8449 PyObject
* obj0
= 0 ;
8451 (char *) "self", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8456 if (SWIG_arg_fail(1)) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8473 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "self", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8484 if (SWIG_arg_fail(1)) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= SWIG_From_int((int)(result
));
8501 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8504 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8506 return Py_BuildValue((char *)"");
8508 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 int arg1
= (int) 0 ;
8511 int arg2
= (int) 0 ;
8512 wxTimerEvent
*result
;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "timerid",(char *) "interval", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8522 arg1
= (int)(SWIG_As_int(obj0
));
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8528 arg2
= (int)(SWIG_As_int(obj1
));
8529 if (SWIG_arg_fail(2)) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8546 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8557 if (SWIG_arg_fail(1)) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_From_int((int)(result
));
8574 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8579 return Py_BuildValue((char *)"");
8581 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8582 PyObject
*resultobj
;
8584 wxTimerRunner
*result
;
8585 PyObject
* obj0
= 0 ;
8587 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail
;
8592 SWIG_null_ref("wxTimer");
8594 if (SWIG_arg_fail(1)) SWIG_fail
;
8597 if (!wxPyCheckForApp()) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8611 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8612 PyObject
*resultobj
;
8615 bool arg3
= (bool) false ;
8616 wxTimerRunner
*result
;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8621 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8624 if (SWIG_arg_fail(1)) SWIG_fail
;
8626 SWIG_null_ref("wxTimer");
8628 if (SWIG_arg_fail(1)) SWIG_fail
;
8631 arg2
= (int)(SWIG_As_int(obj1
));
8632 if (SWIG_arg_fail(2)) SWIG_fail
;
8636 arg3
= (bool)(SWIG_As_bool(obj2
));
8637 if (SWIG_arg_fail(3)) SWIG_fail
;
8641 if (!wxPyCheckForApp()) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8655 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8660 argc
= PyObject_Length(args
);
8661 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8662 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8668 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8676 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8679 if ((argc
>= 2) && (argc
<= 3)) {
8683 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8691 _v
= SWIG_Check_int(argv
[1]);
8694 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8696 _v
= SWIG_Check_bool(argv
[2]);
8698 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8704 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8709 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8738 bool arg3
= (bool) false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8743 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail
;
8750 arg2
= (int)(SWIG_As_int(obj1
));
8751 if (SWIG_arg_fail(2)) SWIG_fail
;
8755 arg3
= (bool)(SWIG_As_bool(obj2
));
8756 if (SWIG_arg_fail(3)) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 (arg1
)->Start(arg2
,arg3
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 Py_INCREF(Py_None
); resultobj
= Py_None
;
8773 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8776 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8778 return Py_BuildValue((char *)"");
8780 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxLog
*)new wxLog();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8802 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (bool)wxLog::IsEnabled();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8826 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 bool arg1
= (bool) true ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "doIt", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8838 arg1
= (bool)(SWIG_As_bool(obj0
));
8839 if (SWIG_arg_fail(1)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)wxLog::EnableLogging(arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8861 wxChar
*arg2
= (wxChar
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8867 (char *) "level",(char *) "szString",(char *) "t", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8876 if (SWIG_arg_fail(2)) SWIG_fail
;
8878 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8879 if (SWIG_arg_fail(3)) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxLog
*arg1
= (wxLog
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "self", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8905 if (SWIG_arg_fail(1)) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 wxLog::FlushActive();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (wxLog
*)wxLog::GetActiveTarget();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8963 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxLog
*arg1
= (wxLog
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8969 (char *) "pLogger", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8989 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 bool arg1
= (bool) true ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "bVerbose", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9042 arg1
= (bool)(SWIG_As_bool(obj0
));
9043 if (SWIG_arg_fail(1)) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 wxLog::SetVerbose(arg1
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 Py_INCREF(Py_None
); resultobj
= Py_None
;
9060 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "logLevel", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9070 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9071 if (SWIG_arg_fail(1)) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 wxLog::SetLogLevel(arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 Py_INCREF(Py_None
); resultobj
= Py_None
;
9087 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 wxLog::DontCreateOnDemand();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "ulMask", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9118 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9119 if (SWIG_arg_fail(1)) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 wxLog::SetTraceMask(arg1
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxString
*arg1
= 0 ;
9138 bool temp1
= false ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "str", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9146 arg1
= wxString_in_helper(obj0
);
9147 if (arg1
== NULL
) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 wxLog::AddTraceMask((wxString
const &)*arg1
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 Py_INCREF(Py_None
); resultobj
= Py_None
;
9172 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxString
*arg1
= 0 ;
9175 bool temp1
= false ;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "str", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9183 arg1
= wxString_in_helper(obj0
);
9184 if (arg1
== NULL
) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 wxLog::ClearTraceMasks();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxArrayString
*result
;
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9242 result
= (wxArrayString
*) &_result_ref
;
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= wxArrayString2PyList_helper(*result
);
9257 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxChar
*arg1
= (wxChar
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9267 if (SWIG_arg_fail(1)) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 wxLog::SetTimestamp((wxChar
const *)arg1
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 Py_INCREF(Py_None
); resultobj
= Py_None
;
9282 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)wxLog::GetVerbose();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (wxTraceMask
)wxLog::GetTraceMask();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9330 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxChar
*arg1
= (wxChar
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "mask", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (wxLogLevel
)wxLog::GetLogLevel();
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9382 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (wxChar
*)wxLog::GetTimestamp();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9404 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= Log_TimeStamp();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9432 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxLog
*arg1
= (wxLog
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 wxLog_Destroy(arg1
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 Py_INCREF(Py_None
); resultobj
= Py_None
;
9457 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9460 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9462 return Py_BuildValue((char *)"");
9464 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxLogStderr
*result
;
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (wxLogStderr
*)new wxLogStderr();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9486 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9489 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9491 return Py_BuildValue((char *)"");
9493 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9496 wxLogTextCtrl
*result
;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "pTextCtrl", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9519 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9522 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9524 return Py_BuildValue((char *)"");
9526 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (wxLogGui
*)new wxLogGui();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9548 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9551 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9553 return Py_BuildValue((char *)"");
9555 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxFrame
*arg1
= (wxFrame
*) 0 ;
9558 wxString
*arg2
= 0 ;
9559 bool arg3
= (bool) true ;
9560 bool arg4
= (bool) true ;
9561 wxLogWindow
*result
;
9562 bool temp2
= false ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9565 PyObject
* obj2
= 0 ;
9566 PyObject
* obj3
= 0 ;
9568 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9573 if (SWIG_arg_fail(1)) SWIG_fail
;
9575 arg2
= wxString_in_helper(obj1
);
9576 if (arg2
== NULL
) SWIG_fail
;
9581 arg3
= (bool)(SWIG_As_bool(obj2
));
9582 if (SWIG_arg_fail(3)) SWIG_fail
;
9587 arg4
= (bool)(SWIG_As_bool(obj3
));
9588 if (SWIG_arg_fail(4)) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9613 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9616 bool arg2
= (bool) true ;
9617 PyObject
* obj0
= 0 ;
9618 PyObject
* obj1
= 0 ;
9620 (char *) "self",(char *) "bShow", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail
;
9628 arg2
= (bool)(SWIG_As_bool(obj1
));
9629 if (SWIG_arg_fail(2)) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 Py_INCREF(Py_None
); resultobj
= Py_None
;
9646 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= wxPyMake_wxObject(result
, 0);
9674 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9680 (char *) "self", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9685 if (SWIG_arg_fail(1)) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9700 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9711 if (SWIG_arg_fail(1)) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9735 (char *) "self",(char *) "bDoPass", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9740 if (SWIG_arg_fail(1)) SWIG_fail
;
9742 arg2
= (bool)(SWIG_As_bool(obj1
));
9743 if (SWIG_arg_fail(2)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->PassMessages(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9762 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9764 return Py_BuildValue((char *)"");
9766 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxLog
*arg1
= (wxLog
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 (char *) "logger", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (wxLogChain
*)new wxLogChain(arg1
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9792 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9795 wxLog
*arg2
= (wxLog
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "logger", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail
;
9805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9806 if (SWIG_arg_fail(2)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 (arg1
)->SetLog(arg2
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 Py_INCREF(Py_None
); resultobj
= Py_None
;
9821 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9828 (char *) "self",(char *) "bDoPass", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9833 if (SWIG_arg_fail(1)) SWIG_fail
;
9835 arg2
= (bool)(SWIG_As_bool(obj1
));
9836 if (SWIG_arg_fail(2)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 (arg1
)->PassMessages(arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 Py_INCREF(Py_None
); resultobj
= Py_None
;
9852 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (bool)(arg1
)->IsPassingMessages();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9880 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (wxLog
*)(arg1
)->GetOldLog();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9906 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9909 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9911 return Py_BuildValue((char *)"");
9913 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 unsigned long result
;
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (unsigned long)wxSysErrorCode();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9937 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 unsigned long arg1
= (unsigned long) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "nErrCode", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9949 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9950 if (SWIG_arg_fail(1)) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= wxSysErrorMsg(arg1
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9973 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxString
*arg1
= 0 ;
9976 bool temp1
= false ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "msg", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9984 arg1
= wxString_in_helper(obj0
);
9985 if (arg1
== NULL
) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 wxPyLogFatalError((wxString
const &)*arg1
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 Py_INCREF(Py_None
); resultobj
= Py_None
;
10010 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxString
*arg1
= 0 ;
10013 bool temp1
= false ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "msg", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10021 arg1
= wxString_in_helper(obj0
);
10022 if (arg1
== NULL
) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 wxPyLogError((wxString
const &)*arg1
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10047 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxString
*arg1
= 0 ;
10050 bool temp1
= false ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "msg", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10058 arg1
= wxString_in_helper(obj0
);
10059 if (arg1
== NULL
) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxPyLogWarning((wxString
const &)*arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 Py_INCREF(Py_None
); resultobj
= Py_None
;
10084 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxString
*arg1
= 0 ;
10087 bool temp1
= false ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "msg", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10095 arg1
= wxString_in_helper(obj0
);
10096 if (arg1
== NULL
) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 wxPyLogMessage((wxString
const &)*arg1
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxString
*arg1
= 0 ;
10124 bool temp1
= false ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "msg", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10132 arg1
= wxString_in_helper(obj0
);
10133 if (arg1
== NULL
) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 wxPyLogInfo((wxString
const &)*arg1
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxString
*arg1
= 0 ;
10161 bool temp1
= false ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "msg", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10169 arg1
= wxString_in_helper(obj0
);
10170 if (arg1
== NULL
) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 wxPyLogDebug((wxString
const &)*arg1
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 Py_INCREF(Py_None
); resultobj
= Py_None
;
10195 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxString
*arg1
= 0 ;
10198 bool temp1
= false ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "msg", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10206 arg1
= wxString_in_helper(obj0
);
10207 if (arg1
== NULL
) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxPyLogVerbose((wxString
const &)*arg1
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 Py_INCREF(Py_None
); resultobj
= Py_None
;
10232 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxString
*arg1
= 0 ;
10235 bool temp1
= false ;
10236 PyObject
* obj0
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "msg", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10243 arg1
= wxString_in_helper(obj0
);
10244 if (arg1
== NULL
) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 wxPyLogStatus((wxString
const &)*arg1
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxFrame
*arg1
= (wxFrame
*) 0 ;
10272 wxString
*arg2
= 0 ;
10273 bool temp2
= false ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "pFrame",(char *) "msg", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10282 if (SWIG_arg_fail(1)) SWIG_fail
;
10284 arg2
= wxString_in_helper(obj1
);
10285 if (arg2
== NULL
) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10310 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxString
*arg1
= 0 ;
10313 bool temp1
= false ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "msg", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10321 arg1
= wxString_in_helper(obj0
);
10322 if (arg1
== NULL
) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 wxPyLogSysError((wxString
const &)*arg1
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 unsigned long arg1
;
10350 wxString
*arg2
= 0 ;
10351 bool temp2
= false ;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "level",(char *) "msg", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10360 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10364 arg2
= wxString_in_helper(obj1
);
10365 if (arg2
== NULL
) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 Py_INCREF(Py_None
); resultobj
= Py_None
;
10390 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10391 PyObject
*resultobj
;
10392 unsigned long arg1
;
10393 wxString
*arg2
= 0 ;
10394 bool temp2
= false ;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10398 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10400 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10401 if (SWIG_arg_fail(1)) SWIG_fail
;
10404 arg2
= wxString_in_helper(obj1
);
10405 if (arg2
== NULL
) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10431 PyObject
*resultobj
;
10432 wxString
*arg1
= 0 ;
10433 wxString
*arg2
= 0 ;
10434 bool temp1
= false ;
10435 bool temp2
= false ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10439 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10441 arg1
= wxString_in_helper(obj0
);
10442 if (arg1
== NULL
) SWIG_fail
;
10446 arg2
= wxString_in_helper(obj1
);
10447 if (arg2
== NULL
) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10485 argc
= PyObject_Length(args
);
10486 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10492 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10496 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10499 return _wrap_LogTrace__SWIG_1(self
,args
);
10505 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10508 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10511 return _wrap_LogTrace__SWIG_0(self
,args
);
10516 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10521 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxString
*arg1
= 0 ;
10524 wxString
*arg2
= 0 ;
10525 bool temp1
= false ;
10526 bool temp2
= false ;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "title",(char *) "text", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10535 arg1
= wxString_in_helper(obj0
);
10536 if (arg1
== NULL
) SWIG_fail
;
10540 arg2
= wxString_in_helper(obj1
);
10541 if (arg2
== NULL
) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10577 char *kwnames
[] = {
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (wxLogNull
*)new wxLogNull();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10596 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10606 if (SWIG_arg_fail(1)) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10626 return Py_BuildValue((char *)"");
10628 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10631 char *kwnames
[] = {
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (wxPyLog
*)new wxPyLog();
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10650 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10653 PyObject
*arg2
= (PyObject
*) 0 ;
10654 PyObject
*arg3
= (PyObject
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 PyObject
* obj2
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "self",(char *) "_class", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10664 if (SWIG_arg_fail(1)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10684 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10686 return Py_BuildValue((char *)"");
10688 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10691 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10692 int arg3
= (int) wxKILL_NOCHILDREN
;
10693 wxKillError result
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10703 arg1
= (int)(SWIG_As_int(obj0
));
10704 if (SWIG_arg_fail(1)) SWIG_fail
;
10708 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10709 if (SWIG_arg_fail(2)) SWIG_fail
;
10714 arg3
= (int)(SWIG_As_int(obj2
));
10715 if (SWIG_arg_fail(3)) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_From_int((result
));
10732 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "pid", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10743 arg1
= (int)(SWIG_As_int(obj0
));
10744 if (SWIG_arg_fail(1)) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (bool)wxPyProcess::Exists(arg1
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10762 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxString
*arg1
= 0 ;
10765 int arg2
= (int) wxEXEC_ASYNC
;
10766 wxPyProcess
*result
;
10767 bool temp1
= false ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "cmd",(char *) "flags", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 arg1
= wxString_in_helper(obj0
);
10777 if (arg1
== NULL
) SWIG_fail
;
10782 arg2
= (int)(SWIG_As_int(obj1
));
10783 if (SWIG_arg_fail(2)) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10808 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10811 int arg2
= (int) -1 ;
10812 wxPyProcess
*result
;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "parent",(char *) "id", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10826 arg2
= (int)(SWIG_As_int(obj1
));
10827 if (SWIG_arg_fail(2)) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10844 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10847 PyObject
*arg2
= (PyObject
*) 0 ;
10848 PyObject
*arg3
= (PyObject
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "self",(char *) "_class", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10858 if (SWIG_arg_fail(1)) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "pid",(char *) "status", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10889 if (SWIG_arg_fail(1)) SWIG_fail
;
10891 arg2
= (int)(SWIG_As_int(obj1
));
10892 if (SWIG_arg_fail(2)) SWIG_fail
;
10895 arg3
= (int)(SWIG_As_int(obj2
));
10896 if (SWIG_arg_fail(3)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->base_OnTerminate(arg2
,arg3
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10922 if (SWIG_arg_fail(1)) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->Redirect();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)(arg1
)->IsRedirected();
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10965 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10975 if (SWIG_arg_fail(1)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 Py_INCREF(Py_None
); resultobj
= Py_None
;
10990 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
;
10992 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10993 wxInputStream
*result
;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 wxPyInputStream
* _ptr
= NULL
;
11013 _ptr
= new wxPyInputStream(result
);
11015 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11023 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11026 wxInputStream
*result
;
11027 PyObject
* obj0
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 wxPyInputStream
* _ptr
= NULL
;
11046 _ptr
= new wxPyInputStream(result
);
11048 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11056 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11059 wxOutputStream
*result
;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11067 if (SWIG_arg_fail(1)) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11082 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11085 PyObject
* obj0
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11092 if (SWIG_arg_fail(1)) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->CloseOutput();
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11107 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11118 if (SWIG_arg_fail(1)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11146 if (SWIG_arg_fail(1)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11163 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11174 if (SWIG_arg_fail(1)) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11191 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11194 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11196 return Py_BuildValue((char *)"");
11198 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 int arg1
= (int) 0 ;
11201 int arg2
= (int) 0 ;
11202 int arg3
= (int) 0 ;
11203 wxProcessEvent
*result
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11214 arg1
= (int)(SWIG_As_int(obj0
));
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11220 arg2
= (int)(SWIG_As_int(obj1
));
11221 if (SWIG_arg_fail(2)) SWIG_fail
;
11226 arg3
= (int)(SWIG_As_int(obj2
));
11227 if (SWIG_arg_fail(3)) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11244 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11255 if (SWIG_arg_fail(1)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (int)(arg1
)->GetPid();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_From_int((int)(result
));
11272 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11283 if (SWIG_arg_fail(1)) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (int)(arg1
)->GetExitCode();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_From_int((int)(result
));
11300 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "m_pid", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail
;
11314 arg2
= (int)(SWIG_As_int(obj1
));
11315 if (SWIG_arg_fail(2)) SWIG_fail
;
11317 if (arg1
) (arg1
)->m_pid
= arg2
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail
;
11338 result
= (int) ((arg1
)->m_pid
);
11341 resultobj
= SWIG_From_int((int)(result
));
11349 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "m_exitcode", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11361 if (SWIG_arg_fail(1)) SWIG_fail
;
11363 arg2
= (int)(SWIG_As_int(obj1
));
11364 if (SWIG_arg_fail(2)) SWIG_fail
;
11366 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11386 if (SWIG_arg_fail(1)) SWIG_fail
;
11387 result
= (int) ((arg1
)->m_exitcode
);
11390 resultobj
= SWIG_From_int((int)(result
));
11398 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11401 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11403 return Py_BuildValue((char *)"");
11405 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxString
*arg1
= 0 ;
11408 int arg2
= (int) wxEXEC_ASYNC
;
11409 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11411 bool temp1
= false ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 PyObject
* obj2
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "command",(char *) "flags",(char *) "process", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11421 arg1
= wxString_in_helper(obj0
);
11422 if (arg1
== NULL
) SWIG_fail
;
11427 arg2
= (int)(SWIG_As_int(obj1
));
11428 if (SWIG_arg_fail(2)) SWIG_fail
;
11432 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11433 if (SWIG_arg_fail(3)) SWIG_fail
;
11436 if (!wxPyCheckForApp()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_From_long((long)(result
));
11460 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11463 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11464 wxKillError
*arg3
= (wxKillError
*) 0 ;
11465 int arg4
= (int) wxKILL_NOCHILDREN
;
11467 wxKillError temp3
;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 PyObject
* obj2
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11480 arg1
= (long)(SWIG_As_long(obj0
));
11481 if (SWIG_arg_fail(1)) SWIG_fail
;
11485 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11486 if (SWIG_arg_fail(2)) SWIG_fail
;
11491 arg4
= (int)(SWIG_As_int(obj2
));
11492 if (SWIG_arg_fail(4)) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_From_int((int)(result
));
11507 o
= PyInt_FromLong((long) (*arg3
));
11508 resultobj
= t_output_helper(resultobj
, o
);
11516 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 int arg1
= (int) wxJOYSTICK1
;
11519 wxJoystick
*result
;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "joystick", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11528 arg1
= (int)(SWIG_As_int(obj0
));
11529 if (SWIG_arg_fail(1)) SWIG_fail
;
11533 if (!wxPyCheckForApp()) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxJoystick
*)new wxJoystick(arg1
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11547 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11550 PyObject
* obj0
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11557 if (SWIG_arg_fail(1)) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11583 if (SWIG_arg_fail(1)) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (arg1
)->GetPosition();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 wxPoint
* resultptr
;
11593 resultptr
= new wxPoint((wxPoint
&)(result
));
11594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11602 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11613 if (SWIG_arg_fail(1)) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (int)(arg1
)->GetZPosition();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_From_int((int)(result
));
11630 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11641 if (SWIG_arg_fail(1)) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (int)(arg1
)->GetButtonState();
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_From_int((int)(result
));
11658 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11660 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11669 if (SWIG_arg_fail(1)) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (int)(arg1
)->GetPOVPosition();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_From_int((int)(result
));
11686 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (int)(arg1
)->GetPOVCTSPosition();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_From_int((int)(result
));
11714 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11718 PyObject
* obj0
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11725 if (SWIG_arg_fail(1)) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (int)(arg1
)->GetRudderPosition();
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_From_int((int)(result
));
11742 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11753 if (SWIG_arg_fail(1)) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)(arg1
)->GetUPosition();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_From_int((int)(result
));
11770 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11781 if (SWIG_arg_fail(1)) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)(arg1
)->GetVPosition();
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_From_int((int)(result
));
11798 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11802 PyObject
* obj0
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11809 if (SWIG_arg_fail(1)) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)(arg1
)->GetMovementThreshold();
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_From_int((int)(result
));
11826 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "threshold", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail
;
11840 arg2
= (int)(SWIG_As_int(obj1
));
11841 if (SWIG_arg_fail(2)) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetMovementThreshold(arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11868 if (SWIG_arg_fail(1)) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)(arg1
)->IsOk();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11885 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11889 PyObject
* obj0
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "self", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11896 if (SWIG_arg_fail(1)) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (int)(arg1
)->GetNumberJoysticks();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_From_int((int)(result
));
11913 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11924 if (SWIG_arg_fail(1)) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (int)(arg1
)->GetManufacturerId();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_From_int((int)(result
));
11941 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11952 if (SWIG_arg_fail(1)) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (int)(arg1
)->GetProductId();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_From_int((int)(result
));
11969 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11980 if (SWIG_arg_fail(1)) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (arg1
)->GetProductName();
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12001 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12012 if (SWIG_arg_fail(1)) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (int)(arg1
)->GetXMin();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_From_int((int)(result
));
12029 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12040 if (SWIG_arg_fail(1)) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (int)(arg1
)->GetYMin();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_From_int((int)(result
));
12057 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12068 if (SWIG_arg_fail(1)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (int)(arg1
)->GetZMin();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_From_int((int)(result
));
12085 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12096 if (SWIG_arg_fail(1)) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (int)(arg1
)->GetXMax();
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_From_int((int)(result
));
12113 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12117 PyObject
* obj0
= 0 ;
12118 char *kwnames
[] = {
12119 (char *) "self", NULL
12122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12124 if (SWIG_arg_fail(1)) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (int)(arg1
)->GetYMax();
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int((int)(result
));
12141 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12152 if (SWIG_arg_fail(1)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (int)(arg1
)->GetZMax();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_From_int((int)(result
));
12169 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12180 if (SWIG_arg_fail(1)) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (int)(arg1
)->GetNumberButtons();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_From_int((int)(result
));
12197 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12208 if (SWIG_arg_fail(1)) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (int)(arg1
)->GetNumberAxes();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= SWIG_From_int((int)(result
));
12225 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12236 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (int)(arg1
)->GetMaxButtons();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= SWIG_From_int((int)(result
));
12253 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12264 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (int)(arg1
)->GetMaxAxes();
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_From_int((int)(result
));
12281 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12292 if (SWIG_arg_fail(1)) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (int)(arg1
)->GetPollingMin();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_From_int((int)(result
));
12309 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12320 if (SWIG_arg_fail(1)) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (int)(arg1
)->GetPollingMax();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_From_int((int)(result
));
12337 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12348 if (SWIG_arg_fail(1)) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (int)(arg1
)->GetRudderMin();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_From_int((int)(result
));
12365 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12376 if (SWIG_arg_fail(1)) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)(arg1
)->GetRudderMax();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_From_int((int)(result
));
12393 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12397 PyObject
* obj0
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12404 if (SWIG_arg_fail(1)) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (int)(arg1
)->GetUMin();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_From_int((int)(result
));
12421 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12432 if (SWIG_arg_fail(1)) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (int)(arg1
)->GetUMax();
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_From_int((int)(result
));
12449 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12460 if (SWIG_arg_fail(1)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (int)(arg1
)->GetVMin();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_From_int((int)(result
));
12477 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12488 if (SWIG_arg_fail(1)) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (int)(arg1
)->GetVMax();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_From_int((int)(result
));
12505 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12516 if (SWIG_arg_fail(1)) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (bool)(arg1
)->HasRudder();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12533 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12544 if (SWIG_arg_fail(1)) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (bool)(arg1
)->HasZ();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12561 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(1)) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (bool)(arg1
)->HasU();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12589 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12593 PyObject
* obj0
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12600 if (SWIG_arg_fail(1)) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (bool)(arg1
)->HasV();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12617 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12621 PyObject
* obj0
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12628 if (SWIG_arg_fail(1)) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)(arg1
)->HasPOV();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12645 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12656 if (SWIG_arg_fail(1)) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (bool)(arg1
)->HasPOV4Dir();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12673 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12684 if (SWIG_arg_fail(1)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (bool)(arg1
)->HasPOVCTS();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12701 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12704 wxWindow
*arg2
= (wxWindow
*) 0 ;
12705 int arg3
= (int) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 PyObject
* obj2
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12716 if (SWIG_arg_fail(1)) SWIG_fail
;
12717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12718 if (SWIG_arg_fail(2)) SWIG_fail
;
12721 arg3
= (int)(SWIG_As_int(obj2
));
12722 if (SWIG_arg_fail(3)) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12741 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12752 if (SWIG_arg_fail(1)) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (bool)(arg1
)->ReleaseCapture();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12769 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12772 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12774 return Py_BuildValue((char *)"");
12776 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12779 int arg2
= (int) 0 ;
12780 int arg3
= (int) wxJOYSTICK1
;
12781 int arg4
= (int) 0 ;
12782 wxJoystickEvent
*result
;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 PyObject
* obj3
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12794 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12800 arg2
= (int)(SWIG_As_int(obj1
));
12801 if (SWIG_arg_fail(2)) SWIG_fail
;
12806 arg3
= (int)(SWIG_As_int(obj2
));
12807 if (SWIG_arg_fail(3)) SWIG_fail
;
12812 arg4
= (int)(SWIG_As_int(obj3
));
12813 if (SWIG_arg_fail(4)) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12830 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 wxPoint
* resultptr
;
12851 resultptr
= new wxPoint((wxPoint
&)(result
));
12852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12860 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12871 if (SWIG_arg_fail(1)) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_From_int((int)(result
));
12888 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= SWIG_From_int((int)(result
));
12916 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12927 if (SWIG_arg_fail(1)) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_From_int((int)(result
));
12944 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12955 if (SWIG_arg_fail(1)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_From_int((int)(result
));
12972 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self",(char *) "stick", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12984 if (SWIG_arg_fail(1)) SWIG_fail
;
12986 arg2
= (int)(SWIG_As_int(obj1
));
12987 if (SWIG_arg_fail(2)) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 (arg1
)->SetJoystick(arg2
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 Py_INCREF(Py_None
); resultobj
= Py_None
;
13003 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self",(char *) "state", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13015 if (SWIG_arg_fail(1)) SWIG_fail
;
13017 arg2
= (int)(SWIG_As_int(obj1
));
13018 if (SWIG_arg_fail(2)) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 (arg1
)->SetButtonState(arg2
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 Py_INCREF(Py_None
); resultobj
= Py_None
;
13034 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "change", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13046 if (SWIG_arg_fail(1)) SWIG_fail
;
13048 arg2
= (int)(SWIG_As_int(obj1
));
13049 if (SWIG_arg_fail(2)) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 (arg1
)->SetButtonChange(arg2
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 Py_INCREF(Py_None
); resultobj
= Py_None
;
13065 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13068 wxPoint
*arg2
= 0 ;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self",(char *) "pos", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13078 if (SWIG_arg_fail(1)) SWIG_fail
;
13081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 Py_INCREF(Py_None
); resultobj
= Py_None
;
13097 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self",(char *) "zPos", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13109 if (SWIG_arg_fail(1)) SWIG_fail
;
13111 arg2
= (int)(SWIG_As_int(obj1
));
13112 if (SWIG_arg_fail(2)) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->SetZPosition(arg2
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13139 if (SWIG_arg_fail(1)) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13156 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13167 if (SWIG_arg_fail(1)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13184 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13195 if (SWIG_arg_fail(1)) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13212 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13215 int arg2
= (int) wxJOY_BUTTON_ANY
;
13217 PyObject
* obj0
= 0 ;
13218 PyObject
* obj1
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self",(char *) "but", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13225 if (SWIG_arg_fail(1)) SWIG_fail
;
13228 arg2
= (int)(SWIG_As_int(obj1
));
13229 if (SWIG_arg_fail(2)) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13248 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13251 int arg2
= (int) wxJOY_BUTTON_ANY
;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "but", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail
;
13264 arg2
= (int)(SWIG_As_int(obj1
));
13265 if (SWIG_arg_fail(2)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13284 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13287 int arg2
= (int) wxJOY_BUTTON_ANY
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self",(char *) "but", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13297 if (SWIG_arg_fail(1)) SWIG_fail
;
13300 arg2
= (int)(SWIG_As_int(obj1
));
13301 if (SWIG_arg_fail(2)) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13320 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13323 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13325 return Py_BuildValue((char *)"");
13327 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13330 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13332 bool temp1
= false ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "fileName", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13341 arg1
= wxString_in_helper(obj0
);
13342 if (arg1
== NULL
) SWIG_fail
;
13347 if (!wxPyCheckForApp()) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13369 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 PyObject
*arg1
= (PyObject
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "data", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13381 if (!wxPyCheckForApp()) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (wxSound
*)new_wxSound(arg1
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13395 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxSound
*arg1
= (wxSound
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13405 if (SWIG_arg_fail(1)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxSound
*arg1
= (wxSound
*) 0 ;
13423 wxString
*arg2
= 0 ;
13425 bool temp2
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "fileName", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail
;
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13464 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxSound
*arg1
= (wxSound
*) 0 ;
13467 PyObject
*arg2
= (PyObject
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self",(char *) "data", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13477 if (SWIG_arg_fail(1)) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxSound
*arg1
= (wxSound
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13506 if (SWIG_arg_fail(1)) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (bool)(arg1
)->IsOk();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13523 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxSound
*arg1
= (wxSound
*) 0 ;
13526 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self",(char *) "flags", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail
;
13539 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13540 if (SWIG_arg_fail(2)) SWIG_fail
;
13544 if (!wxPyCheckForApp()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13560 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxString
*arg1
= 0 ;
13563 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13565 bool temp1
= false ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "filename",(char *) "flags", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13574 arg1
= wxString_in_helper(obj0
);
13575 if (arg1
== NULL
) SWIG_fail
;
13580 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13581 if (SWIG_arg_fail(2)) SWIG_fail
;
13585 if (!wxPyCheckForApp()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13609 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 char *kwnames
[] = {
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13617 if (!wxPyCheckForApp()) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 Py_INCREF(Py_None
); resultobj
= Py_None
;
13631 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13634 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13636 return Py_BuildValue((char *)"");
13638 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxString
*arg1
= 0 ;
13641 wxString
*arg2
= 0 ;
13642 wxString
*arg3
= 0 ;
13643 wxString
*arg4
= 0 ;
13644 wxFileTypeInfo
*result
;
13645 bool temp1
= false ;
13646 bool temp2
= false ;
13647 bool temp3
= false ;
13648 bool temp4
= false ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 PyObject
* obj2
= 0 ;
13652 PyObject
* obj3
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13659 arg1
= wxString_in_helper(obj0
);
13660 if (arg1
== NULL
) SWIG_fail
;
13664 arg2
= wxString_in_helper(obj1
);
13665 if (arg2
== NULL
) SWIG_fail
;
13669 arg3
= wxString_in_helper(obj2
);
13670 if (arg3
== NULL
) SWIG_fail
;
13674 arg4
= wxString_in_helper(obj3
);
13675 if (arg4
== NULL
) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13724 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxArrayString
*arg1
= 0 ;
13727 wxFileTypeInfo
*result
;
13728 bool temp1
= false ;
13729 PyObject
* obj0
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "sArray", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13736 if (! PySequence_Check(obj0
)) {
13737 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13740 arg1
= new wxArrayString
;
13742 int i
, len
=PySequence_Length(obj0
);
13743 for (i
=0; i
<len
; i
++) {
13744 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13746 PyObject
* str
= PyObject_Unicode(item
);
13748 PyObject
* str
= PyObject_Str(item
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13751 arg1
->Add(Py2wxString(str
));
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13765 if (temp1
) delete arg1
;
13770 if (temp1
) delete arg1
;
13776 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxFileTypeInfo
*result
;
13779 char *kwnames
[] = {
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13798 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13809 if (SWIG_arg_fail(1)) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13826 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13829 wxString
*arg2
= 0 ;
13830 int arg3
= (int) 0 ;
13831 bool temp2
= false ;
13832 PyObject
* obj0
= 0 ;
13833 PyObject
* obj1
= 0 ;
13834 PyObject
* obj2
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13841 if (SWIG_arg_fail(1)) SWIG_fail
;
13843 arg2
= wxString_in_helper(obj1
);
13844 if (arg2
== NULL
) SWIG_fail
;
13849 arg3
= (int)(SWIG_As_int(obj2
));
13850 if (SWIG_arg_fail(3)) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 Py_INCREF(Py_None
); resultobj
= Py_None
;
13875 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13878 wxString
*arg2
= 0 ;
13879 bool temp2
= false ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "shortDesc", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13888 if (SWIG_arg_fail(1)) SWIG_fail
;
13890 arg2
= wxString_in_helper(obj1
);
13891 if (arg2
== NULL
) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 Py_INCREF(Py_None
); resultobj
= Py_None
;
13916 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13932 result
= (wxString
*) &_result_ref
;
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13942 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13951 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13955 PyObject
* obj0
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13962 if (SWIG_arg_fail(1)) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13967 result
= (wxString
*) &_result_ref
;
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13986 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
13996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13997 if (SWIG_arg_fail(1)) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14002 result
= (wxString
*) &_result_ref
;
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14012 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14021 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14032 if (SWIG_arg_fail(1)) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14037 result
= (wxString
*) &_result_ref
;
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14047 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14056 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14072 result
= (wxString
*) &_result_ref
;
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14082 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14091 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14094 wxArrayString
*result
;
14095 PyObject
* obj0
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14107 result
= (wxArrayString
*) &_result_ref
;
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= wxArrayString2PyList_helper(*result
);
14122 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14133 if (SWIG_arg_fail(1)) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_From_int((int)(result
));
14150 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14166 result
= (wxString
*) &_result_ref
;
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14176 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14185 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14196 if (SWIG_arg_fail(1)) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= SWIG_From_int((int)(result
));
14213 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14216 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14218 return Py_BuildValue((char *)"");
14220 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxFileTypeInfo
*arg1
= 0 ;
14223 wxFileType
*result
;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "ftInfo", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14232 if (SWIG_arg_fail(1)) SWIG_fail
;
14233 if (arg1
== NULL
) {
14234 SWIG_null_ref("wxFileTypeInfo");
14236 if (SWIG_arg_fail(1)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14252 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFileType
*arg1
= (wxFileType
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14262 if (SWIG_arg_fail(1)) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 Py_INCREF(Py_None
); resultobj
= Py_None
;
14277 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxFileType
*arg1
= (wxFileType
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14288 if (SWIG_arg_fail(1)) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
;
14303 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxFileType
*arg1
= (wxFileType
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
;
14329 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxFileType
*arg1
= (wxFileType
*) 0 ;
14333 PyObject
* obj0
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "self", NULL
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14340 if (SWIG_arg_fail(1)) SWIG_fail
;
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= result
;
14355 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxFileType
*arg1
= (wxFileType
*) 0 ;
14359 PyObject
* obj0
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "self", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14366 if (SWIG_arg_fail(1)) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14381 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxFileType
*arg1
= (wxFileType
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14392 if (SWIG_arg_fail(1)) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= result
;
14407 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxFileType
*arg1
= (wxFileType
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= result
;
14433 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxFileType
*arg1
= (wxFileType
*) 0 ;
14436 wxString
*arg2
= 0 ;
14437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14440 bool temp2
= false ;
14441 bool temp3
= false ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14453 arg2
= wxString_in_helper(obj1
);
14454 if (arg2
== NULL
) SWIG_fail
;
14459 arg3
= wxString_in_helper(obj2
);
14460 if (arg3
== NULL
) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= result
;
14494 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxFileType
*arg1
= (wxFileType
*) 0 ;
14497 wxString
*arg2
= 0 ;
14498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14501 bool temp2
= false ;
14502 bool temp3
= false ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 PyObject
* obj2
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14512 if (SWIG_arg_fail(1)) SWIG_fail
;
14514 arg2
= wxString_in_helper(obj1
);
14515 if (arg2
== NULL
) SWIG_fail
;
14520 arg3
= wxString_in_helper(obj2
);
14521 if (arg3
== NULL
) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
;
14555 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxFileType
*arg1
= (wxFileType
*) 0 ;
14558 wxString
*arg2
= 0 ;
14559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14562 bool temp2
= false ;
14563 bool temp3
= false ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 PyObject
* obj2
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14573 if (SWIG_arg_fail(1)) SWIG_fail
;
14575 arg2
= wxString_in_helper(obj1
);
14576 if (arg2
== NULL
) SWIG_fail
;
14581 arg3
= wxString_in_helper(obj2
);
14582 if (arg3
== NULL
) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
;
14616 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxFileType
*arg1
= (wxFileType
*) 0 ;
14619 wxString
*arg2
= 0 ;
14620 wxString
*arg3
= 0 ;
14621 bool arg4
= (bool) true ;
14623 bool temp2
= false ;
14624 bool temp3
= false ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 PyObject
* obj2
= 0 ;
14628 PyObject
* obj3
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14635 if (SWIG_arg_fail(1)) SWIG_fail
;
14637 arg2
= wxString_in_helper(obj1
);
14638 if (arg2
== NULL
) SWIG_fail
;
14642 arg3
= wxString_in_helper(obj2
);
14643 if (arg3
== NULL
) SWIG_fail
;
14648 arg4
= (bool)(SWIG_As_bool(obj3
));
14649 if (SWIG_arg_fail(4)) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14684 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxFileType
*arg1
= (wxFileType
*) 0 ;
14687 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14688 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14689 int arg3
= (int) 0 ;
14691 bool temp2
= false ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 PyObject
* obj2
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self",(char *) "cmd",(char *) "index", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14701 if (SWIG_arg_fail(1)) SWIG_fail
;
14704 arg2
= wxString_in_helper(obj1
);
14705 if (arg2
== NULL
) SWIG_fail
;
14711 arg3
= (int)(SWIG_As_int(obj2
));
14712 if (SWIG_arg_fail(3)) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14739 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxFileType
*arg1
= (wxFileType
*) 0 ;
14743 PyObject
* obj0
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14750 if (SWIG_arg_fail(1)) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (bool)(arg1
)->Unassociate();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14767 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxString
*arg1
= 0 ;
14770 wxString
*arg2
= 0 ;
14771 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14772 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14774 bool temp1
= false ;
14775 bool temp2
= false ;
14776 bool temp3
= false ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 PyObject
* obj2
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14786 arg1
= wxString_in_helper(obj0
);
14787 if (arg1
== NULL
) SWIG_fail
;
14791 arg2
= wxString_in_helper(obj1
);
14792 if (arg2
== NULL
) SWIG_fail
;
14797 arg3
= wxString_in_helper(obj2
);
14798 if (arg3
== NULL
) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14846 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14849 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14851 return Py_BuildValue((char *)"");
14853 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14854 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14859 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14862 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14867 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxString
*arg1
= 0 ;
14870 wxString
*arg2
= 0 ;
14872 bool temp1
= false ;
14873 bool temp2
= false ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "mimeType",(char *) "wildcard", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14882 arg1
= wxString_in_helper(obj0
);
14883 if (arg1
== NULL
) SWIG_fail
;
14887 arg2
= wxString_in_helper(obj1
);
14888 if (arg2
== NULL
) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxMimeTypesManager
*result
;
14926 char *kwnames
[] = {
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14945 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14948 int arg2
= (int) wxMAILCAP_ALL
;
14949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14951 bool temp3
= false ;
14952 PyObject
* obj0
= 0 ;
14953 PyObject
* obj1
= 0 ;
14954 PyObject
* obj2
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14961 if (SWIG_arg_fail(1)) SWIG_fail
;
14964 arg2
= (int)(SWIG_As_int(obj1
));
14965 if (SWIG_arg_fail(2)) SWIG_fail
;
14970 arg3
= wxString_in_helper(obj2
);
14971 if (arg3
== NULL
) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 (arg1
)->ClearData();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15025 wxString
*arg2
= 0 ;
15026 wxFileType
*result
;
15027 bool temp2
= false ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "ext", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail
;
15038 arg2
= wxString_in_helper(obj1
);
15039 if (arg2
== NULL
) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15064 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
;
15066 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15067 wxString
*arg2
= 0 ;
15068 wxFileType
*result
;
15069 bool temp2
= false ;
15070 PyObject
* obj0
= 0 ;
15071 PyObject
* obj1
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self",(char *) "mimeType", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15078 if (SWIG_arg_fail(1)) SWIG_fail
;
15080 arg2
= wxString_in_helper(obj1
);
15081 if (arg2
== NULL
) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15106 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15109 wxString
*arg2
= 0 ;
15110 bool arg3
= (bool) false ;
15112 bool temp2
= false ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 PyObject
* obj2
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 arg2
= wxString_in_helper(obj1
);
15125 if (arg2
== NULL
) SWIG_fail
;
15130 arg3
= (bool)(SWIG_As_bool(obj2
));
15131 if (SWIG_arg_fail(3)) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15158 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15161 wxString
*arg2
= 0 ;
15163 bool temp2
= false ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "filename", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail
;
15174 arg2
= wxString_in_helper(obj1
);
15175 if (arg2
== NULL
) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15202 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15213 if (SWIG_arg_fail(1)) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= result
;
15228 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15231 wxFileTypeInfo
*arg2
= 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self",(char *) "ft", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15240 if (SWIG_arg_fail(1)) SWIG_fail
;
15242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15243 if (SWIG_arg_fail(2)) SWIG_fail
;
15244 if (arg2
== NULL
) {
15245 SWIG_null_ref("wxFileTypeInfo");
15247 if (SWIG_arg_fail(2)) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15266 wxFileTypeInfo
*arg2
= 0 ;
15267 wxFileType
*result
;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "ftInfo", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail
;
15278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15279 if (SWIG_arg_fail(2)) SWIG_fail
;
15280 if (arg2
== NULL
) {
15281 SWIG_null_ref("wxFileTypeInfo");
15283 if (SWIG_arg_fail(2)) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15299 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15302 wxFileType
*arg2
= (wxFileType
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "ft", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15312 if (SWIG_arg_fail(1)) SWIG_fail
;
15313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15314 if (SWIG_arg_fail(2)) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (bool)(arg1
)->Unassociate(arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15331 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15361 return Py_BuildValue((char *)"");
15363 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15364 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15369 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15374 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15376 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15383 static int _wrap_ART_MENU_set(PyObject
*) {
15384 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15389 static PyObject
*_wrap_ART_MENU_get(void) {
15394 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15396 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15403 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15404 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15409 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15414 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15416 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15423 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15424 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15429 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15434 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15436 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15443 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15444 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15449 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15454 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15456 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15463 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15464 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15469 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15474 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15476 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15483 static int _wrap_ART_BUTTON_set(PyObject
*) {
15484 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15489 static PyObject
*_wrap_ART_BUTTON_get(void) {
15494 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15496 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15503 static int _wrap_ART_OTHER_set(PyObject
*) {
15504 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15509 static PyObject
*_wrap_ART_OTHER_get(void) {
15514 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15516 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15523 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15524 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15529 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15534 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15536 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15543 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15544 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15549 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15554 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15556 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15563 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15564 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15569 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15574 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15576 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15583 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15584 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15589 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15594 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15596 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15603 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15604 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15609 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15614 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15616 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15623 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15624 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15629 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15634 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15636 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15643 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15644 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15649 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15654 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15656 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15663 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15664 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15669 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15674 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15676 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15683 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15684 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15689 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15694 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15696 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15703 static int _wrap_ART_GO_UP_set(PyObject
*) {
15704 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15709 static PyObject
*_wrap_ART_GO_UP_get(void) {
15714 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15716 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15723 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15724 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15729 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15734 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15736 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15743 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15744 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15749 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15754 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15756 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15763 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15764 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15769 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15774 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15776 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15783 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15784 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15789 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15794 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15796 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15803 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15804 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15809 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15814 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15816 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15823 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15824 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15829 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15834 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15836 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15843 static int _wrap_ART_PRINT_set(PyObject
*) {
15844 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15849 static PyObject
*_wrap_ART_PRINT_get(void) {
15854 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15856 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15863 static int _wrap_ART_HELP_set(PyObject
*) {
15864 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15869 static PyObject
*_wrap_ART_HELP_get(void) {
15874 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15876 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15883 static int _wrap_ART_TIP_set(PyObject
*) {
15884 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15889 static PyObject
*_wrap_ART_TIP_get(void) {
15894 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15896 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15903 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15904 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15909 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15914 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15916 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15923 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15924 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15929 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15934 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15936 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15943 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15944 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15949 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15954 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15956 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15963 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15964 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15969 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15974 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15976 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15983 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15984 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15989 static PyObject
*_wrap_ART_FLOPPY_get(void) {
15994 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15996 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16003 static int _wrap_ART_CDROM_set(PyObject
*) {
16004 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16009 static PyObject
*_wrap_ART_CDROM_get(void) {
16014 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16016 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16023 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16024 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16029 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16034 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16036 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16043 static int _wrap_ART_FOLDER_set(PyObject
*) {
16044 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16049 static PyObject
*_wrap_ART_FOLDER_get(void) {
16054 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16056 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16063 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16064 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16069 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16074 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16076 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16083 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16084 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16089 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16094 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16096 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16103 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16104 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16109 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16114 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16116 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16123 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16124 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16129 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16134 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16136 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16143 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16144 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16149 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16154 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16156 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16163 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16164 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16169 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16174 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16176 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16183 static int _wrap_ART_ERROR_set(PyObject
*) {
16184 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16189 static PyObject
*_wrap_ART_ERROR_get(void) {
16194 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16196 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16203 static int _wrap_ART_QUESTION_set(PyObject
*) {
16204 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16209 static PyObject
*_wrap_ART_QUESTION_get(void) {
16214 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16216 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16223 static int _wrap_ART_WARNING_set(PyObject
*) {
16224 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16229 static PyObject
*_wrap_ART_WARNING_get(void) {
16234 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16236 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16243 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16244 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16249 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16254 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16256 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16263 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16264 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16269 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16274 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16276 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16283 static int _wrap_ART_COPY_set(PyObject
*) {
16284 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16289 static PyObject
*_wrap_ART_COPY_get(void) {
16294 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16296 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16303 static int _wrap_ART_CUT_set(PyObject
*) {
16304 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16309 static PyObject
*_wrap_ART_CUT_get(void) {
16314 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16316 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16323 static int _wrap_ART_PASTE_set(PyObject
*) {
16324 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16329 static PyObject
*_wrap_ART_PASTE_get(void) {
16334 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16336 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16343 static int _wrap_ART_DELETE_set(PyObject
*) {
16344 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16349 static PyObject
*_wrap_ART_DELETE_get(void) {
16354 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16356 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16363 static int _wrap_ART_UNDO_set(PyObject
*) {
16364 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16369 static PyObject
*_wrap_ART_UNDO_get(void) {
16374 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16376 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16383 static int _wrap_ART_REDO_set(PyObject
*) {
16384 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16389 static PyObject
*_wrap_ART_REDO_get(void) {
16394 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16396 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16403 static int _wrap_ART_QUIT_set(PyObject
*) {
16404 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16409 static PyObject
*_wrap_ART_QUIT_get(void) {
16414 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16416 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16423 static int _wrap_ART_FIND_set(PyObject
*) {
16424 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16429 static PyObject
*_wrap_ART_FIND_get(void) {
16434 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16436 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16443 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16444 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16449 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16454 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16456 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16463 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyArtProvider
*result
;
16466 char *kwnames
[] = {
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16472 if (!wxPyCheckForApp()) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16486 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16489 PyObject
*arg2
= (PyObject
*) 0 ;
16490 PyObject
*arg3
= (PyObject
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 PyObject
* obj2
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "self",(char *) "_class", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16500 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "provider", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 wxPyArtProvider::PushProvider(arg1
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16545 char *kwnames
[] = {
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (bool)wxPyArtProvider::PopProvider();
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16566 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "provider", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16577 if (SWIG_arg_fail(1)) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16594 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxString
*arg1
= 0 ;
16597 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16598 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16599 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16600 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16602 bool temp1
= false ;
16603 bool temp2
= false ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 PyObject
* obj2
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "id",(char *) "client",(char *) "size", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16614 arg1
= wxString_in_helper(obj0
);
16615 if (arg1
== NULL
) SWIG_fail
;
16620 arg2
= wxString_in_helper(obj1
);
16621 if (arg2
== NULL
) SWIG_fail
;
16628 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16632 if (!wxPyCheckForApp()) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 wxBitmap
* resultptr
;
16641 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16666 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxString
*arg1
= 0 ;
16669 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16670 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16671 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16672 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16674 bool temp1
= false ;
16675 bool temp2
= false ;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 PyObject
* obj2
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "id",(char *) "client",(char *) "size", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16686 arg1
= wxString_in_helper(obj0
);
16687 if (arg1
== NULL
) SWIG_fail
;
16692 arg2
= wxString_in_helper(obj1
);
16693 if (arg2
== NULL
) SWIG_fail
;
16700 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16704 if (!wxPyCheckForApp()) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 wxIcon
* resultptr
;
16713 resultptr
= new wxIcon((wxIcon
&)(result
));
16714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16738 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16748 if (SWIG_arg_fail(1)) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 wxPyArtProvider_Destroy(arg1
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 Py_INCREF(Py_None
); resultobj
= Py_None
;
16763 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16766 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16768 return Py_BuildValue((char *)"");
16770 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16780 if (SWIG_arg_fail(1)) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16798 wxConfigBase
*result
;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "config", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16806 if (SWIG_arg_fail(1)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16821 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 bool arg1
= (bool) true ;
16824 wxConfigBase
*result
;
16825 PyObject
* obj0
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "createOnDemand", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16833 arg1
= (bool)(SWIG_As_bool(obj0
));
16834 if (SWIG_arg_fail(1)) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16851 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxConfigBase
*result
;
16854 char *kwnames
[] = {
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (wxConfigBase
*)wxConfigBase::Create();
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16873 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 char *kwnames
[] = {
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 wxConfigBase::DontCreateOnDemand();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 Py_INCREF(Py_None
); resultobj
= Py_None
;
16894 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16897 wxString
*arg2
= 0 ;
16898 bool temp2
= false ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "path", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16907 if (SWIG_arg_fail(1)) SWIG_fail
;
16909 arg2
= wxString_in_helper(obj1
);
16910 if (arg2
== NULL
) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 (arg1
)->SetPath((wxString
const &)*arg2
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16951 result
= (wxString
*) &_result_ref
;
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16961 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16970 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= result
;
16996 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self",(char *) "index", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17009 if (SWIG_arg_fail(1)) SWIG_fail
;
17011 arg2
= (long)(SWIG_As_long(obj1
));
17012 if (SWIG_arg_fail(2)) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= result
;
17028 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= result
;
17054 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "index", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 arg2
= (long)(SWIG_As_long(obj1
));
17070 if (SWIG_arg_fail(2)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= result
;
17086 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17089 bool arg2
= (bool) false ;
17091 PyObject
* obj0
= 0 ;
17092 PyObject
* obj1
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "recursive", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17102 arg2
= (bool)(SWIG_As_bool(obj1
));
17103 if (SWIG_arg_fail(2)) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17122 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17125 bool arg2
= (bool) false ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self",(char *) "recursive", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17135 if (SWIG_arg_fail(1)) SWIG_fail
;
17138 arg2
= (bool)(SWIG_As_bool(obj1
));
17139 if (SWIG_arg_fail(2)) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17158 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17161 wxString
*arg2
= 0 ;
17163 bool temp2
= false ;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self",(char *) "name", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 arg2
= wxString_in_helper(obj1
);
17175 if (arg2
== NULL
) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17202 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17205 wxString
*arg2
= 0 ;
17207 bool temp2
= false ;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "name", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17216 if (SWIG_arg_fail(1)) SWIG_fail
;
17218 arg2
= wxString_in_helper(obj1
);
17219 if (arg2
== NULL
) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17246 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17249 wxString
*arg2
= 0 ;
17251 bool temp2
= false ;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self",(char *) "name", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail
;
17262 arg2
= wxString_in_helper(obj1
);
17263 if (arg2
== NULL
) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17290 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17293 wxString
*arg2
= 0 ;
17294 wxConfigBase::EntryType result
;
17295 bool temp2
= false ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "name", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17304 if (SWIG_arg_fail(1)) SWIG_fail
;
17306 arg2
= wxString_in_helper(obj1
);
17307 if (arg2
== NULL
) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= SWIG_From_int((result
));
17332 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17335 wxString
*arg2
= 0 ;
17336 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17337 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17339 bool temp2
= false ;
17340 bool temp3
= false ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 PyObject
* obj2
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17350 if (SWIG_arg_fail(1)) SWIG_fail
;
17352 arg2
= wxString_in_helper(obj1
);
17353 if (arg2
== NULL
) SWIG_fail
;
17358 arg3
= wxString_in_helper(obj2
);
17359 if (arg3
== NULL
) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17399 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17402 wxString
*arg2
= 0 ;
17403 long arg3
= (long) 0 ;
17405 bool temp2
= false ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 PyObject
* obj2
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17415 if (SWIG_arg_fail(1)) SWIG_fail
;
17417 arg2
= wxString_in_helper(obj1
);
17418 if (arg2
== NULL
) SWIG_fail
;
17423 arg3
= (long)(SWIG_As_long(obj2
));
17424 if (SWIG_arg_fail(3)) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= SWIG_From_long((long)(result
));
17451 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17454 wxString
*arg2
= 0 ;
17455 double arg3
= (double) 0.0 ;
17457 bool temp2
= false ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 PyObject
* obj2
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17467 if (SWIG_arg_fail(1)) SWIG_fail
;
17469 arg2
= wxString_in_helper(obj1
);
17470 if (arg2
== NULL
) SWIG_fail
;
17475 arg3
= (double)(SWIG_As_double(obj2
));
17476 if (SWIG_arg_fail(3)) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_From_double((double)(result
));
17503 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17506 wxString
*arg2
= 0 ;
17507 bool arg3
= (bool) false ;
17509 bool temp2
= false ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17519 if (SWIG_arg_fail(1)) SWIG_fail
;
17521 arg2
= wxString_in_helper(obj1
);
17522 if (arg2
== NULL
) SWIG_fail
;
17527 arg3
= (bool)(SWIG_As_bool(obj2
));
17528 if (SWIG_arg_fail(3)) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17558 wxString
*arg2
= 0 ;
17559 wxString
*arg3
= 0 ;
17561 bool temp2
= false ;
17562 bool temp3
= false ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 PyObject
* obj2
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "key",(char *) "value", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17572 if (SWIG_arg_fail(1)) SWIG_fail
;
17574 arg2
= wxString_in_helper(obj1
);
17575 if (arg2
== NULL
) SWIG_fail
;
17579 arg3
= wxString_in_helper(obj2
);
17580 if (arg3
== NULL
) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17615 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17618 wxString
*arg2
= 0 ;
17621 bool temp2
= false ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "key",(char *) "value", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail
;
17633 arg2
= wxString_in_helper(obj1
);
17634 if (arg2
== NULL
) SWIG_fail
;
17638 arg3
= (long)(SWIG_As_long(obj2
));
17639 if (SWIG_arg_fail(3)) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17665 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17668 wxString
*arg2
= 0 ;
17671 bool temp2
= false ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 PyObject
* obj2
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self",(char *) "key",(char *) "value", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17681 if (SWIG_arg_fail(1)) SWIG_fail
;
17683 arg2
= wxString_in_helper(obj1
);
17684 if (arg2
== NULL
) SWIG_fail
;
17688 arg3
= (double)(SWIG_As_double(obj2
));
17689 if (SWIG_arg_fail(3)) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17715 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17718 wxString
*arg2
= 0 ;
17721 bool temp2
= false ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 PyObject
* obj2
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "key",(char *) "value", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail
;
17733 arg2
= wxString_in_helper(obj1
);
17734 if (arg2
== NULL
) SWIG_fail
;
17738 arg3
= (bool)(SWIG_As_bool(obj2
));
17739 if (SWIG_arg_fail(3)) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17765 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17768 bool arg2
= (bool) false ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "currentOnly", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail
;
17781 arg2
= (bool)(SWIG_As_bool(obj1
));
17782 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (bool)(arg1
)->Flush(arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17801 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17804 wxString
*arg2
= 0 ;
17805 wxString
*arg3
= 0 ;
17807 bool temp2
= false ;
17808 bool temp3
= false ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 PyObject
* obj2
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17818 if (SWIG_arg_fail(1)) SWIG_fail
;
17820 arg2
= wxString_in_helper(obj1
);
17821 if (arg2
== NULL
) SWIG_fail
;
17825 arg3
= wxString_in_helper(obj2
);
17826 if (arg3
== NULL
) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17861 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17864 wxString
*arg2
= 0 ;
17865 wxString
*arg3
= 0 ;
17867 bool temp2
= false ;
17868 bool temp3
= false ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 PyObject
* obj2
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17878 if (SWIG_arg_fail(1)) SWIG_fail
;
17880 arg2
= wxString_in_helper(obj1
);
17881 if (arg2
== NULL
) SWIG_fail
;
17885 arg3
= wxString_in_helper(obj2
);
17886 if (arg3
== NULL
) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17921 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17924 wxString
*arg2
= 0 ;
17925 bool arg3
= (bool) true ;
17927 bool temp2
= false ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17937 if (SWIG_arg_fail(1)) SWIG_fail
;
17939 arg2
= wxString_in_helper(obj1
);
17940 if (arg2
== NULL
) SWIG_fail
;
17945 arg3
= (bool)(SWIG_As_bool(obj2
));
17946 if (SWIG_arg_fail(3)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17976 wxString
*arg2
= 0 ;
17978 bool temp2
= false ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "key", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17987 if (SWIG_arg_fail(1)) SWIG_fail
;
17989 arg2
= wxString_in_helper(obj1
);
17990 if (arg2
== NULL
) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18017 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (bool)(arg1
)->DeleteAll();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18045 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18048 bool arg2
= (bool) true ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self",(char *) "doIt", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18057 if (SWIG_arg_fail(1)) SWIG_fail
;
18060 arg2
= (bool)(SWIG_As_bool(obj1
));
18061 if (SWIG_arg_fail(2)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->SetExpandEnvVars(arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18089 if (SWIG_arg_fail(1)) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18106 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18109 bool arg2
= (bool) true ;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self",(char *) "doIt", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 arg2
= (bool)(SWIG_As_bool(obj1
));
18122 if (SWIG_arg_fail(2)) SWIG_fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 (arg1
)->SetRecordDefaults(arg2
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 Py_INCREF(Py_None
); resultobj
= Py_None
;
18139 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18167 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18170 wxString
*arg2
= 0 ;
18172 bool temp2
= false ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "str", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18181 if (SWIG_arg_fail(1)) SWIG_fail
;
18183 arg2
= wxString_in_helper(obj1
);
18184 if (arg2
== NULL
) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18215 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18247 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18258 if (SWIG_arg_fail(1)) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18279 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18282 wxString
*arg2
= 0 ;
18283 bool temp2
= false ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "appName", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18292 if (SWIG_arg_fail(1)) SWIG_fail
;
18294 arg2
= wxString_in_helper(obj1
);
18295 if (arg2
== NULL
) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->SetAppName((wxString
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18320 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18323 wxString
*arg2
= 0 ;
18324 bool temp2
= false ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "vendorName", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 arg2
= wxString_in_helper(obj1
);
18336 if (arg2
== NULL
) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "style", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 arg2
= (long)(SWIG_As_long(obj1
));
18376 if (SWIG_arg_fail(2)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->SetStyle(arg2
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 Py_INCREF(Py_None
); resultobj
= Py_None
;
18392 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18403 if (SWIG_arg_fail(1)) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_From_long((long)(result
));
18420 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18423 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18425 return Py_BuildValue((char *)"");
18427 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18430 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18431 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18432 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18435 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18436 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18437 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18439 bool temp1
= false ;
18440 bool temp2
= false ;
18441 bool temp3
= false ;
18442 bool temp4
= false ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 PyObject
* obj2
= 0 ;
18446 PyObject
* obj3
= 0 ;
18447 PyObject
* obj4
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18455 arg1
= wxString_in_helper(obj0
);
18456 if (arg1
== NULL
) SWIG_fail
;
18462 arg2
= wxString_in_helper(obj1
);
18463 if (arg2
== NULL
) SWIG_fail
;
18469 arg3
= wxString_in_helper(obj2
);
18470 if (arg3
== NULL
) SWIG_fail
;
18476 arg4
= wxString_in_helper(obj3
);
18477 if (arg4
== NULL
) SWIG_fail
;
18483 arg5
= (long)(SWIG_As_long(obj4
));
18484 if (SWIG_arg_fail(5)) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18533 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxConfig
*arg1
= (wxConfig
*) 0 ;
18536 PyObject
* obj0
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18543 if (SWIG_arg_fail(1)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18561 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18563 return Py_BuildValue((char *)"");
18565 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18568 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18569 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18570 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18575 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18576 wxFileConfig
*result
;
18577 bool temp1
= false ;
18578 bool temp2
= false ;
18579 bool temp3
= false ;
18580 bool temp4
= false ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 PyObject
* obj3
= 0 ;
18585 PyObject
* obj4
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18593 arg1
= wxString_in_helper(obj0
);
18594 if (arg1
== NULL
) SWIG_fail
;
18600 arg2
= wxString_in_helper(obj1
);
18601 if (arg2
== NULL
) SWIG_fail
;
18607 arg3
= wxString_in_helper(obj2
);
18608 if (arg3
== NULL
) SWIG_fail
;
18614 arg4
= wxString_in_helper(obj3
);
18615 if (arg4
== NULL
) SWIG_fail
;
18621 arg5
= (long)(SWIG_As_long(obj4
));
18622 if (SWIG_arg_fail(5)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18671 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18681 if (SWIG_arg_fail(1)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18699 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18701 return Py_BuildValue((char *)"");
18703 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18706 wxString
*arg2
= 0 ;
18707 wxConfigPathChanger
*result
;
18708 bool temp2
= false ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "config",(char *) "entry", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18717 if (SWIG_arg_fail(1)) SWIG_fail
;
18719 arg2
= wxString_in_helper(obj1
);
18720 if (arg2
== NULL
) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18745 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18755 if (SWIG_arg_fail(1)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 Py_INCREF(Py_None
); resultobj
= Py_None
;
18770 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18781 if (SWIG_arg_fail(1)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18786 result
= (wxString
*) &_result_ref
;
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18805 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18808 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18810 return Py_BuildValue((char *)"");
18812 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxString
*arg1
= 0 ;
18816 bool temp1
= false ;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "sz", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18824 arg1
= wxString_in_helper(obj0
);
18825 if (arg1
== NULL
) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18856 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18857 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18862 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18867 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18869 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18876 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18877 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18882 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18887 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18889 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18896 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxDateTime::Country arg1
;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "country", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18906 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 Py_INCREF(Py_None
); resultobj
= Py_None
;
18923 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxDateTime::Country result
;
18926 char *kwnames
[] = {
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= SWIG_From_int((result
));
18945 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "country", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18957 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18958 if (SWIG_arg_fail(1)) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "cal", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18989 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18990 if (SWIG_arg_fail(1)) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_From_int((int)(result
));
19009 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "year", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19020 arg1
= (int)(SWIG_As_int(obj0
));
19021 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_From_int((int)(result
));
19039 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19042 wxDateTime::Month result
;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "cal", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19051 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19052 if (SWIG_arg_fail(1)) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_From_int((result
));
19069 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 int arg1
= (int) wxDateTime::Inv_Year
;
19072 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "year",(char *) "cal", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 arg1
= (int)(SWIG_As_int(obj0
));
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19089 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19090 if (SWIG_arg_fail(2)) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19109 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 int arg1
= (int) wxDateTime::Inv_Year
;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "year", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19121 arg1
= (int)(SWIG_As_int(obj0
));
19122 if (SWIG_arg_fail(1)) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (int)wxDateTime::GetCentury(arg1
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_From_int((int)(result
));
19141 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19144 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "year",(char *) "cal", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 arg1
= (int)(SWIG_As_int(obj0
));
19155 if (SWIG_arg_fail(1)) SWIG_fail
;
19159 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19160 if (SWIG_arg_fail(2)) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_From_int((int)(result
));
19179 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxDateTime::Month arg1
;
19182 int arg2
= (int) wxDateTime::Inv_Year
;
19183 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 PyObject
* obj2
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "month",(char *) "year",(char *) "cal", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19194 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19195 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 arg2
= (int)(SWIG_As_int(obj1
));
19200 if (SWIG_arg_fail(2)) SWIG_fail
;
19205 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19206 if (SWIG_arg_fail(3)) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_From_int((int)(result
));
19225 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxDateTime::Month arg1
;
19228 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "month",(char *) "flags", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19239 if (SWIG_arg_fail(1)) SWIG_fail
;
19243 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19244 if (SWIG_arg_fail(2)) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19267 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxDateTime::WeekDay arg1
;
19270 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "weekday",(char *) "flags", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19281 if (SWIG_arg_fail(1)) SWIG_fail
;
19285 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19286 if (SWIG_arg_fail(2)) SWIG_fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19309 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxString
*arg1
= (wxString
*) 0 ;
19312 wxString
*arg2
= (wxString
*) 0 ;
19313 bool temp1
= false ;
19314 bool temp2
= false ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "OUTPUT",(char *) "OUTPUT", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
19323 arg1
= wxString_in_helper(obj0
);
19324 if (arg1
== NULL
) SWIG_fail
;
19328 arg2
= wxString_in_helper(obj1
);
19329 if (arg2
== NULL
) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 wxDateTime::GetAmPmStrings(arg1
,arg2
);
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 int arg1
= (int) wxDateTime::Inv_Year
;
19365 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "year",(char *) "country", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 arg1
= (int)(SWIG_As_int(obj0
));
19377 if (SWIG_arg_fail(1)) SWIG_fail
;
19382 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19383 if (SWIG_arg_fail(2)) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19402 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 int arg1
= (int) wxDateTime::Inv_Year
;
19405 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "year",(char *) "country", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 arg1
= (int)(SWIG_As_int(obj0
));
19417 if (SWIG_arg_fail(1)) SWIG_fail
;
19422 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19423 if (SWIG_arg_fail(2)) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19434 wxDateTime
* resultptr
;
19435 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19444 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 int arg1
= (int) wxDateTime::Inv_Year
;
19447 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "year",(char *) "country", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19458 arg1
= (int)(SWIG_As_int(obj0
));
19459 if (SWIG_arg_fail(1)) SWIG_fail
;
19464 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19465 if (SWIG_arg_fail(2)) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19476 wxDateTime
* resultptr
;
19477 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19486 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19489 char *kwnames
[] = {
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= wxDateTime::Now();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 wxDateTime
* resultptr
;
19503 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19512 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19515 char *kwnames
[] = {
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= wxDateTime::UNow();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 wxDateTime
* resultptr
;
19529 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19538 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19541 char *kwnames
[] = {
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= wxDateTime::Today();
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 wxDateTime
* resultptr
;
19555 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19564 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxDateTime
*result
;
19567 char *kwnames
[] = {
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (wxDateTime
*)new wxDateTime();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19586 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19589 wxDateTime
*result
;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "timet", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19597 arg1
= (time_t)(SWIG_As_unsigned_SS_int(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_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19617 wxDateTime
*result
;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "jdn", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19625 arg1
= (double)(SWIG_As_double(obj0
));
19626 if (SWIG_arg_fail(1)) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (wxDateTime
*)new wxDateTime(arg1
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19642 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19645 int arg2
= (int) 0 ;
19646 int arg3
= (int) 0 ;
19647 int arg4
= (int) 0 ;
19648 wxDateTime
*result
;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 PyObject
* obj2
= 0 ;
19652 PyObject
* obj3
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19659 arg1
= (int)(SWIG_As_int(obj0
));
19660 if (SWIG_arg_fail(1)) SWIG_fail
;
19664 arg2
= (int)(SWIG_As_int(obj1
));
19665 if (SWIG_arg_fail(2)) SWIG_fail
;
19670 arg3
= (int)(SWIG_As_int(obj2
));
19671 if (SWIG_arg_fail(3)) SWIG_fail
;
19676 arg4
= (int)(SWIG_As_int(obj3
));
19677 if (SWIG_arg_fail(4)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19694 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19697 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19698 int arg3
= (int) wxDateTime::Inv_Year
;
19699 int arg4
= (int) 0 ;
19700 int arg5
= (int) 0 ;
19701 int arg6
= (int) 0 ;
19702 int arg7
= (int) 0 ;
19703 wxDateTime
*result
;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 PyObject
* obj2
= 0 ;
19707 PyObject
* obj3
= 0 ;
19708 PyObject
* obj4
= 0 ;
19709 PyObject
* obj5
= 0 ;
19710 PyObject
* obj6
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19717 arg1
= (int)(SWIG_As_int(obj0
));
19718 if (SWIG_arg_fail(1)) SWIG_fail
;
19722 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19723 if (SWIG_arg_fail(2)) SWIG_fail
;
19728 arg3
= (int)(SWIG_As_int(obj2
));
19729 if (SWIG_arg_fail(3)) SWIG_fail
;
19734 arg4
= (int)(SWIG_As_int(obj3
));
19735 if (SWIG_arg_fail(4)) SWIG_fail
;
19740 arg5
= (int)(SWIG_As_int(obj4
));
19741 if (SWIG_arg_fail(5)) SWIG_fail
;
19746 arg6
= (int)(SWIG_As_int(obj5
));
19747 if (SWIG_arg_fail(6)) SWIG_fail
;
19752 arg7
= (int)(SWIG_As_int(obj6
));
19753 if (SWIG_arg_fail(7)) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19770 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19780 if (SWIG_arg_fail(1)) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 Py_INCREF(Py_None
); resultobj
= Py_None
;
19795 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19798 wxDateTime
*result
;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19806 if (SWIG_arg_fail(1)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19811 result
= (wxDateTime
*) &_result_ref
;
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19824 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19828 wxDateTime
*result
;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self",(char *) "timet", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19837 if (SWIG_arg_fail(1)) SWIG_fail
;
19839 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19840 if (SWIG_arg_fail(2)) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19846 result
= (wxDateTime
*) &_result_ref
;
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19859 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19863 wxDateTime
*result
;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "jdn", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19872 if (SWIG_arg_fail(1)) SWIG_fail
;
19874 arg2
= (double)(SWIG_As_double(obj1
));
19875 if (SWIG_arg_fail(2)) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19881 result
= (wxDateTime
*) &_result_ref
;
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19894 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19898 int arg3
= (int) 0 ;
19899 int arg4
= (int) 0 ;
19900 int arg5
= (int) 0 ;
19901 wxDateTime
*result
;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 PyObject
* obj2
= 0 ;
19905 PyObject
* obj3
= 0 ;
19906 PyObject
* obj4
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 arg2
= (int)(SWIG_As_int(obj1
));
19916 if (SWIG_arg_fail(2)) SWIG_fail
;
19920 arg3
= (int)(SWIG_As_int(obj2
));
19921 if (SWIG_arg_fail(3)) SWIG_fail
;
19926 arg4
= (int)(SWIG_As_int(obj3
));
19927 if (SWIG_arg_fail(4)) SWIG_fail
;
19932 arg5
= (int)(SWIG_As_int(obj4
));
19933 if (SWIG_arg_fail(5)) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19940 result
= (wxDateTime
*) &_result_ref
;
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19953 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19957 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19958 int arg4
= (int) wxDateTime::Inv_Year
;
19959 int arg5
= (int) 0 ;
19960 int arg6
= (int) 0 ;
19961 int arg7
= (int) 0 ;
19962 int arg8
= (int) 0 ;
19963 wxDateTime
*result
;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 PyObject
* obj2
= 0 ;
19967 PyObject
* obj3
= 0 ;
19968 PyObject
* obj4
= 0 ;
19969 PyObject
* obj5
= 0 ;
19970 PyObject
* obj6
= 0 ;
19971 PyObject
* obj7
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 arg2
= (int)(SWIG_As_int(obj1
));
19981 if (SWIG_arg_fail(2)) SWIG_fail
;
19985 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19986 if (SWIG_arg_fail(3)) SWIG_fail
;
19991 arg4
= (int)(SWIG_As_int(obj3
));
19992 if (SWIG_arg_fail(4)) SWIG_fail
;
19997 arg5
= (int)(SWIG_As_int(obj4
));
19998 if (SWIG_arg_fail(5)) SWIG_fail
;
20003 arg6
= (int)(SWIG_As_int(obj5
));
20004 if (SWIG_arg_fail(6)) SWIG_fail
;
20009 arg7
= (int)(SWIG_As_int(obj6
));
20010 if (SWIG_arg_fail(7)) SWIG_fail
;
20015 arg8
= (int)(SWIG_As_int(obj7
));
20016 if (SWIG_arg_fail(8)) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20023 result
= (wxDateTime
*) &_result_ref
;
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20036 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20039 wxDateTime
*result
;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20047 if (SWIG_arg_fail(1)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20052 result
= (wxDateTime
*) &_result_ref
;
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20065 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20069 wxDateTime
*result
;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "year", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20078 if (SWIG_arg_fail(1)) SWIG_fail
;
20080 arg2
= (int)(SWIG_As_int(obj1
));
20081 if (SWIG_arg_fail(2)) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20087 result
= (wxDateTime
*) &_result_ref
;
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20100 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20103 wxDateTime::Month arg2
;
20104 wxDateTime
*result
;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self",(char *) "month", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20116 if (SWIG_arg_fail(2)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20122 result
= (wxDateTime
*) &_result_ref
;
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20135 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20139 wxDateTime
*result
;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "day", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20148 if (SWIG_arg_fail(1)) SWIG_fail
;
20150 arg2
= (int)(SWIG_As_int(obj1
));
20151 if (SWIG_arg_fail(2)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20157 result
= (wxDateTime
*) &_result_ref
;
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20170 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20174 wxDateTime
*result
;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "hour", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail
;
20185 arg2
= (int)(SWIG_As_int(obj1
));
20186 if (SWIG_arg_fail(2)) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20192 result
= (wxDateTime
*) &_result_ref
;
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20205 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20209 wxDateTime
*result
;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "minute", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 arg2
= (int)(SWIG_As_int(obj1
));
20221 if (SWIG_arg_fail(2)) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20227 result
= (wxDateTime
*) &_result_ref
;
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20240 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20244 wxDateTime
*result
;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self",(char *) "second", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20255 arg2
= (int)(SWIG_As_int(obj1
));
20256 if (SWIG_arg_fail(2)) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20262 result
= (wxDateTime
*) &_result_ref
;
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20275 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20279 wxDateTime
*result
;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self",(char *) "millisecond", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20288 if (SWIG_arg_fail(1)) SWIG_fail
;
20290 arg2
= (int)(SWIG_As_int(obj1
));
20291 if (SWIG_arg_fail(2)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20297 result
= (wxDateTime
*) &_result_ref
;
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20310 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20313 wxDateTime::WeekDay arg2
;
20314 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20315 wxDateTime
*result
;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 PyObject
* obj2
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20325 if (SWIG_arg_fail(1)) SWIG_fail
;
20327 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20328 if (SWIG_arg_fail(2)) SWIG_fail
;
20332 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20333 if (SWIG_arg_fail(3)) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20340 result
= (wxDateTime
*) &_result_ref
;
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20353 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20356 wxDateTime::WeekDay arg2
;
20357 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20361 PyObject
* obj2
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail
;
20370 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20371 if (SWIG_arg_fail(2)) SWIG_fail
;
20375 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20376 if (SWIG_arg_fail(3)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20387 wxDateTime
* resultptr
;
20388 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20397 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20400 wxDateTime::WeekDay arg2
;
20401 wxDateTime
*result
;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "weekday", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20412 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20413 if (SWIG_arg_fail(2)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20419 result
= (wxDateTime
*) &_result_ref
;
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20432 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20435 wxDateTime::WeekDay arg2
;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "weekday", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20448 if (SWIG_arg_fail(2)) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 wxDateTime
* resultptr
;
20459 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20468 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20471 wxDateTime::WeekDay arg2
;
20472 wxDateTime
*result
;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "weekday", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20481 if (SWIG_arg_fail(1)) SWIG_fail
;
20483 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20484 if (SWIG_arg_fail(2)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20490 result
= (wxDateTime
*) &_result_ref
;
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20503 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20506 wxDateTime::WeekDay arg2
;
20508 PyObject
* obj0
= 0 ;
20509 PyObject
* obj1
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self",(char *) "weekday", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20516 if (SWIG_arg_fail(1)) SWIG_fail
;
20518 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20519 if (SWIG_arg_fail(2)) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20529 wxDateTime
* resultptr
;
20530 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20539 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20542 wxDateTime::WeekDay arg2
;
20543 int arg3
= (int) 1 ;
20544 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20545 int arg5
= (int) wxDateTime::Inv_Year
;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 PyObject
* obj2
= 0 ;
20550 PyObject
* obj3
= 0 ;
20551 PyObject
* obj4
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20561 if (SWIG_arg_fail(2)) SWIG_fail
;
20565 arg3
= (int)(SWIG_As_int(obj2
));
20566 if (SWIG_arg_fail(3)) SWIG_fail
;
20571 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20572 if (SWIG_arg_fail(4)) SWIG_fail
;
20577 arg5
= (int)(SWIG_As_int(obj4
));
20578 if (SWIG_arg_fail(5)) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20597 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20600 wxDateTime::WeekDay arg2
;
20601 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20602 int arg4
= (int) wxDateTime::Inv_Year
;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 PyObject
* obj2
= 0 ;
20607 PyObject
* obj3
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20614 if (SWIG_arg_fail(1)) SWIG_fail
;
20616 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20617 if (SWIG_arg_fail(2)) SWIG_fail
;
20621 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20622 if (SWIG_arg_fail(3)) SWIG_fail
;
20627 arg4
= (int)(SWIG_As_int(obj3
));
20628 if (SWIG_arg_fail(4)) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20647 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20650 wxDateTime::WeekDay arg2
;
20651 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20652 int arg4
= (int) wxDateTime::Inv_Year
;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20656 PyObject
* obj2
= 0 ;
20657 PyObject
* obj3
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20664 if (SWIG_arg_fail(1)) SWIG_fail
;
20666 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20667 if (SWIG_arg_fail(2)) SWIG_fail
;
20671 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20672 if (SWIG_arg_fail(3)) SWIG_fail
;
20677 arg4
= (int)(SWIG_As_int(obj3
));
20678 if (SWIG_arg_fail(4)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 wxDateTime
* resultptr
;
20690 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20699 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20703 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20704 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 PyObject
* obj3
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail
;
20718 arg2
= (int)(SWIG_As_int(obj1
));
20719 if (SWIG_arg_fail(2)) SWIG_fail
;
20723 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20724 if (SWIG_arg_fail(3)) SWIG_fail
;
20729 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20730 if (SWIG_arg_fail(4)) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20749 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20753 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20754 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 PyObject
* obj2
= 0 ;
20759 PyObject
* obj3
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20766 if (SWIG_arg_fail(1)) SWIG_fail
;
20768 arg2
= (int)(SWIG_As_int(obj1
));
20769 if (SWIG_arg_fail(2)) SWIG_fail
;
20773 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20774 if (SWIG_arg_fail(3)) SWIG_fail
;
20779 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20780 if (SWIG_arg_fail(4)) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20791 wxDateTime
* resultptr
;
20792 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20801 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20805 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 PyObject
* obj2
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20816 arg1
= (int)(SWIG_As_int(obj0
));
20817 if (SWIG_arg_fail(1)) SWIG_fail
;
20820 arg2
= (int)(SWIG_As_int(obj1
));
20821 if (SWIG_arg_fail(2)) SWIG_fail
;
20825 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20826 if (SWIG_arg_fail(3)) SWIG_fail
;
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20837 wxDateTime
* resultptr
;
20838 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20847 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20850 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20851 int arg3
= (int) wxDateTime::Inv_Year
;
20852 wxDateTime
*result
;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 PyObject
* obj2
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "month",(char *) "year", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20865 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20866 if (SWIG_arg_fail(2)) SWIG_fail
;
20871 arg3
= (int)(SWIG_As_int(obj2
));
20872 if (SWIG_arg_fail(3)) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20879 result
= (wxDateTime
*) &_result_ref
;
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20892 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20895 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20896 int arg3
= (int) wxDateTime::Inv_Year
;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 PyObject
* obj2
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self",(char *) "month",(char *) "year", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail
;
20910 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20911 if (SWIG_arg_fail(2)) SWIG_fail
;
20916 arg3
= (int)(SWIG_As_int(obj2
));
20917 if (SWIG_arg_fail(3)) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20928 wxDateTime
* resultptr
;
20929 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20938 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20942 wxDateTime
*result
;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "yday", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20951 if (SWIG_arg_fail(1)) SWIG_fail
;
20953 arg2
= (int)(SWIG_As_int(obj1
));
20954 if (SWIG_arg_fail(2)) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20960 result
= (wxDateTime
*) &_result_ref
;
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20973 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "yday", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail
;
20988 arg2
= (int)(SWIG_As_int(obj1
));
20989 if (SWIG_arg_fail(2)) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (arg1
)->GetYearDay(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20999 wxDateTime
* resultptr
;
21000 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21009 static PyObject
*_wrap_DateTime_GetJulianDayNumber(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_GetJulianDayNumber",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
)->GetJulianDayNumber();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_From_double((double)(result
));
21037 static PyObject
*_wrap_DateTime_GetJDN(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_GetJDN",kwnames
,&obj0
)) goto fail
;
21047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21048 if (SWIG_arg_fail(1)) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (double)(arg1
)->GetJDN();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_From_double((double)(result
));
21065 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(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_GetModifiedJulianDayNumber",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)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_From_double((double)(result
));
21093 static PyObject
*_wrap_DateTime_GetMJD(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_GetMJD",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
)->GetMJD();
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_double((double)(result
));
21121 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (double)(arg1
)->GetRataDie();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_From_double((double)(result
));
21149 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21152 wxDateTime::TimeZone
*arg2
= 0 ;
21153 bool arg3
= (bool) false ;
21155 bool temp2
= false ;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21172 arg3
= (bool)(SWIG_As_bool(obj2
));
21173 if (SWIG_arg_fail(3)) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21184 wxDateTime
* resultptr
;
21185 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21189 if (temp2
) delete arg2
;
21194 if (temp2
) delete arg2
;
21200 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21203 wxDateTime::TimeZone
*arg2
= 0 ;
21204 bool arg3
= (bool) false ;
21205 wxDateTime
*result
;
21206 bool temp2
= false ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 PyObject
* obj2
= 0 ;
21210 char *kwnames
[] = {
21211 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21216 if (SWIG_arg_fail(1)) SWIG_fail
;
21218 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21223 arg3
= (bool)(SWIG_As_bool(obj2
));
21224 if (SWIG_arg_fail(3)) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21231 result
= (wxDateTime
*) &_result_ref
;
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21239 if (temp2
) delete arg2
;
21244 if (temp2
) delete arg2
;
21250 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21253 bool arg2
= (bool) false ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "noDST", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail
;
21266 arg2
= (bool)(SWIG_As_bool(obj1
));
21267 if (SWIG_arg_fail(2)) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (arg1
)->ToGMT(arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 wxDateTime
* resultptr
;
21279 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21288 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21291 bool arg2
= (bool) false ;
21292 wxDateTime
*result
;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self",(char *) "noDST", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21301 if (SWIG_arg_fail(1)) SWIG_fail
;
21304 arg2
= (bool)(SWIG_As_bool(obj1
));
21305 if (SWIG_arg_fail(2)) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21312 result
= (wxDateTime
*) &_result_ref
;
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21325 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21328 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "country", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21342 if (SWIG_arg_fail(2)) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_From_int((int)(result
));
21361 static PyObject
*_wrap_DateTime_IsValid(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_IsValid",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
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21417 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21420 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21421 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21423 bool temp2
= false ;
21424 PyObject
* obj0
= 0 ;
21425 PyObject
* obj1
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "tz", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21432 if (SWIG_arg_fail(1)) SWIG_fail
;
21435 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= SWIG_From_int((int)(result
));
21450 if (temp2
) delete arg2
;
21455 if (temp2
) delete arg2
;
21461 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21464 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21465 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21466 wxDateTime::Month result
;
21467 bool temp2
= false ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "tz", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21476 if (SWIG_arg_fail(1)) SWIG_fail
;
21479 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= SWIG_From_int((result
));
21492 if (temp2
) delete arg2
;
21497 if (temp2
) delete arg2
;
21503 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
;
21505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21506 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21507 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21509 bool temp2
= false ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "tz", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21518 if (SWIG_arg_fail(1)) SWIG_fail
;
21521 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_From_int((int)(result
));
21536 if (temp2
) delete arg2
;
21541 if (temp2
) delete arg2
;
21547 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21550 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21551 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21552 wxDateTime::WeekDay result
;
21553 bool temp2
= false ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "tz", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail
;
21565 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_From_int((result
));
21578 if (temp2
) delete arg2
;
21583 if (temp2
) delete arg2
;
21589 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21592 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21593 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21595 bool temp2
= false ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "tz", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21607 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_From_int((int)(result
));
21622 if (temp2
) delete arg2
;
21627 if (temp2
) delete arg2
;
21633 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21636 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21637 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21639 bool temp2
= false ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self",(char *) "tz", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21648 if (SWIG_arg_fail(1)) SWIG_fail
;
21651 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_From_int((int)(result
));
21666 if (temp2
) delete arg2
;
21671 if (temp2
) delete arg2
;
21677 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21680 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21681 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21683 bool temp2
= false ;
21684 PyObject
* obj0
= 0 ;
21685 PyObject
* obj1
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "tz", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_From_int((int)(result
));
21710 if (temp2
) delete arg2
;
21715 if (temp2
) delete arg2
;
21721 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21724 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21725 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21727 bool temp2
= false ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self",(char *) "tz", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21736 if (SWIG_arg_fail(1)) SWIG_fail
;
21739 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_From_int((int)(result
));
21754 if (temp2
) delete arg2
;
21759 if (temp2
) delete arg2
;
21765 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21768 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21769 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21771 bool temp2
= false ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self",(char *) "tz", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail
;
21783 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_From_int((int)(result
));
21798 if (temp2
) delete arg2
;
21803 if (temp2
) delete arg2
;
21809 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21812 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21813 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21814 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21816 bool temp3
= false ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 PyObject
* obj2
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "flags",(char *) "tz", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21829 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21830 if (SWIG_arg_fail(2)) SWIG_fail
;
21835 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_From_int((int)(result
));
21850 if (temp3
) delete arg3
;
21855 if (temp3
) delete arg3
;
21861 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21864 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21865 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21866 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21868 bool temp3
= false ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 PyObject
* obj2
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self",(char *) "flags",(char *) "tz", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21878 if (SWIG_arg_fail(1)) SWIG_fail
;
21881 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21882 if (SWIG_arg_fail(2)) SWIG_fail
;
21887 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= SWIG_From_int((int)(result
));
21902 if (temp3
) delete arg3
;
21907 if (temp3
) delete arg3
;
21913 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21916 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "country", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21926 if (SWIG_arg_fail(1)) SWIG_fail
;
21929 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21930 if (SWIG_arg_fail(2)) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21949 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21952 wxDateTime
*arg2
= 0 ;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self",(char *) "datetime", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21962 if (SWIG_arg_fail(1)) SWIG_fail
;
21964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21965 if (SWIG_arg_fail(2)) SWIG_fail
;
21966 if (arg2
== NULL
) {
21967 SWIG_null_ref("wxDateTime");
21969 if (SWIG_arg_fail(2)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21987 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21990 wxDateTime
*arg2
= 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "datetime", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22000 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22003 if (SWIG_arg_fail(2)) SWIG_fail
;
22004 if (arg2
== NULL
) {
22005 SWIG_null_ref("wxDateTime");
22007 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22028 wxDateTime
*arg2
= 0 ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self",(char *) "datetime", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail
;
22040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22041 if (SWIG_arg_fail(2)) SWIG_fail
;
22042 if (arg2
== NULL
) {
22043 SWIG_null_ref("wxDateTime");
22045 if (SWIG_arg_fail(2)) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22063 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22066 wxDateTime
*arg2
= 0 ;
22067 wxDateTime
*arg3
= 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 PyObject
* obj2
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "t1",(char *) "t2", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail
;
22080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22081 if (SWIG_arg_fail(2)) SWIG_fail
;
22082 if (arg2
== NULL
) {
22083 SWIG_null_ref("wxDateTime");
22085 if (SWIG_arg_fail(2)) SWIG_fail
;
22088 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22089 if (SWIG_arg_fail(3)) SWIG_fail
;
22090 if (arg3
== NULL
) {
22091 SWIG_null_ref("wxDateTime");
22093 if (SWIG_arg_fail(3)) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22111 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22114 wxDateTime
*arg2
= 0 ;
22115 wxDateTime
*arg3
= 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "t1",(char *) "t2", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(2)) SWIG_fail
;
22130 if (arg2
== NULL
) {
22131 SWIG_null_ref("wxDateTime");
22133 if (SWIG_arg_fail(2)) SWIG_fail
;
22136 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22137 if (SWIG_arg_fail(3)) SWIG_fail
;
22138 if (arg3
== NULL
) {
22139 SWIG_null_ref("wxDateTime");
22141 if (SWIG_arg_fail(3)) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22159 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22162 wxDateTime
*arg2
= 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "dt", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22175 if (SWIG_arg_fail(2)) SWIG_fail
;
22176 if (arg2
== NULL
) {
22177 SWIG_null_ref("wxDateTime");
22179 if (SWIG_arg_fail(2)) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22197 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22200 wxDateTime
*arg2
= 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self",(char *) "dt", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22210 if (SWIG_arg_fail(1)) SWIG_fail
;
22212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22213 if (SWIG_arg_fail(2)) SWIG_fail
;
22214 if (arg2
== NULL
) {
22215 SWIG_null_ref("wxDateTime");
22217 if (SWIG_arg_fail(2)) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22235 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22238 wxDateTime
*arg2
= 0 ;
22239 wxTimeSpan
*arg3
= 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "dt",(char *) "ts", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail
;
22252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22253 if (SWIG_arg_fail(2)) SWIG_fail
;
22254 if (arg2
== NULL
) {
22255 SWIG_null_ref("wxDateTime");
22257 if (SWIG_arg_fail(2)) SWIG_fail
;
22260 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22261 if (SWIG_arg_fail(3)) SWIG_fail
;
22262 if (arg3
== NULL
) {
22263 SWIG_null_ref("wxTimeSpan");
22265 if (SWIG_arg_fail(3)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22283 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22286 wxTimeSpan
*arg2
= 0 ;
22287 wxDateTime
*result
;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self",(char *) "diff", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(2)) SWIG_fail
;
22300 if (arg2
== NULL
) {
22301 SWIG_null_ref("wxTimeSpan");
22303 if (SWIG_arg_fail(2)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22309 result
= (wxDateTime
*) &_result_ref
;
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22322 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22325 wxDateSpan
*arg2
= 0 ;
22326 wxDateTime
*result
;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "diff", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail
;
22337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22338 if (SWIG_arg_fail(2)) SWIG_fail
;
22339 if (arg2
== NULL
) {
22340 SWIG_null_ref("wxDateSpan");
22342 if (SWIG_arg_fail(2)) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22348 result
= (wxDateTime
*) &_result_ref
;
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22361 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22364 wxTimeSpan
*arg2
= 0 ;
22365 wxDateTime
*result
;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self",(char *) "diff", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22374 if (SWIG_arg_fail(1)) SWIG_fail
;
22376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22377 if (SWIG_arg_fail(2)) SWIG_fail
;
22378 if (arg2
== NULL
) {
22379 SWIG_null_ref("wxTimeSpan");
22381 if (SWIG_arg_fail(2)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22387 result
= (wxDateTime
*) &_result_ref
;
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22400 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22403 wxDateSpan
*arg2
= 0 ;
22404 wxDateTime
*result
;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "diff", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22413 if (SWIG_arg_fail(1)) SWIG_fail
;
22415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(2)) SWIG_fail
;
22417 if (arg2
== NULL
) {
22418 SWIG_null_ref("wxDateSpan");
22420 if (SWIG_arg_fail(2)) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22426 result
= (wxDateTime
*) &_result_ref
;
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22439 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22442 wxDateTime
*arg2
= 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self",(char *) "dt", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22452 if (SWIG_arg_fail(1)) SWIG_fail
;
22454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22455 if (SWIG_arg_fail(2)) SWIG_fail
;
22456 if (arg2
== NULL
) {
22457 SWIG_null_ref("wxDateTime");
22459 if (SWIG_arg_fail(2)) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 wxTimeSpan
* resultptr
;
22470 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22479 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22480 PyObject
*resultobj
;
22481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22482 wxTimeSpan
*arg2
= 0 ;
22483 wxDateTime
*result
;
22484 PyObject
* obj0
= 0 ;
22485 PyObject
* obj1
= 0 ;
22487 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(2)) SWIG_fail
;
22493 if (arg2
== NULL
) {
22494 SWIG_null_ref("wxTimeSpan");
22496 if (SWIG_arg_fail(2)) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22502 result
= (wxDateTime
*) &_result_ref
;
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22515 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22516 PyObject
*resultobj
;
22517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22518 wxDateSpan
*arg2
= 0 ;
22519 wxDateTime
*result
;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22523 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(2)) SWIG_fail
;
22529 if (arg2
== NULL
) {
22530 SWIG_null_ref("wxDateSpan");
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22538 result
= (wxDateTime
*) &_result_ref
;
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22551 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22556 argc
= PyObject_Length(args
);
22557 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22558 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22564 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22574 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22582 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22600 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22608 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22613 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22618 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22619 PyObject
*resultobj
;
22620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22621 wxTimeSpan
*arg2
= 0 ;
22622 wxDateTime
*result
;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22626 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22628 if (SWIG_arg_fail(1)) SWIG_fail
;
22630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22631 if (SWIG_arg_fail(2)) SWIG_fail
;
22632 if (arg2
== NULL
) {
22633 SWIG_null_ref("wxTimeSpan");
22635 if (SWIG_arg_fail(2)) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22641 result
= (wxDateTime
*) &_result_ref
;
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22654 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22655 PyObject
*resultobj
;
22656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22657 wxDateSpan
*arg2
= 0 ;
22658 wxDateTime
*result
;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22662 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22664 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22667 if (SWIG_arg_fail(2)) SWIG_fail
;
22668 if (arg2
== NULL
) {
22669 SWIG_null_ref("wxDateSpan");
22671 if (SWIG_arg_fail(2)) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22677 result
= (wxDateTime
*) &_result_ref
;
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22690 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22695 argc
= PyObject_Length(args
);
22696 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22697 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22703 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22713 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22721 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22729 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22739 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22747 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22752 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22757 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22758 PyObject
*resultobj
;
22759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22760 wxTimeSpan
*arg2
= 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22765 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22767 if (SWIG_arg_fail(1)) SWIG_fail
;
22769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22770 if (SWIG_arg_fail(2)) SWIG_fail
;
22771 if (arg2
== NULL
) {
22772 SWIG_null_ref("wxTimeSpan");
22774 if (SWIG_arg_fail(2)) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 wxDateTime
* resultptr
;
22785 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22794 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22795 PyObject
*resultobj
;
22796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22797 wxDateSpan
*arg2
= 0 ;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22802 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(2)) SWIG_fail
;
22808 if (arg2
== NULL
) {
22809 SWIG_null_ref("wxDateSpan");
22811 if (SWIG_arg_fail(2)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 wxDateTime
* resultptr
;
22822 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22831 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22836 argc
= PyObject_Length(args
);
22837 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22838 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22844 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22854 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22862 return _wrap_DateTime___add____SWIG_0(self
,args
);
22870 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22880 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22888 return _wrap_DateTime___add____SWIG_1(self
,args
);
22893 Py_INCREF(Py_NotImplemented
);
22894 return Py_NotImplemented
;
22898 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22899 PyObject
*resultobj
;
22900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22901 wxDateTime
*arg2
= 0 ;
22903 PyObject
* obj0
= 0 ;
22904 PyObject
* obj1
= 0 ;
22906 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22911 if (SWIG_arg_fail(2)) SWIG_fail
;
22912 if (arg2
== NULL
) {
22913 SWIG_null_ref("wxDateTime");
22915 if (SWIG_arg_fail(2)) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22925 wxTimeSpan
* resultptr
;
22926 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22935 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22936 PyObject
*resultobj
;
22937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22938 wxTimeSpan
*arg2
= 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22943 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22945 if (SWIG_arg_fail(1)) SWIG_fail
;
22947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22948 if (SWIG_arg_fail(2)) SWIG_fail
;
22949 if (arg2
== NULL
) {
22950 SWIG_null_ref("wxTimeSpan");
22952 if (SWIG_arg_fail(2)) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 wxDateTime
* resultptr
;
22963 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22972 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22973 PyObject
*resultobj
;
22974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22975 wxDateSpan
*arg2
= 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22980 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22982 if (SWIG_arg_fail(1)) SWIG_fail
;
22984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(2)) SWIG_fail
;
22986 if (arg2
== NULL
) {
22987 SWIG_null_ref("wxDateSpan");
22989 if (SWIG_arg_fail(2)) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 wxDateTime
* resultptr
;
23000 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23009 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23014 argc
= PyObject_Length(args
);
23015 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23016 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23022 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23032 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23040 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23058 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23066 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23084 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23092 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23097 Py_INCREF(Py_NotImplemented
);
23098 return Py_NotImplemented
;
23102 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23105 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "other", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail
;
23116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(2)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23134 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23137 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self",(char *) "other", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23149 if (SWIG_arg_fail(2)) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23166 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23169 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23171 PyObject
* obj0
= 0 ;
23172 PyObject
* obj1
= 0 ;
23173 char *kwnames
[] = {
23174 (char *) "self",(char *) "other", NULL
23177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23179 if (SWIG_arg_fail(1)) SWIG_fail
;
23180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23181 if (SWIG_arg_fail(2)) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23198 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23201 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "other", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23211 if (SWIG_arg_fail(1)) SWIG_fail
;
23212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23213 if (SWIG_arg_fail(2)) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23230 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23233 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "other", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23243 if (SWIG_arg_fail(1)) SWIG_fail
;
23244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23245 if (SWIG_arg_fail(2)) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23262 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23265 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self",(char *) "other", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23275 if (SWIG_arg_fail(1)) SWIG_fail
;
23276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23277 if (SWIG_arg_fail(2)) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23294 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23297 wxString
*arg2
= 0 ;
23299 bool temp2
= false ;
23300 PyObject
* obj0
= 0 ;
23301 PyObject
* obj1
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "date", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23308 if (SWIG_arg_fail(1)) SWIG_fail
;
23310 arg2
= wxString_in_helper(obj1
);
23311 if (arg2
== NULL
) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_From_int((int)(result
));
23338 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23341 wxString
*arg2
= 0 ;
23342 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23344 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23345 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23347 bool temp2
= false ;
23348 bool temp3
= false ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 PyObject
* obj2
= 0 ;
23352 PyObject
* obj3
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail
;
23361 arg2
= wxString_in_helper(obj1
);
23362 if (arg2
== NULL
) SWIG_fail
;
23367 arg3
= wxString_in_helper(obj2
);
23368 if (arg3
== NULL
) SWIG_fail
;
23374 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23375 if (SWIG_arg_fail(4)) SWIG_fail
;
23376 if (arg4
== NULL
) {
23377 SWIG_null_ref("wxDateTime");
23379 if (SWIG_arg_fail(4)) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_From_int((int)(result
));
23414 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23417 wxString
*arg2
= 0 ;
23419 bool temp2
= false ;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "datetime", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23428 if (SWIG_arg_fail(1)) SWIG_fail
;
23430 arg2
= wxString_in_helper(obj1
);
23431 if (arg2
== NULL
) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_From_int((int)(result
));
23458 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23461 wxString
*arg2
= 0 ;
23463 bool temp2
= false ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "date", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail
;
23474 arg2
= wxString_in_helper(obj1
);
23475 if (arg2
== NULL
) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_From_int((int)(result
));
23502 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23505 wxString
*arg2
= 0 ;
23507 bool temp2
= false ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self",(char *) "time", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23516 if (SWIG_arg_fail(1)) SWIG_fail
;
23518 arg2
= wxString_in_helper(obj1
);
23519 if (arg2
== NULL
) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_From_int((int)(result
));
23546 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23549 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23551 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23552 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23554 bool temp2
= false ;
23555 bool temp3
= false ;
23556 PyObject
* obj0
= 0 ;
23557 PyObject
* obj1
= 0 ;
23558 PyObject
* obj2
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self",(char *) "format",(char *) "tz", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail
;
23568 arg2
= wxString_in_helper(obj1
);
23569 if (arg2
== NULL
) SWIG_fail
;
23575 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23598 if (temp3
) delete arg3
;
23607 if (temp3
) delete arg3
;
23613 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self", NULL
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23624 if (SWIG_arg_fail(1)) SWIG_fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23645 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23656 if (SWIG_arg_fail(1)) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23677 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23688 if (SWIG_arg_fail(1)) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23709 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23713 PyObject
* obj0
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23720 if (SWIG_arg_fail(1)) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23741 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23744 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23746 return Py_BuildValue((char *)"");
23748 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23752 PyObject
* obj0
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "sec", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23759 arg1
= (long)(SWIG_As_long(obj0
));
23760 if (SWIG_arg_fail(1)) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= wxTimeSpan::Seconds(arg1
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 wxTimeSpan
* resultptr
;
23771 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23780 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23783 char *kwnames
[] = {
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= wxTimeSpan::Second();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 wxTimeSpan
* resultptr
;
23797 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23806 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23810 PyObject
* obj0
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "min", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23817 arg1
= (long)(SWIG_As_long(obj0
));
23818 if (SWIG_arg_fail(1)) SWIG_fail
;
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= wxTimeSpan::Minutes(arg1
);
23824 wxPyEndAllowThreads(__tstate
);
23825 if (PyErr_Occurred()) SWIG_fail
;
23828 wxTimeSpan
* resultptr
;
23829 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23838 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23841 char *kwnames
[] = {
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= wxTimeSpan::Minute();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23854 wxTimeSpan
* resultptr
;
23855 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23864 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23868 PyObject
* obj0
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "hours", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23875 arg1
= (long)(SWIG_As_long(obj0
));
23876 if (SWIG_arg_fail(1)) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= wxTimeSpan::Hours(arg1
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23886 wxTimeSpan
* resultptr
;
23887 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23896 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23899 char *kwnames
[] = {
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= wxTimeSpan::Hour();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 wxTimeSpan
* resultptr
;
23913 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23922 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23926 PyObject
* obj0
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "days", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23933 arg1
= (long)(SWIG_As_long(obj0
));
23934 if (SWIG_arg_fail(1)) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= wxTimeSpan::Days(arg1
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 wxTimeSpan
* resultptr
;
23945 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23954 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23957 char *kwnames
[] = {
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= wxTimeSpan::Day();
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23970 wxTimeSpan
* resultptr
;
23971 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23980 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "days", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23991 arg1
= (long)(SWIG_As_long(obj0
));
23992 if (SWIG_arg_fail(1)) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= wxTimeSpan::Weeks(arg1
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 wxTimeSpan
* resultptr
;
24003 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24012 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24015 char *kwnames
[] = {
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= wxTimeSpan::Week();
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 wxTimeSpan
* resultptr
;
24029 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24038 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 long arg1
= (long) 0 ;
24041 long arg2
= (long) 0 ;
24042 long arg3
= (long) 0 ;
24043 long arg4
= (long) 0 ;
24044 wxTimeSpan
*result
;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 PyObject
* obj3
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24056 arg1
= (long)(SWIG_As_long(obj0
));
24057 if (SWIG_arg_fail(1)) SWIG_fail
;
24062 arg2
= (long)(SWIG_As_long(obj1
));
24063 if (SWIG_arg_fail(2)) SWIG_fail
;
24068 arg3
= (long)(SWIG_As_long(obj2
));
24069 if (SWIG_arg_fail(3)) SWIG_fail
;
24074 arg4
= (long)(SWIG_As_long(obj3
));
24075 if (SWIG_arg_fail(4)) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24092 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 Py_INCREF(Py_None
); resultobj
= Py_None
;
24117 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24120 wxTimeSpan
*arg2
= 0 ;
24121 wxTimeSpan
*result
;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "diff", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24133 if (SWIG_arg_fail(2)) SWIG_fail
;
24134 if (arg2
== NULL
) {
24135 SWIG_null_ref("wxTimeSpan");
24137 if (SWIG_arg_fail(2)) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24143 result
= (wxTimeSpan
*) &_result_ref
;
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24156 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24159 wxTimeSpan
*arg2
= 0 ;
24160 wxTimeSpan
*result
;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "diff", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24169 if (SWIG_arg_fail(1)) SWIG_fail
;
24171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24172 if (SWIG_arg_fail(2)) SWIG_fail
;
24173 if (arg2
== NULL
) {
24174 SWIG_null_ref("wxTimeSpan");
24176 if (SWIG_arg_fail(2)) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24182 result
= (wxTimeSpan
*) &_result_ref
;
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24195 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24199 wxTimeSpan
*result
;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "n", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24208 if (SWIG_arg_fail(1)) SWIG_fail
;
24210 arg2
= (int)(SWIG_As_int(obj1
));
24211 if (SWIG_arg_fail(2)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24217 result
= (wxTimeSpan
*) &_result_ref
;
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24230 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24232 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24233 wxTimeSpan
*result
;
24234 PyObject
* obj0
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24241 if (SWIG_arg_fail(1)) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24246 result
= (wxTimeSpan
*) &_result_ref
;
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24259 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24263 PyObject
* obj0
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24279 wxTimeSpan
* resultptr
;
24280 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24289 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24292 wxTimeSpan
*arg2
= 0 ;
24293 wxTimeSpan
*result
;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "diff", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24302 if (SWIG_arg_fail(1)) SWIG_fail
;
24304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24305 if (SWIG_arg_fail(2)) SWIG_fail
;
24306 if (arg2
== NULL
) {
24307 SWIG_null_ref("wxTimeSpan");
24309 if (SWIG_arg_fail(2)) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24315 result
= (wxTimeSpan
*) &_result_ref
;
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24328 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24331 wxTimeSpan
*arg2
= 0 ;
24332 wxTimeSpan
*result
;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "diff", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24341 if (SWIG_arg_fail(1)) SWIG_fail
;
24343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24344 if (SWIG_arg_fail(2)) SWIG_fail
;
24345 if (arg2
== NULL
) {
24346 SWIG_null_ref("wxTimeSpan");
24348 if (SWIG_arg_fail(2)) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24354 result
= (wxTimeSpan
*) &_result_ref
;
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24367 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24371 wxTimeSpan
*result
;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 char *kwnames
[] = {
24375 (char *) "self",(char *) "n", NULL
24378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24380 if (SWIG_arg_fail(1)) SWIG_fail
;
24382 arg2
= (int)(SWIG_As_int(obj1
));
24383 if (SWIG_arg_fail(2)) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24389 result
= (wxTimeSpan
*) &_result_ref
;
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24402 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24405 wxTimeSpan
*result
;
24406 PyObject
* obj0
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24413 if (SWIG_arg_fail(1)) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24418 result
= (wxTimeSpan
*) &_result_ref
;
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24431 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24434 wxTimeSpan
*arg2
= 0 ;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self",(char *) "other", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24444 if (SWIG_arg_fail(1)) SWIG_fail
;
24446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24447 if (SWIG_arg_fail(2)) SWIG_fail
;
24448 if (arg2
== NULL
) {
24449 SWIG_null_ref("wxTimeSpan");
24451 if (SWIG_arg_fail(2)) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 wxTimeSpan
* resultptr
;
24462 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24471 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24474 wxTimeSpan
*arg2
= 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "other", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail
;
24486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24487 if (SWIG_arg_fail(2)) SWIG_fail
;
24488 if (arg2
== NULL
) {
24489 SWIG_null_ref("wxTimeSpan");
24491 if (SWIG_arg_fail(2)) SWIG_fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24501 wxTimeSpan
* resultptr
;
24502 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24511 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
;
24513 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "n", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24524 if (SWIG_arg_fail(1)) SWIG_fail
;
24526 arg2
= (int)(SWIG_As_int(obj1
));
24527 if (SWIG_arg_fail(2)) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= wxTimeSpan___mul__(arg1
,arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 wxTimeSpan
* resultptr
;
24538 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24547 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self",(char *) "n", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 arg2
= (int)(SWIG_As_int(obj1
));
24563 if (SWIG_arg_fail(2)) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 wxTimeSpan
* resultptr
;
24574 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24583 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24586 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "other", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail
;
24597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24598 if (SWIG_arg_fail(2)) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24615 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24618 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "other", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail
;
24629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24630 if (SWIG_arg_fail(2)) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24647 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24650 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "other", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24660 if (SWIG_arg_fail(1)) SWIG_fail
;
24661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24662 if (SWIG_arg_fail(2)) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24679 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24682 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "other", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail
;
24693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24694 if (SWIG_arg_fail(2)) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24714 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self",(char *) "other", NULL
24722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail
;
24725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(2)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24743 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24746 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "other", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(2)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24775 static PyObject
*_wrap_TimeSpan_IsNull(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_IsNull",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
)->IsNull();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_TimeSpan_IsPositive(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_IsPositive",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
)->IsPositive();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24831 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24842 if (SWIG_arg_fail(1)) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24859 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24862 wxTimeSpan
*arg2
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "ts", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail
;
24874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24875 if (SWIG_arg_fail(2)) SWIG_fail
;
24876 if (arg2
== NULL
) {
24877 SWIG_null_ref("wxTimeSpan");
24879 if (SWIG_arg_fail(2)) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24897 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24900 wxTimeSpan
*arg2
= 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "ts", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24910 if (SWIG_arg_fail(1)) SWIG_fail
;
24912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(2)) SWIG_fail
;
24914 if (arg2
== NULL
) {
24915 SWIG_null_ref("wxTimeSpan");
24917 if (SWIG_arg_fail(2)) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24935 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24938 wxTimeSpan
*arg2
= 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "t", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24948 if (SWIG_arg_fail(1)) SWIG_fail
;
24950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24951 if (SWIG_arg_fail(2)) SWIG_fail
;
24952 if (arg2
== NULL
) {
24953 SWIG_null_ref("wxTimeSpan");
24955 if (SWIG_arg_fail(2)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24973 static PyObject
*_wrap_TimeSpan_GetWeeks(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_GetWeeks",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
)->GetWeeks();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_From_int((int)(result
));
25001 static PyObject
*_wrap_TimeSpan_GetDays(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_GetDays",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
)->GetDays();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_From_int((int)(result
));
25029 static PyObject
*_wrap_TimeSpan_GetHours(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_GetHours",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
)->GetHours();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_From_int((int)(result
));
25057 static PyObject
*_wrap_TimeSpan_GetMinutes(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_GetMinutes",kwnames
,&obj0
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_From_int((int)(result
));
25085 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25096 if (SWIG_arg_fail(1)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25105 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25106 hi
= PyLong_FromLong( (&result
)->GetHi() );
25107 lo
= PyLong_FromLong( (&result
)->GetLo() );
25108 shifter
= PyLong_FromLong(32);
25109 shifted
= PyNumber_Lshift(hi
, shifter
);
25110 resultobj
= PyNumber_Or(shifted
, lo
);
25113 Py_DECREF(shifter
);
25114 Py_DECREF(shifted
);
25122 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25133 if (SWIG_arg_fail(1)) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25142 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25143 hi
= PyLong_FromLong( (&result
)->GetHi() );
25144 lo
= PyLong_FromLong( (&result
)->GetLo() );
25145 shifter
= PyLong_FromLong(32);
25146 shifted
= PyNumber_Lshift(hi
, shifter
);
25147 resultobj
= PyNumber_Or(shifted
, lo
);
25150 Py_DECREF(shifter
);
25151 Py_DECREF(shifted
);
25159 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25162 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25163 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25165 bool temp2
= false ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "format", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail
;
25177 arg2
= wxString_in_helper(obj1
);
25178 if (arg2
== NULL
) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25210 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25213 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25215 return Py_BuildValue((char *)"");
25217 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 int arg1
= (int) 0 ;
25220 int arg2
= (int) 0 ;
25221 int arg3
= (int) 0 ;
25222 int arg4
= (int) 0 ;
25223 wxDateSpan
*result
;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 PyObject
* obj2
= 0 ;
25227 PyObject
* obj3
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25235 arg1
= (int)(SWIG_As_int(obj0
));
25236 if (SWIG_arg_fail(1)) SWIG_fail
;
25241 arg2
= (int)(SWIG_As_int(obj1
));
25242 if (SWIG_arg_fail(2)) SWIG_fail
;
25247 arg3
= (int)(SWIG_As_int(obj2
));
25248 if (SWIG_arg_fail(3)) SWIG_fail
;
25253 arg4
= (int)(SWIG_As_int(obj3
));
25254 if (SWIG_arg_fail(4)) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25271 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25274 PyObject
* obj0
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25281 if (SWIG_arg_fail(1)) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25300 PyObject
* obj0
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "days", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25307 arg1
= (int)(SWIG_As_int(obj0
));
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= wxDateSpan::Days(arg1
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25318 wxDateSpan
* resultptr
;
25319 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25328 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25331 char *kwnames
[] = {
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= wxDateSpan::Day();
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25344 wxDateSpan
* resultptr
;
25345 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25354 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
;
25358 PyObject
* obj0
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "weeks", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25365 arg1
= (int)(SWIG_As_int(obj0
));
25366 if (SWIG_arg_fail(1)) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= wxDateSpan::Weeks(arg1
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25376 wxDateSpan
* resultptr
;
25377 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25386 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25389 char *kwnames
[] = {
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= wxDateSpan::Week();
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 wxDateSpan
* resultptr
;
25403 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25412 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "mon", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25423 arg1
= (int)(SWIG_As_int(obj0
));
25424 if (SWIG_arg_fail(1)) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= wxDateSpan::Months(arg1
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25434 wxDateSpan
* resultptr
;
25435 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25444 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25447 char *kwnames
[] = {
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 result
= wxDateSpan::Month();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25460 wxDateSpan
* resultptr
;
25461 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25470 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25474 PyObject
* obj0
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "years", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25481 arg1
= (int)(SWIG_As_int(obj0
));
25482 if (SWIG_arg_fail(1)) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 result
= wxDateSpan::Years(arg1
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25492 wxDateSpan
* resultptr
;
25493 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25502 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25505 char *kwnames
[] = {
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= wxDateSpan::Year();
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25518 wxDateSpan
* resultptr
;
25519 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25528 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
;
25530 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25532 wxDateSpan
*result
;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self",(char *) "n", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25541 if (SWIG_arg_fail(1)) SWIG_fail
;
25543 arg2
= (int)(SWIG_As_int(obj1
));
25544 if (SWIG_arg_fail(2)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25550 result
= (wxDateSpan
*) &_result_ref
;
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25563 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25567 wxDateSpan
*result
;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "n", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25576 if (SWIG_arg_fail(1)) SWIG_fail
;
25578 arg2
= (int)(SWIG_As_int(obj1
));
25579 if (SWIG_arg_fail(2)) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25585 result
= (wxDateSpan
*) &_result_ref
;
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25598 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25602 wxDateSpan
*result
;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self",(char *) "n", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail
;
25613 arg2
= (int)(SWIG_As_int(obj1
));
25614 if (SWIG_arg_fail(2)) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25620 result
= (wxDateSpan
*) &_result_ref
;
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25633 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25637 wxDateSpan
*result
;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 char *kwnames
[] = {
25641 (char *) "self",(char *) "n", NULL
25644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail
;
25648 arg2
= (int)(SWIG_As_int(obj1
));
25649 if (SWIG_arg_fail(2)) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25655 result
= (wxDateSpan
*) &_result_ref
;
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25668 static PyObject
*_wrap_DateSpan_GetYears(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_GetYears",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
)->GetYears();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_int((int)(result
));
25696 static PyObject
*_wrap_DateSpan_GetMonths(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_GetMonths",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
)->GetMonths();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_From_int((int)(result
));
25724 static PyObject
*_wrap_DateSpan_GetWeeks(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_GetWeeks",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
)->GetWeeks();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_From_int((int)(result
));
25752 static PyObject
*_wrap_DateSpan_GetDays(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_GetDays",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
)->GetDays();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_From_int((int)(result
));
25780 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= SWIG_From_int((int)(result
));
25808 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25811 wxDateSpan
*arg2
= 0 ;
25812 wxDateSpan
*result
;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "other", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail
;
25823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25824 if (SWIG_arg_fail(2)) SWIG_fail
;
25825 if (arg2
== NULL
) {
25826 SWIG_null_ref("wxDateSpan");
25828 if (SWIG_arg_fail(2)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25834 result
= (wxDateSpan
*) &_result_ref
;
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25847 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25850 wxDateSpan
*arg2
= 0 ;
25851 wxDateSpan
*result
;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self",(char *) "other", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25860 if (SWIG_arg_fail(1)) SWIG_fail
;
25862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25863 if (SWIG_arg_fail(2)) SWIG_fail
;
25864 if (arg2
== NULL
) {
25865 SWIG_null_ref("wxDateSpan");
25867 if (SWIG_arg_fail(2)) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25873 result
= (wxDateSpan
*) &_result_ref
;
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25886 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25889 wxDateSpan
*result
;
25890 PyObject
* obj0
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25902 result
= (wxDateSpan
*) &_result_ref
;
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25915 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25919 wxDateSpan
*result
;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "factor", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail
;
25930 arg2
= (int)(SWIG_As_int(obj1
));
25931 if (SWIG_arg_fail(2)) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25937 result
= (wxDateSpan
*) &_result_ref
;
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25950 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25953 wxDateSpan
*arg2
= 0 ;
25954 wxDateSpan
*result
;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self",(char *) "other", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25963 if (SWIG_arg_fail(1)) SWIG_fail
;
25965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25966 if (SWIG_arg_fail(2)) SWIG_fail
;
25967 if (arg2
== NULL
) {
25968 SWIG_null_ref("wxDateSpan");
25970 if (SWIG_arg_fail(2)) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25976 result
= (wxDateSpan
*) &_result_ref
;
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25989 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25992 wxDateSpan
*arg2
= 0 ;
25993 wxDateSpan
*result
;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "other", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26002 if (SWIG_arg_fail(1)) SWIG_fail
;
26004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26005 if (SWIG_arg_fail(2)) SWIG_fail
;
26006 if (arg2
== NULL
) {
26007 SWIG_null_ref("wxDateSpan");
26009 if (SWIG_arg_fail(2)) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26015 result
= (wxDateSpan
*) &_result_ref
;
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26028 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26031 wxDateSpan
*result
;
26032 PyObject
* obj0
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26039 if (SWIG_arg_fail(1)) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26044 result
= (wxDateSpan
*) &_result_ref
;
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26057 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26061 wxDateSpan
*result
;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "factor", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26070 if (SWIG_arg_fail(1)) SWIG_fail
;
26072 arg2
= (int)(SWIG_As_int(obj1
));
26073 if (SWIG_arg_fail(2)) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26079 result
= (wxDateSpan
*) &_result_ref
;
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26092 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26095 wxDateSpan
*arg2
= 0 ;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "other", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26105 if (SWIG_arg_fail(1)) SWIG_fail
;
26107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26108 if (SWIG_arg_fail(2)) SWIG_fail
;
26109 if (arg2
== NULL
) {
26110 SWIG_null_ref("wxDateSpan");
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26122 wxDateSpan
* resultptr
;
26123 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26132 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26135 wxDateSpan
*arg2
= 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "other", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26145 if (SWIG_arg_fail(1)) SWIG_fail
;
26147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26148 if (SWIG_arg_fail(2)) SWIG_fail
;
26149 if (arg2
== NULL
) {
26150 SWIG_null_ref("wxDateSpan");
26152 if (SWIG_arg_fail(2)) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26162 wxDateSpan
* resultptr
;
26163 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26172 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "n", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26185 if (SWIG_arg_fail(1)) SWIG_fail
;
26187 arg2
= (int)(SWIG_As_int(obj1
));
26188 if (SWIG_arg_fail(2)) SWIG_fail
;
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= wxDateSpan___mul__(arg1
,arg2
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 wxDateSpan
* resultptr
;
26199 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26208 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self",(char *) "n", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26221 if (SWIG_arg_fail(1)) SWIG_fail
;
26223 arg2
= (int)(SWIG_As_int(obj1
));
26224 if (SWIG_arg_fail(2)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= wxDateSpan___rmul__(arg1
,arg2
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 wxDateSpan
* resultptr
;
26235 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26244 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26247 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 PyObject
* obj1
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self",(char *) "other", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail
;
26258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26259 if (SWIG_arg_fail(2)) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26276 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26279 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26281 PyObject
* obj0
= 0 ;
26282 PyObject
* obj1
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self",(char *) "other", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26289 if (SWIG_arg_fail(1)) SWIG_fail
;
26290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26291 if (SWIG_arg_fail(2)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26308 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26311 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26313 return Py_BuildValue((char *)"");
26315 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26318 char *kwnames
[] = {
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (long)wxGetLocalTime();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_From_long((long)(result
));
26339 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26342 char *kwnames
[] = {
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (long)wxGetUTCTime();
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_From_long((long)(result
));
26363 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26366 char *kwnames
[] = {
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (long)wxGetCurrentTime();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= SWIG_From_long((long)(result
));
26387 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26390 char *kwnames
[] = {
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= wxGetLocalTimeMillis();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26404 hi
= PyLong_FromLong( (&result
)->GetHi() );
26405 lo
= PyLong_FromLong( (&result
)->GetLo() );
26406 shifter
= PyLong_FromLong(32);
26407 shifted
= PyNumber_Lshift(hi
, shifter
);
26408 resultobj
= PyNumber_Or(shifted
, lo
);
26411 Py_DECREF(shifter
);
26412 Py_DECREF(shifted
);
26420 static int _wrap_DefaultDateTime_set(PyObject
*) {
26421 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26426 static PyObject
*_wrap_DefaultDateTime_get(void) {
26429 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26434 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxDataFormatId arg1
;
26437 wxDataFormat
*result
;
26438 PyObject
* obj0
= 0 ;
26439 char *kwnames
[] = {
26440 (char *) "type", NULL
26443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26445 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26446 if (SWIG_arg_fail(1)) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26462 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
;
26464 wxString
*arg1
= 0 ;
26465 wxDataFormat
*result
;
26466 bool temp1
= false ;
26467 PyObject
* obj0
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "format", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26474 arg1
= wxString_in_helper(obj0
);
26475 if (arg1
== NULL
) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26500 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26510 if (SWIG_arg_fail(1)) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 Py_INCREF(Py_None
); resultobj
= Py_None
;
26525 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26526 PyObject
*resultobj
;
26527 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26528 wxDataFormatId arg2
;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26533 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26535 if (SWIG_arg_fail(1)) SWIG_fail
;
26537 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26538 if (SWIG_arg_fail(2)) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26556 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26557 PyObject
*resultobj
;
26558 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26559 wxDataFormatId arg2
;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26564 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26566 if (SWIG_arg_fail(1)) SWIG_fail
;
26568 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26569 if (SWIG_arg_fail(2)) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26587 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26588 PyObject
*resultobj
;
26589 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26590 wxDataFormat
*arg2
= 0 ;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26595 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26597 if (SWIG_arg_fail(1)) SWIG_fail
;
26599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26600 if (SWIG_arg_fail(2)) SWIG_fail
;
26601 if (arg2
== NULL
) {
26602 SWIG_null_ref("wxDataFormat");
26604 if (SWIG_arg_fail(2)) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26622 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26627 argc
= PyObject_Length(args
);
26628 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26629 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26635 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26645 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26653 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26661 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26669 _v
= SWIG_Check_int(argv
[1]);
26671 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26676 Py_INCREF(Py_NotImplemented
);
26677 return Py_NotImplemented
;
26681 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26682 PyObject
*resultobj
;
26683 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26684 wxDataFormat
*arg2
= 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26689 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26691 if (SWIG_arg_fail(1)) SWIG_fail
;
26693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(2)) SWIG_fail
;
26695 if (arg2
== NULL
) {
26696 SWIG_null_ref("wxDataFormat");
26698 if (SWIG_arg_fail(2)) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26716 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26721 argc
= PyObject_Length(args
);
26722 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26723 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26729 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26739 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26747 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26755 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26763 _v
= SWIG_Check_int(argv
[1]);
26765 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26770 Py_INCREF(Py_NotImplemented
);
26771 return Py_NotImplemented
;
26775 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26778 wxDataFormatId arg2
;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 char *kwnames
[] = {
26782 (char *) "self",(char *) "format", NULL
26785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26787 if (SWIG_arg_fail(1)) SWIG_fail
;
26789 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26790 if (SWIG_arg_fail(2)) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 (arg1
)->SetType((wxDataFormatId
)arg2
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26809 wxDataFormatId result
;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26817 if (SWIG_arg_fail(1)) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_From_int((result
));
26832 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= ((wxDataFormat
const *)arg1
)->GetId();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26864 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26867 wxString
*arg2
= 0 ;
26868 bool temp2
= false ;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "format", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26877 if (SWIG_arg_fail(1)) SWIG_fail
;
26879 arg2
= wxString_in_helper(obj1
);
26880 if (arg2
== NULL
) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 (arg1
)->SetId((wxString
const &)*arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 Py_INCREF(Py_None
); resultobj
= Py_None
;
26905 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26908 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26910 return Py_BuildValue((char *)"");
26912 static int _wrap_FormatInvalid_set(PyObject
*) {
26913 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26918 static PyObject
*_wrap_FormatInvalid_get(void) {
26921 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26926 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26936 if (SWIG_arg_fail(1)) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 Py_INCREF(Py_None
); resultobj
= Py_None
;
26951 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26954 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26955 SwigValueWrapper
<wxDataFormat
> result
;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "dir", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26967 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26968 if (SWIG_arg_fail(2)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 wxDataFormat
* resultptr
;
26980 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26989 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26992 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "dir", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail
;
27005 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27006 if (SWIG_arg_fail(2)) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27025 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27028 wxDataFormat
*arg2
= 0 ;
27029 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 PyObject
* obj2
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "format",(char *) "dir", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27043 if (SWIG_arg_fail(2)) SWIG_fail
;
27044 if (arg2
== NULL
) {
27045 SWIG_null_ref("wxDataFormat");
27047 if (SWIG_arg_fail(2)) SWIG_fail
;
27051 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27052 if (SWIG_arg_fail(3)) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27071 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27074 wxDataFormat
*arg2
= 0 ;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "format", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27084 if (SWIG_arg_fail(1)) SWIG_fail
;
27086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27087 if (SWIG_arg_fail(2)) SWIG_fail
;
27088 if (arg2
== NULL
) {
27089 SWIG_null_ref("wxDataFormat");
27091 if (SWIG_arg_fail(2)) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27109 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
;
27111 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27112 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27114 PyObject
* obj0
= 0 ;
27115 PyObject
* obj1
= 0 ;
27116 char *kwnames
[] = {
27117 (char *) "self",(char *) "dir", NULL
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27122 if (SWIG_arg_fail(1)) SWIG_fail
;
27125 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27126 if (SWIG_arg_fail(2)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= result
;
27143 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27146 wxDataFormat
*arg2
= 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "format", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail
;
27158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27159 if (SWIG_arg_fail(2)) SWIG_fail
;
27160 if (arg2
== NULL
) {
27161 SWIG_null_ref("wxDataFormat");
27163 if (SWIG_arg_fail(2)) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= result
;
27179 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27182 wxDataFormat
*arg2
= 0 ;
27183 PyObject
*arg3
= (PyObject
*) 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 PyObject
* obj2
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self",(char *) "format",(char *) "data", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27194 if (SWIG_arg_fail(1)) SWIG_fail
;
27196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27197 if (SWIG_arg_fail(2)) SWIG_fail
;
27198 if (arg2
== NULL
) {
27199 SWIG_null_ref("wxDataFormat");
27201 if (SWIG_arg_fail(2)) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27220 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27223 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27225 return Py_BuildValue((char *)"");
27227 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27230 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27231 wxDataObjectSimple
*result
;
27232 PyObject
* obj0
= 0 ;
27233 char *kwnames
[] = {
27234 (char *) "format", NULL
27237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail
;
27242 if (arg1
== NULL
) {
27243 SWIG_null_ref("wxDataFormat");
27245 if (SWIG_arg_fail(1)) SWIG_fail
;
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27262 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27265 wxDataFormat
*result
;
27266 PyObject
* obj0
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27278 result
= (wxDataFormat
*) &_result_ref
;
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27291 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27294 wxDataFormat
*arg2
= 0 ;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "format", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27303 if (SWIG_arg_fail(1)) SWIG_fail
;
27305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27306 if (SWIG_arg_fail(2)) SWIG_fail
;
27307 if (arg2
== NULL
) {
27308 SWIG_null_ref("wxDataFormat");
27310 if (SWIG_arg_fail(2)) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 Py_INCREF(Py_None
); resultobj
= Py_None
;
27326 static PyObject
*_wrap_DataObjectSimple_GetDataSize(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_GetDataSize",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
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27354 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27358 PyObject
* obj0
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
;
27380 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27383 PyObject
*arg2
= (PyObject
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "data", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27411 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27414 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27416 return Py_BuildValue((char *)"");
27418 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27419 PyObject
*resultobj
;
27420 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27421 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27422 wxPyDataObjectSimple
*result
;
27423 PyObject
* obj0
= 0 ;
27424 char *kwnames
[] = {
27425 (char *) "format", NULL
27428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27433 if (arg1
== NULL
) {
27434 SWIG_null_ref("wxDataFormat");
27436 if (SWIG_arg_fail(1)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27453 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27456 PyObject
*arg2
= (PyObject
*) 0 ;
27457 PyObject
*arg3
= (PyObject
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 PyObject
* obj2
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self",(char *) "self",(char *) "_class", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27467 if (SWIG_arg_fail(1)) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 Py_INCREF(Py_None
); resultobj
= Py_None
;
27484 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27487 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27489 return Py_BuildValue((char *)"");
27491 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxDataObjectComposite
*result
;
27494 char *kwnames
[] = {
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27513 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27516 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27517 bool arg3
= (bool) false ;
27518 PyObject
* obj0
= 0 ;
27519 PyObject
* obj1
= 0 ;
27520 PyObject
* obj2
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27527 if (SWIG_arg_fail(1)) SWIG_fail
;
27528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27529 if (SWIG_arg_fail(2)) SWIG_fail
;
27532 arg3
= (bool)(SWIG_As_bool(obj2
));
27533 if (SWIG_arg_fail(3)) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 (arg1
)->Add(arg2
,arg3
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 Py_INCREF(Py_None
); resultobj
= Py_None
;
27550 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27553 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27555 return Py_BuildValue((char *)"");
27557 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27560 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27561 wxTextDataObject
*result
;
27562 bool temp1
= false ;
27563 PyObject
* obj0
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "text", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27571 arg1
= wxString_in_helper(obj0
);
27572 if (arg1
== NULL
) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27598 static PyObject
*_wrap_TextDataObject_GetTextLength(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_GetTextLength",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
= (size_t)(arg1
)->GetTextLength();
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27626 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (arg1
)->GetText();
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27658 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27661 wxString
*arg2
= 0 ;
27662 bool temp2
= false ;
27663 PyObject
* obj0
= 0 ;
27664 PyObject
* obj1
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self",(char *) "text", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27671 if (SWIG_arg_fail(1)) SWIG_fail
;
27673 arg2
= wxString_in_helper(obj1
);
27674 if (arg2
== NULL
) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->SetText((wxString
const &)*arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27699 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27702 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27704 return Py_BuildValue((char *)"");
27706 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27709 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27710 wxPyTextDataObject
*result
;
27711 bool temp1
= false ;
27712 PyObject
* obj0
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "text", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27720 arg1
= wxString_in_helper(obj0
);
27721 if (arg1
== NULL
) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27747 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27750 PyObject
*arg2
= (PyObject
*) 0 ;
27751 PyObject
*arg3
= (PyObject
*) 0 ;
27752 PyObject
* obj0
= 0 ;
27753 PyObject
* obj1
= 0 ;
27754 PyObject
* obj2
= 0 ;
27755 char *kwnames
[] = {
27756 (char *) "self",(char *) "self",(char *) "_class", NULL
27759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27761 if (SWIG_arg_fail(1)) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 Py_INCREF(Py_None
); resultobj
= Py_None
;
27778 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27781 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27783 return Py_BuildValue((char *)"");
27785 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27788 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27789 wxBitmapDataObject
*result
;
27790 PyObject
* obj0
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "bitmap", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27800 if (arg1
== NULL
) {
27801 SWIG_null_ref("wxBitmap");
27803 if (SWIG_arg_fail(1)) SWIG_fail
;
27807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27808 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27810 wxPyEndAllowThreads(__tstate
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27820 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "self", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27831 if (SWIG_arg_fail(1)) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27840 wxBitmap
* resultptr
;
27841 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27850 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27853 wxBitmap
*arg2
= 0 ;
27854 PyObject
* obj0
= 0 ;
27855 PyObject
* obj1
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self",(char *) "bitmap", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27862 if (SWIG_arg_fail(1)) SWIG_fail
;
27864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27865 if (SWIG_arg_fail(2)) SWIG_fail
;
27866 if (arg2
== NULL
) {
27867 SWIG_null_ref("wxBitmap");
27869 if (SWIG_arg_fail(2)) SWIG_fail
;
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 Py_INCREF(Py_None
); resultobj
= Py_None
;
27885 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27888 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27890 return Py_BuildValue((char *)"");
27892 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27895 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27896 wxPyBitmapDataObject
*result
;
27897 PyObject
* obj0
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "bitmap", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27906 if (SWIG_arg_fail(1)) SWIG_fail
;
27907 if (arg1
== NULL
) {
27908 SWIG_null_ref("wxBitmap");
27910 if (SWIG_arg_fail(1)) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27927 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27930 PyObject
*arg2
= (PyObject
*) 0 ;
27931 PyObject
*arg3
= (PyObject
*) 0 ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 PyObject
* obj2
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self",(char *) "self",(char *) "_class", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27941 if (SWIG_arg_fail(1)) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 Py_INCREF(Py_None
); resultobj
= Py_None
;
27958 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27961 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27963 return Py_BuildValue((char *)"");
27965 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxFileDataObject
*result
;
27968 char *kwnames
[] = {
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (wxFileDataObject
*)new wxFileDataObject();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27987 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27990 wxArrayString
*result
;
27991 PyObject
* obj0
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail
;
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28003 result
= (wxArrayString
*) &_result_ref
;
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= wxArrayString2PyList_helper(*result
);
28018 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
;
28020 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28021 wxString
*arg2
= 0 ;
28022 bool temp2
= false ;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "self",(char *) "filename", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28031 if (SWIG_arg_fail(1)) SWIG_fail
;
28033 arg2
= wxString_in_helper(obj1
);
28034 if (arg2
== NULL
) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->AddFile((wxString
const &)*arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 Py_INCREF(Py_None
); resultobj
= Py_None
;
28059 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28062 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28064 return Py_BuildValue((char *)"");
28066 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28067 PyObject
*resultobj
;
28068 wxDataFormat
*arg1
= 0 ;
28069 wxCustomDataObject
*result
;
28070 PyObject
* obj0
= 0 ;
28072 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28075 if (SWIG_arg_fail(1)) SWIG_fail
;
28076 if (arg1
== NULL
) {
28077 SWIG_null_ref("wxDataFormat");
28079 if (SWIG_arg_fail(1)) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28095 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28096 PyObject
*resultobj
;
28097 wxString
*arg1
= 0 ;
28098 wxCustomDataObject
*result
;
28099 bool temp1
= false ;
28100 PyObject
* obj0
= 0 ;
28102 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28104 arg1
= wxString_in_helper(obj0
);
28105 if (arg1
== NULL
) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28130 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28131 PyObject
*resultobj
;
28132 wxCustomDataObject
*result
;
28134 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28149 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28154 argc
= PyObject_Length(args
);
28155 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28156 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28159 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28164 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28167 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28174 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28182 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28186 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28191 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28194 PyObject
*arg2
= (PyObject
*) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self",(char *) "data", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28204 if (SWIG_arg_fail(1)) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28222 static PyObject
*_wrap_CustomDataObject_GetSize(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_GetSize",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
= (size_t)(arg1
)->GetSize();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28250 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28261 if (SWIG_arg_fail(1)) SWIG_fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= result
;
28276 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28279 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28281 return Py_BuildValue((char *)"");
28283 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
;
28285 wxURLDataObject
*result
;
28286 char *kwnames
[] = {
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (wxURLDataObject
*)new wxURLDataObject();
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28305 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
;
28307 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "self", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28316 if (SWIG_arg_fail(1)) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (arg1
)->GetURL();
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28337 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28340 wxString
*arg2
= 0 ;
28341 bool temp2
= false ;
28342 PyObject
* obj0
= 0 ;
28343 PyObject
* obj1
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self",(char *) "url", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail
;
28352 arg2
= wxString_in_helper(obj1
);
28353 if (arg2
== NULL
) SWIG_fail
;
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 (arg1
)->SetURL((wxString
const &)*arg2
);
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 Py_INCREF(Py_None
); resultobj
= Py_None
;
28378 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28381 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28383 return Py_BuildValue((char *)"");
28385 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
;
28387 wxMetafileDataObject
*result
;
28388 char *kwnames
[] = {
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28407 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28410 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28412 return Py_BuildValue((char *)"");
28414 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
;
28416 wxDragResult arg1
;
28418 PyObject
* obj0
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "res", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28425 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28444 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxWindow
*arg1
= (wxWindow
*) 0 ;
28447 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28448 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28449 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28450 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28451 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28452 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28453 wxPyDropSource
*result
;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 PyObject
* obj2
= 0 ;
28457 PyObject
* obj3
= 0 ;
28458 char *kwnames
[] = {
28459 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28464 if (SWIG_arg_fail(1)) SWIG_fail
;
28467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28468 if (SWIG_arg_fail(2)) SWIG_fail
;
28469 if (arg2
== NULL
) {
28470 SWIG_null_ref("wxIcon");
28472 if (SWIG_arg_fail(2)) SWIG_fail
;
28477 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28478 if (SWIG_arg_fail(3)) SWIG_fail
;
28479 if (arg3
== NULL
) {
28480 SWIG_null_ref("wxIcon");
28482 if (SWIG_arg_fail(3)) SWIG_fail
;
28487 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28488 if (SWIG_arg_fail(4)) SWIG_fail
;
28489 if (arg4
== NULL
) {
28490 SWIG_null_ref("wxIcon");
28492 if (SWIG_arg_fail(4)) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28509 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28511 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28512 PyObject
*arg2
= (PyObject
*) 0 ;
28513 PyObject
*arg3
= (PyObject
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 PyObject
* obj2
= 0 ;
28518 PyObject
* obj3
= 0 ;
28519 char *kwnames
[] = {
28520 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28525 if (SWIG_arg_fail(1)) SWIG_fail
;
28529 arg4
= (int)(SWIG_As_int(obj3
));
28530 if (SWIG_arg_fail(4)) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 Py_INCREF(Py_None
); resultobj
= Py_None
;
28546 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28549 PyObject
* obj0
= 0 ;
28550 char *kwnames
[] = {
28551 (char *) "self", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 Py_INCREF(Py_None
); resultobj
= Py_None
;
28571 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28574 wxDataObject
*arg2
= 0 ;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self",(char *) "data", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28583 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28586 if (SWIG_arg_fail(2)) SWIG_fail
;
28587 if (arg2
== NULL
) {
28588 SWIG_null_ref("wxDataObject");
28590 if (SWIG_arg_fail(2)) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 (arg1
)->SetData(*arg2
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 Py_INCREF(Py_None
); resultobj
= Py_None
;
28606 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28609 wxDataObject
*result
;
28610 PyObject
* obj0
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28617 if (SWIG_arg_fail(1)) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28632 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28635 wxDragResult arg2
;
28636 wxCursor
*arg3
= 0 ;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "res",(char *) "cursor", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28646 if (SWIG_arg_fail(1)) SWIG_fail
;
28648 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28649 if (SWIG_arg_fail(2)) SWIG_fail
;
28652 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28653 if (SWIG_arg_fail(3)) SWIG_fail
;
28654 if (arg3
== NULL
) {
28655 SWIG_null_ref("wxCursor");
28657 if (SWIG_arg_fail(3)) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 Py_INCREF(Py_None
); resultobj
= Py_None
;
28673 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28676 int arg2
= (int) wxDrag_CopyOnly
;
28677 wxDragResult result
;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 char *kwnames
[] = {
28681 (char *) "self",(char *) "flags", NULL
28684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28686 if (SWIG_arg_fail(1)) SWIG_fail
;
28689 arg2
= (int)(SWIG_As_int(obj1
));
28690 if (SWIG_arg_fail(2)) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_From_int((result
));
28707 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28710 wxDragResult arg2
;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self",(char *) "effect", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28720 if (SWIG_arg_fail(1)) SWIG_fail
;
28722 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28723 if (SWIG_arg_fail(2)) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28741 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28744 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28746 return Py_BuildValue((char *)"");
28748 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28751 wxPyDropTarget
*result
;
28752 PyObject
* obj0
= 0 ;
28753 char *kwnames
[] = {
28754 (char *) "dataObject", NULL
28757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28760 if (SWIG_arg_fail(1)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28776 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28779 PyObject
*arg2
= (PyObject
*) 0 ;
28780 PyObject
*arg3
= (PyObject
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 PyObject
* obj2
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self",(char *) "self",(char *) "_class", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 Py_INCREF(Py_None
); resultobj
= Py_None
;
28807 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28810 PyObject
* obj0
= 0 ;
28811 char *kwnames
[] = {
28812 (char *) "self", NULL
28815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28817 if (SWIG_arg_fail(1)) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 Py_INCREF(Py_None
); resultobj
= Py_None
;
28832 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28835 wxDataObject
*result
;
28836 PyObject
* obj0
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28858 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28861 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 PyObject
* obj1
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self",(char *) "dataObject", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(1)) SWIG_fail
;
28871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28872 if (SWIG_arg_fail(2)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->SetDataObject(arg2
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 Py_INCREF(Py_None
); resultobj
= Py_None
;
28887 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28892 wxDragResult arg4
;
28893 wxDragResult result
;
28894 PyObject
* obj0
= 0 ;
28895 PyObject
* obj1
= 0 ;
28896 PyObject
* obj2
= 0 ;
28897 PyObject
* obj3
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail
;
28906 arg2
= (int)(SWIG_As_int(obj1
));
28907 if (SWIG_arg_fail(2)) SWIG_fail
;
28910 arg3
= (int)(SWIG_As_int(obj2
));
28911 if (SWIG_arg_fail(3)) SWIG_fail
;
28914 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28915 if (SWIG_arg_fail(4)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_From_int((result
));
28931 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28936 wxDragResult arg4
;
28937 wxDragResult result
;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 PyObject
* obj2
= 0 ;
28941 PyObject
* obj3
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28948 if (SWIG_arg_fail(1)) SWIG_fail
;
28950 arg2
= (int)(SWIG_As_int(obj1
));
28951 if (SWIG_arg_fail(2)) SWIG_fail
;
28954 arg3
= (int)(SWIG_As_int(obj2
));
28955 if (SWIG_arg_fail(3)) SWIG_fail
;
28958 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28959 if (SWIG_arg_fail(4)) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_From_int((result
));
28975 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
;
28977 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28978 PyObject
* obj0
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 (arg1
)->base_OnLeave();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 Py_INCREF(Py_None
); resultobj
= Py_None
;
29000 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 PyObject
* obj2
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self",(char *) "x",(char *) "y", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29015 if (SWIG_arg_fail(1)) SWIG_fail
;
29017 arg2
= (int)(SWIG_As_int(obj1
));
29018 if (SWIG_arg_fail(2)) SWIG_fail
;
29021 arg3
= (int)(SWIG_As_int(obj2
));
29022 if (SWIG_arg_fail(3)) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29040 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
;
29042 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29044 PyObject
* obj0
= 0 ;
29045 char *kwnames
[] = {
29046 (char *) "self", NULL
29049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29051 if (SWIG_arg_fail(1)) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 result
= (bool)(arg1
)->GetData();
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29068 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29071 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29073 return Py_BuildValue((char *)"");
29075 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxPyTextDropTarget
*result
;
29078 char *kwnames
[] = {
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29097 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
;
29099 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29100 PyObject
*arg2
= (PyObject
*) 0 ;
29101 PyObject
*arg3
= (PyObject
*) 0 ;
29102 PyObject
* obj0
= 0 ;
29103 PyObject
* obj1
= 0 ;
29104 PyObject
* obj2
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "self",(char *) "_class", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29111 if (SWIG_arg_fail(1)) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 Py_INCREF(Py_None
); resultobj
= Py_None
;
29128 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29129 PyObject
*resultobj
;
29130 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29133 wxDragResult arg4
;
29134 wxDragResult result
;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 PyObject
* obj3
= 0 ;
29139 char *kwnames
[] = {
29140 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29145 if (SWIG_arg_fail(1)) SWIG_fail
;
29147 arg2
= (int)(SWIG_As_int(obj1
));
29148 if (SWIG_arg_fail(2)) SWIG_fail
;
29151 arg3
= (int)(SWIG_As_int(obj2
));
29152 if (SWIG_arg_fail(3)) SWIG_fail
;
29155 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29156 if (SWIG_arg_fail(4)) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_From_int((result
));
29172 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29177 wxDragResult arg4
;
29178 wxDragResult result
;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 PyObject
* obj2
= 0 ;
29182 PyObject
* obj3
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29189 if (SWIG_arg_fail(1)) SWIG_fail
;
29191 arg2
= (int)(SWIG_As_int(obj1
));
29192 if (SWIG_arg_fail(2)) SWIG_fail
;
29195 arg3
= (int)(SWIG_As_int(obj2
));
29196 if (SWIG_arg_fail(3)) SWIG_fail
;
29199 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29200 if (SWIG_arg_fail(4)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_From_int((result
));
29216 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 (arg1
)->base_OnLeave();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 Py_INCREF(Py_None
); resultobj
= Py_None
;
29241 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
;
29243 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 PyObject
* obj2
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self",(char *) "x",(char *) "y", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29256 if (SWIG_arg_fail(1)) SWIG_fail
;
29258 arg2
= (int)(SWIG_As_int(obj1
));
29259 if (SWIG_arg_fail(2)) SWIG_fail
;
29262 arg3
= (int)(SWIG_As_int(obj2
));
29263 if (SWIG_arg_fail(3)) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29281 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29286 wxDragResult arg4
;
29287 wxDragResult result
;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 PyObject
* obj3
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29298 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 arg2
= (int)(SWIG_As_int(obj1
));
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29304 arg3
= (int)(SWIG_As_int(obj2
));
29305 if (SWIG_arg_fail(3)) SWIG_fail
;
29308 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29309 if (SWIG_arg_fail(4)) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29318 resultobj
= SWIG_From_int((result
));
29325 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29328 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29330 return Py_BuildValue((char *)"");
29332 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29333 PyObject
*resultobj
;
29334 wxPyFileDropTarget
*result
;
29335 char *kwnames
[] = {
29339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29354 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
;
29356 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29357 PyObject
*arg2
= (PyObject
*) 0 ;
29358 PyObject
*arg3
= (PyObject
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 PyObject
* obj2
= 0 ;
29362 char *kwnames
[] = {
29363 (char *) "self",(char *) "self",(char *) "_class", NULL
29366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29368 if (SWIG_arg_fail(1)) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 Py_INCREF(Py_None
); resultobj
= Py_None
;
29385 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29390 wxDragResult arg4
;
29391 wxDragResult result
;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 PyObject
* obj3
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail
;
29404 arg2
= (int)(SWIG_As_int(obj1
));
29405 if (SWIG_arg_fail(2)) SWIG_fail
;
29408 arg3
= (int)(SWIG_As_int(obj2
));
29409 if (SWIG_arg_fail(3)) SWIG_fail
;
29412 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29413 if (SWIG_arg_fail(4)) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_From_int((result
));
29429 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29434 wxDragResult arg4
;
29435 wxDragResult result
;
29436 PyObject
* obj0
= 0 ;
29437 PyObject
* obj1
= 0 ;
29438 PyObject
* obj2
= 0 ;
29439 PyObject
* obj3
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29446 if (SWIG_arg_fail(1)) SWIG_fail
;
29448 arg2
= (int)(SWIG_As_int(obj1
));
29449 if (SWIG_arg_fail(2)) SWIG_fail
;
29452 arg3
= (int)(SWIG_As_int(obj2
));
29453 if (SWIG_arg_fail(3)) SWIG_fail
;
29456 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29457 if (SWIG_arg_fail(4)) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_From_int((result
));
29473 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
;
29475 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 (arg1
)->base_OnLeave();
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 Py_INCREF(Py_None
); resultobj
= Py_None
;
29498 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 PyObject
* obj2
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self",(char *) "x",(char *) "y", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(1)) SWIG_fail
;
29515 arg2
= (int)(SWIG_As_int(obj1
));
29516 if (SWIG_arg_fail(2)) SWIG_fail
;
29519 arg3
= (int)(SWIG_As_int(obj2
));
29520 if (SWIG_arg_fail(3)) SWIG_fail
;
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29538 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29543 wxDragResult arg4
;
29544 wxDragResult result
;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 PyObject
* obj2
= 0 ;
29548 PyObject
* obj3
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29555 if (SWIG_arg_fail(1)) SWIG_fail
;
29557 arg2
= (int)(SWIG_As_int(obj1
));
29558 if (SWIG_arg_fail(2)) SWIG_fail
;
29561 arg3
= (int)(SWIG_As_int(obj2
));
29562 if (SWIG_arg_fail(3)) SWIG_fail
;
29565 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29566 if (SWIG_arg_fail(4)) SWIG_fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= SWIG_From_int((result
));
29582 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29585 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29587 return Py_BuildValue((char *)"");
29589 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
;
29591 wxClipboard
*result
;
29592 char *kwnames
[] = {
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (wxClipboard
*)new wxClipboard();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29611 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29621 if (SWIG_arg_fail(1)) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 Py_INCREF(Py_None
); resultobj
= Py_None
;
29636 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29647 if (SWIG_arg_fail(1)) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->Open();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29674 if (SWIG_arg_fail(1)) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29693 PyObject
* obj0
= 0 ;
29694 char *kwnames
[] = {
29695 (char *) "self", NULL
29698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29717 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29720 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self",(char *) "data", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29730 if (SWIG_arg_fail(1)) SWIG_fail
;
29731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29732 if (SWIG_arg_fail(2)) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (bool)(arg1
)->AddData(arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29749 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29752 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29754 PyObject
* obj0
= 0 ;
29755 PyObject
* obj1
= 0 ;
29756 char *kwnames
[] = {
29757 (char *) "self",(char *) "data", NULL
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29762 if (SWIG_arg_fail(1)) SWIG_fail
;
29763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29764 if (SWIG_arg_fail(2)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (bool)(arg1
)->SetData(arg2
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29781 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29784 wxDataFormat
*arg2
= 0 ;
29786 PyObject
* obj0
= 0 ;
29787 PyObject
* obj1
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self",(char *) "format", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29794 if (SWIG_arg_fail(1)) SWIG_fail
;
29796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29797 if (SWIG_arg_fail(2)) SWIG_fail
;
29798 if (arg2
== NULL
) {
29799 SWIG_null_ref("wxDataFormat");
29801 if (SWIG_arg_fail(2)) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29819 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29822 wxDataObject
*arg2
= 0 ;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self",(char *) "data", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29832 if (SWIG_arg_fail(1)) SWIG_fail
;
29834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29835 if (SWIG_arg_fail(2)) SWIG_fail
;
29836 if (arg2
== NULL
) {
29837 SWIG_null_ref("wxDataObject");
29839 if (SWIG_arg_fail(2)) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (bool)(arg1
)->GetData(*arg2
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29857 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 char *kwnames
[] = {
29862 (char *) "self", NULL
29865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29867 if (SWIG_arg_fail(1)) SWIG_fail
;
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 Py_INCREF(Py_None
); resultobj
= Py_None
;
29882 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29886 PyObject
* obj0
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29893 if (SWIG_arg_fail(1)) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 result
= (bool)(arg1
)->Flush();
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29910 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
;
29912 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29913 bool arg2
= (bool) true ;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self",(char *) "primary", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29922 if (SWIG_arg_fail(1)) SWIG_fail
;
29925 arg2
= (bool)(SWIG_As_bool(obj1
));
29926 if (SWIG_arg_fail(2)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 (arg1
)->UsePrimarySelection(arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 Py_INCREF(Py_None
); resultobj
= Py_None
;
29943 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxClipboard
*result
;
29946 char *kwnames
[] = {
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (wxClipboard
*)wxClipboard::Get();
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29965 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29968 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29970 return Py_BuildValue((char *)"");
29972 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
;
29974 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29975 wxClipboardLocker
*result
;
29976 PyObject
* obj0
= 0 ;
29977 char *kwnames
[] = {
29978 (char *) "clipboard", NULL
29981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail
;
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30000 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
;
30002 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 char *kwnames
[] = {
30005 (char *) "self", NULL
30008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30010 if (SWIG_arg_fail(1)) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 Py_INCREF(Py_None
); resultobj
= Py_None
;
30025 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30029 PyObject
* obj0
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30053 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30056 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30058 return Py_BuildValue((char *)"");
30060 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 int arg1
= (int) 0 ;
30063 int arg2
= (int) 0 ;
30064 int arg3
= (int) 0 ;
30065 int arg4
= (int) 0 ;
30066 wxVideoMode
*result
;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 PyObject
* obj2
= 0 ;
30070 PyObject
* obj3
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30078 arg1
= (int)(SWIG_As_int(obj0
));
30079 if (SWIG_arg_fail(1)) SWIG_fail
;
30084 arg2
= (int)(SWIG_As_int(obj1
));
30085 if (SWIG_arg_fail(2)) SWIG_fail
;
30090 arg3
= (int)(SWIG_As_int(obj2
));
30091 if (SWIG_arg_fail(3)) SWIG_fail
;
30096 arg4
= (int)(SWIG_As_int(obj3
));
30097 if (SWIG_arg_fail(4)) SWIG_fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30114 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30117 PyObject
* obj0
= 0 ;
30118 char *kwnames
[] = {
30119 (char *) "self", NULL
30122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30124 if (SWIG_arg_fail(1)) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 Py_INCREF(Py_None
); resultobj
= Py_None
;
30139 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30142 wxVideoMode
*arg2
= 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self",(char *) "other", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30152 if (SWIG_arg_fail(1)) SWIG_fail
;
30154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30155 if (SWIG_arg_fail(2)) SWIG_fail
;
30156 if (arg2
== NULL
) {
30157 SWIG_null_ref("wxVideoMode");
30159 if (SWIG_arg_fail(2)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30177 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
;
30179 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= SWIG_From_int((int)(result
));
30205 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 char *kwnames
[] = {
30211 (char *) "self", NULL
30214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30216 if (SWIG_arg_fail(1)) SWIG_fail
;
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= SWIG_From_int((int)(result
));
30233 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
;
30235 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30237 PyObject
* obj0
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_From_int((int)(result
));
30261 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
;
30263 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 char *kwnames
[] = {
30267 (char *) "self", NULL
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30272 if (SWIG_arg_fail(1)) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30289 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30292 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "other", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail
;
30303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30304 if (SWIG_arg_fail(2)) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30321 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
;
30323 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30324 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "other", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30334 if (SWIG_arg_fail(1)) SWIG_fail
;
30335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30336 if (SWIG_arg_fail(2)) SWIG_fail
;
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30353 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "w", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30365 if (SWIG_arg_fail(1)) SWIG_fail
;
30367 arg2
= (int)(SWIG_As_int(obj1
));
30368 if (SWIG_arg_fail(2)) SWIG_fail
;
30370 if (arg1
) (arg1
)->w
= arg2
;
30372 Py_INCREF(Py_None
); resultobj
= Py_None
;
30379 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30381 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30383 PyObject
* obj0
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30391 result
= (int) ((arg1
)->w
);
30394 resultobj
= SWIG_From_int((int)(result
));
30402 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
;
30404 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 char *kwnames
[] = {
30409 (char *) "self",(char *) "h", NULL
30412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30414 if (SWIG_arg_fail(1)) SWIG_fail
;
30416 arg2
= (int)(SWIG_As_int(obj1
));
30417 if (SWIG_arg_fail(2)) SWIG_fail
;
30419 if (arg1
) (arg1
)->h
= arg2
;
30421 Py_INCREF(Py_None
); resultobj
= Py_None
;
30428 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
;
30430 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 char *kwnames
[] = {
30434 (char *) "self", NULL
30437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30439 if (SWIG_arg_fail(1)) SWIG_fail
;
30440 result
= (int) ((arg1
)->h
);
30443 resultobj
= SWIG_From_int((int)(result
));
30451 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 char *kwnames
[] = {
30458 (char *) "self",(char *) "bpp", NULL
30461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30463 if (SWIG_arg_fail(1)) SWIG_fail
;
30465 arg2
= (int)(SWIG_As_int(obj1
));
30466 if (SWIG_arg_fail(2)) SWIG_fail
;
30468 if (arg1
) (arg1
)->bpp
= arg2
;
30470 Py_INCREF(Py_None
); resultobj
= Py_None
;
30477 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
;
30479 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30488 if (SWIG_arg_fail(1)) SWIG_fail
;
30489 result
= (int) ((arg1
)->bpp
);
30492 resultobj
= SWIG_From_int((int)(result
));
30500 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30504 PyObject
* obj0
= 0 ;
30505 PyObject
* obj1
= 0 ;
30506 char *kwnames
[] = {
30507 (char *) "self",(char *) "refresh", NULL
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail
;
30514 arg2
= (int)(SWIG_As_int(obj1
));
30515 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 if (arg1
) (arg1
)->refresh
= arg2
;
30519 Py_INCREF(Py_None
); resultobj
= Py_None
;
30526 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
;
30528 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30530 PyObject
* obj0
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30537 if (SWIG_arg_fail(1)) SWIG_fail
;
30538 result
= (int) ((arg1
)->refresh
);
30541 resultobj
= SWIG_From_int((int)(result
));
30549 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30552 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30554 return Py_BuildValue((char *)"");
30556 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30557 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30562 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30565 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30570 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 size_t arg1
= (size_t) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 char *kwnames
[] = {
30576 (char *) "index", NULL
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30582 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30583 if (SWIG_arg_fail(1)) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 result
= (wxDisplay
*)new wxDisplay(arg1
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30600 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 Py_INCREF(Py_None
); resultobj
= Py_None
;
30625 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
;
30628 char *kwnames
[] = {
30632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 result
= (size_t)wxDisplay::GetCount();
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30649 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxPoint
*arg1
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 char *kwnames
[] = {
30656 (char *) "pt", NULL
30659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30662 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= SWIG_From_int((int)(result
));
30680 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
;
30682 wxWindow
*arg1
= (wxWindow
*) 0 ;
30684 PyObject
* obj0
= 0 ;
30685 char *kwnames
[] = {
30686 (char *) "window", NULL
30689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30691 if (SWIG_arg_fail(1)) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (int)Display_GetFromWindow(arg1
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= SWIG_From_int((int)(result
));
30708 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30712 PyObject
* obj0
= 0 ;
30713 char *kwnames
[] = {
30714 (char *) "self", NULL
30717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30719 if (SWIG_arg_fail(1)) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30736 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
;
30738 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30740 PyObject
* obj0
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "self", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30747 if (SWIG_arg_fail(1)) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30756 wxRect
* resultptr
;
30757 resultptr
= new wxRect((wxRect
&)(result
));
30758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30766 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
;
30768 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30770 PyObject
* obj0
= 0 ;
30771 char *kwnames
[] = {
30772 (char *) "self", NULL
30775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30777 if (SWIG_arg_fail(1)) SWIG_fail
;
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= ((wxDisplay
const *)arg1
)->GetName();
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30798 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30802 PyObject
* obj0
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30809 if (SWIG_arg_fail(1)) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30826 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30828 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30829 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30830 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30832 PyObject
* obj0
= 0 ;
30833 PyObject
* obj1
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self",(char *) "mode", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail
;
30843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30844 if (SWIG_arg_fail(2)) SWIG_fail
;
30845 if (arg2
== NULL
) {
30846 SWIG_null_ref("wxVideoMode");
30848 if (SWIG_arg_fail(2)) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= result
;
30865 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30868 wxVideoMode result
;
30869 PyObject
* obj0
= 0 ;
30870 char *kwnames
[] = {
30871 (char *) "self", NULL
30874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30876 if (SWIG_arg_fail(1)) SWIG_fail
;
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30885 wxVideoMode
* resultptr
;
30886 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30895 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30896 PyObject
*resultobj
;
30897 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30898 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30899 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self",(char *) "mode", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30909 if (SWIG_arg_fail(1)) SWIG_fail
;
30912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30913 if (SWIG_arg_fail(2)) SWIG_fail
;
30914 if (arg2
== NULL
) {
30915 SWIG_null_ref("wxVideoMode");
30917 if (SWIG_arg_fail(2)) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30936 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30939 PyObject
* obj0
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30946 if (SWIG_arg_fail(1)) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 (arg1
)->ResetMode();
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 Py_INCREF(Py_None
); resultobj
= Py_None
;
30961 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30964 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30966 return Py_BuildValue((char *)"");
30968 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxStandardPaths
*result
;
30971 char *kwnames
[] = {
30975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 result
= (wxStandardPaths
*)StandardPaths_Get();
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30990 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
;
30992 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31022 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31024 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 char *kwnames
[] = {
31028 (char *) "self", NULL
31031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31033 if (SWIG_arg_fail(1)) SWIG_fail
;
31035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31036 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31054 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
;
31056 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 char *kwnames
[] = {
31060 (char *) "self", NULL
31063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31065 if (SWIG_arg_fail(1)) SWIG_fail
;
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31086 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31090 PyObject
* obj0
= 0 ;
31091 char *kwnames
[] = {
31092 (char *) "self", NULL
31095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31097 if (SWIG_arg_fail(1)) SWIG_fail
;
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31118 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31122 PyObject
* obj0
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31129 if (SWIG_arg_fail(1)) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31150 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
;
31152 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31161 if (SWIG_arg_fail(1)) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31182 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
;
31184 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 char *kwnames
[] = {
31188 (char *) "self", NULL
31191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31193 if (SWIG_arg_fail(1)) SWIG_fail
;
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31214 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31217 wxString
*arg2
= 0 ;
31218 bool temp2
= false ;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self",(char *) "prefix", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail
;
31229 arg2
= wxString_in_helper(obj1
);
31230 if (arg2
== NULL
) SWIG_fail
;
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31240 Py_INCREF(Py_None
); resultobj
= Py_None
;
31255 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31259 PyObject
* obj0
= 0 ;
31260 char *kwnames
[] = {
31261 (char *) "self", NULL
31264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31266 if (SWIG_arg_fail(1)) SWIG_fail
;
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31287 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31290 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31292 return Py_BuildValue((char *)"");
31294 static PyMethodDef SwigMethods
[] = {
31295 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31302 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31309 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31381 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31399 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31402 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31408 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31414 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31428 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31434 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31440 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31443 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31457 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31460 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31461 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31464 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31491 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31493 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31495 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31497 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31504 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31510 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31524 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31528 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31531 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31548 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31556 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31603 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31621 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31631 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31647 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31677 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31729 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31732 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31735 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31739 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31832 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31833 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31834 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31835 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31852 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31897 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31931 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31939 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31940 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31945 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31954 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31961 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31964 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31975 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31979 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31982 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31986 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
31987 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31995 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31997 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32026 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32034 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32052 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32070 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32084 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32095 { NULL
, NULL
, 0, NULL
}
32099 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32101 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32104 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32105 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32107 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32108 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32110 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32111 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32113 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32114 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32116 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32117 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32119 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32120 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32122 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32123 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32125 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32128 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32129 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32131 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32132 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32134 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32135 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32137 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32138 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32140 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32143 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32144 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32146 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32147 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32149 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32150 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32152 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32153 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32155 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32156 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32158 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32161 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32164 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32165 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32167 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32168 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32170 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32173 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32174 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32176 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32177 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32179 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32180 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32182 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32183 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32185 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32186 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32188 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32189 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32191 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32192 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32194 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32195 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32197 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32200 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32203 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32206 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32209 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32212 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32215 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32218 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32219 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32221 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32222 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32224 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32225 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32227 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32228 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32230 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32231 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32233 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32234 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32236 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32237 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32239 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32240 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32242 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32243 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32245 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32246 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32248 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32249 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32251 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32252 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32254 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32255 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32257 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32258 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32260 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32261 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32263 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32264 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32266 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32267 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32269 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32270 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32272 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32273 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32275 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32276 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32278 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32279 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32281 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32282 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32284 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32285 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32287 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32288 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32290 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32291 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32293 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32294 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32296 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32299 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32300 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32302 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32303 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32305 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32306 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32308 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32309 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32311 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32312 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32314 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32315 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32317 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32318 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32320 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32321 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32323 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32326 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32329 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32332 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32335 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32338 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32341 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32344 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) ((wxSizer
*) x
));
32347 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32350 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32353 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32356 static void *_p_wxEventTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) ((wxEvent
*) x
));
32359 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32362 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32365 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32368 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32371 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32374 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32377 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32380 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32383 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32386 static void *_p_wxControlTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32389 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32392 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32395 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32398 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32401 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32404 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32407 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32410 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32413 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32416 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32419 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32422 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32425 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32428 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32431 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32434 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32437 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32440 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32443 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32446 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32449 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32452 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32455 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32458 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32461 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32464 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32467 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32470 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32473 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32476 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32479 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32482 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32485 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32488 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32491 static void *_p_wxImageTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) ((wxImage
*) x
));
32494 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32497 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32500 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32503 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32506 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32509 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32512 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32515 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32518 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32521 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32524 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32527 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32530 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32533 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32536 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32539 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32542 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32545 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32548 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32551 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32554 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32557 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32560 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32563 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32566 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32569 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32572 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32575 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32578 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32579 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32581 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32582 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32584 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32585 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32587 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32588 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32590 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32591 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32593 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32594 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32596 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32597 return (void *)((wxWindow
*) ((wxControl
*) x
));
32599 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32600 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32602 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32603 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32605 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32606 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32608 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32609 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32611 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}};
32612 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}};
32613 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}};
32614 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}};
32615 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}};
32616 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}};
32617 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}};
32618 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}};
32619 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}};
32620 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}};
32621 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}};
32622 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}};
32623 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}};
32624 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}};
32625 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}};
32626 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}};
32627 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}};
32628 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}};
32629 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}};
32630 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}};
32631 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}};
32632 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}};
32633 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}};
32634 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}};
32635 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}};
32636 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}};
32637 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}};
32638 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}};
32639 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}};
32640 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}};
32641 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}};
32642 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}};
32643 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}};
32644 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}};
32645 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}};
32646 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}};
32647 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}};
32648 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}};
32649 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}};
32650 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}};
32651 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}};
32652 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}};
32653 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}};
32654 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}};
32655 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}};
32656 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}};
32657 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}};
32658 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}};
32659 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}};
32660 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}};
32661 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}};
32662 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}};
32663 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}};
32664 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}};
32665 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}};
32666 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}};
32667 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}};
32668 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}};
32669 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}};
32670 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}};
32671 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}};
32672 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}};
32673 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}};
32674 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}};
32675 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}};
32676 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}};
32677 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}};
32678 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}};
32679 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}};
32680 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}};
32681 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}};
32682 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}};
32683 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}};
32684 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}};
32685 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}};
32686 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}};
32687 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}};
32688 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}};
32689 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}};
32690 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}};
32691 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}};
32692 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}};
32693 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}};
32694 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}};
32695 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}};
32696 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}};
32697 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}};
32698 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}};
32699 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}};
32700 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}};
32701 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}};
32702 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}};
32703 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}};
32704 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}};
32705 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}};
32706 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}};
32708 static swig_type_info
*swig_types_initial
[] = {
32709 _swigt__p_wxLogChain
,
32710 _swigt__p_wxMutexGuiLocker
,
32711 _swigt__p_wxFileHistory
,
32715 _swigt__p_wxDateTime__TimeZone
,
32716 _swigt__p_wxConfigBase
,
32717 _swigt__p_wxDisplay
,
32718 _swigt__p_wxFileType
,
32719 _swigt__p_wxLogGui
,
32721 _swigt__p_wxDataFormat
,
32722 _swigt__p_wxTimerEvent
,
32725 _swigt__std__ptrdiff_t
,
32728 _swigt__p_wxClipboard
,
32729 _swigt__p_wxStopWatch
,
32731 _swigt__p_wxClipboardLocker
,
32733 _swigt__p_wxLogStderr
,
32734 _swigt__p_wxLogTextCtrl
,
32735 _swigt__p_wxTextCtrl
,
32736 _swigt__p_wxBusyCursor
,
32737 _swigt__p_wxBitmapDataObject
,
32738 _swigt__p_wxTextDataObject
,
32739 _swigt__p_wxDataObject
,
32740 _swigt__p_wxPyTextDataObject
,
32741 _swigt__p_wxPyBitmapDataObject
,
32742 _swigt__p_wxFileDataObject
,
32743 _swigt__p_wxCustomDataObject
,
32744 _swigt__p_wxURLDataObject
,
32745 _swigt__p_wxMetafileDataObject
,
32747 _swigt__p_wxTimerRunner
,
32748 _swigt__p_wxLogWindow
,
32749 _swigt__p_wxTimeSpan
,
32750 _swigt__p_wxArrayString
,
32751 _swigt__p_wxWindowDisabler
,
32752 _swigt__p_form_ops_t
,
32753 _swigt__p_wxToolTip
,
32754 _swigt__p_wxDataObjectComposite
,
32755 _swigt__p_wxSystemSettings
,
32756 _swigt__p_wxFileConfig
,
32757 _swigt__p_wxVideoMode
,
32758 _swigt__p_wxDataObjectSimple
,
32759 _swigt__p_wxPyDataObjectSimple
,
32760 _swigt__p_wxDuplexMode
,
32761 _swigt__p_wxEvtHandler
,
32764 _swigt__p_wxSingleInstanceChecker
,
32765 _swigt__p_wxStandardPaths
,
32766 _swigt__p_wxFileTypeInfo
,
32769 _swigt__p_wxPaperSize
,
32770 _swigt__p_wxMimeTypesManager
,
32771 _swigt__p_wxPyArtProvider
,
32772 _swigt__p_wxPyTipProvider
,
32773 _swigt__p_wxTipProvider
,
32774 _swigt__p_wxJoystick
,
32775 _swigt__p_wxSystemOptions
,
32777 _swigt__p_wxJoystickEvent
,
32778 _swigt__p_wxCursor
,
32779 _swigt__p_wxObject
,
32780 _swigt__p_wxOutputStream
,
32781 _swigt__p_wxDateTime
,
32782 _swigt__p_wxPyDropSource
,
32783 _swigt__p_unsigned_long
,
32784 _swigt__p_wxKillError
,
32785 _swigt__p_wxWindow
,
32786 _swigt__p_wxString
,
32787 _swigt__p_wxPyProcess
,
32788 _swigt__p_wxBitmap
,
32789 _swigt__p_wxConfig
,
32790 _swigt__unsigned_int
,
32791 _swigt__p_unsigned_int
,
32792 _swigt__p_unsigned_char
,
32794 _swigt__p_wxBusyInfo
,
32795 _swigt__p_wxPyDropTarget
,
32796 _swigt__p_wxPyTextDropTarget
,
32797 _swigt__p_wxPyFileDropTarget
,
32798 _swigt__p_wxProcessEvent
,
32800 _swigt__p_wxLogNull
,
32801 _swigt__p_wxColour
,
32802 _swigt__p_wxPyTimer
,
32803 _swigt__p_wxConfigPathChanger
,
32804 _swigt__p_wxDateSpan
,
32809 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32811 static swig_const_info swig_const_table
[] = {
32812 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32813 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32814 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32815 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32816 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32817 {0, 0, 0, 0.0, 0, 0}};
32828 /* Python-specific SWIG API */
32829 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32830 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32831 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32833 /* -----------------------------------------------------------------------------
32834 * global variable support code.
32835 * ----------------------------------------------------------------------------- */
32837 typedef struct swig_globalvar
{
32838 char *name
; /* Name of global variable */
32839 PyObject
*(*get_attr
)(); /* Return the current value */
32840 int (*set_attr
)(PyObject
*); /* Set the value */
32841 struct swig_globalvar
*next
;
32844 typedef struct swig_varlinkobject
{
32846 swig_globalvar
*vars
;
32847 } swig_varlinkobject
;
32850 swig_varlink_repr(swig_varlinkobject
*v
) {
32852 return PyString_FromString("<Swig global variables>");
32856 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32857 swig_globalvar
*var
;
32859 fprintf(fp
,"Swig global variables { ");
32860 for (var
= v
->vars
; var
; var
=var
->next
) {
32861 fprintf(fp
,"%s", var
->name
);
32862 if (var
->next
) fprintf(fp
,", ");
32864 fprintf(fp
," }\n");
32869 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32870 swig_globalvar
*var
= v
->vars
;
32872 if (strcmp(var
->name
,n
) == 0) {
32873 return (*var
->get_attr
)();
32877 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32882 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32883 swig_globalvar
*var
= v
->vars
;
32885 if (strcmp(var
->name
,n
) == 0) {
32886 return (*var
->set_attr
)(p
);
32890 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32894 static PyTypeObject varlinktype
= {
32895 PyObject_HEAD_INIT(0)
32896 0, /* Number of items in variable part (ob_size) */
32897 (char *)"swigvarlink", /* Type name (tp_name) */
32898 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32899 0, /* Itemsize (tp_itemsize) */
32900 0, /* Deallocator (tp_dealloc) */
32901 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32902 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32903 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32904 0, /* tp_compare */
32905 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32906 0, /* tp_as_number */
32907 0, /* tp_as_sequence */
32908 0, /* tp_as_mapping */
32912 0, /* tp_getattro */
32913 0, /* tp_setattro */
32914 0, /* tp_as_buffer */
32917 #if PY_VERSION_HEX >= 0x02000000
32918 0, /* tp_traverse */
32921 #if PY_VERSION_HEX >= 0x02010000
32922 0, /* tp_richcompare */
32923 0, /* tp_weaklistoffset */
32925 #if PY_VERSION_HEX >= 0x02020000
32926 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32928 #if PY_VERSION_HEX >= 0x02030000
32931 #ifdef COUNT_ALLOCS
32932 0,0,0,0 /* tp_alloc -> tp_next */
32936 /* Create a variable linking object for use later */
32938 SWIG_Python_newvarlink(void) {
32939 swig_varlinkobject
*result
= 0;
32940 result
= PyMem_NEW(swig_varlinkobject
,1);
32941 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32942 result
->ob_type
= &varlinktype
;
32944 result
->ob_refcnt
= 0;
32945 Py_XINCREF((PyObject
*) result
);
32946 return ((PyObject
*) result
);
32950 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32951 swig_varlinkobject
*v
;
32952 swig_globalvar
*gv
;
32953 v
= (swig_varlinkobject
*) p
;
32954 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32955 gv
->name
= (char *) malloc(strlen(name
)+1);
32956 strcpy(gv
->name
,name
);
32957 gv
->get_attr
= get_attr
;
32958 gv
->set_attr
= set_attr
;
32959 gv
->next
= v
->vars
;
32963 /* -----------------------------------------------------------------------------
32964 * constants/methods manipulation
32965 * ----------------------------------------------------------------------------- */
32967 /* Install Constants */
32969 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32972 for (i
= 0; constants
[i
].type
; i
++) {
32973 switch(constants
[i
].type
) {
32975 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32977 case SWIG_PY_FLOAT
:
32978 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32980 case SWIG_PY_STRING
:
32981 if (constants
[i
].pvalue
) {
32982 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32984 Py_INCREF(Py_None
);
32988 case SWIG_PY_POINTER
:
32989 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32991 case SWIG_PY_BINARY
:
32992 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32999 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33005 /* -----------------------------------------------------------------------------*/
33006 /* Fix SwigMethods to carry the callback ptrs when needed */
33007 /* -----------------------------------------------------------------------------*/
33010 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33011 swig_const_info
*const_table
,
33012 swig_type_info
**types
,
33013 swig_type_info
**types_initial
) {
33015 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33016 char *c
= methods
[i
].ml_doc
;
33017 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33019 swig_const_info
*ci
= 0;
33020 char *name
= c
+ 10;
33021 for (j
= 0; const_table
[j
].type
; j
++) {
33022 if (strncmp(const_table
[j
].name
, name
,
33023 strlen(const_table
[j
].name
)) == 0) {
33024 ci
= &(const_table
[j
]);
33029 size_t shift
= (ci
->ptype
) - types
;
33030 swig_type_info
*ty
= types_initial
[shift
];
33031 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33032 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33033 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33035 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33036 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33038 strncpy(buff
, "swig_ptr: ", 10);
33040 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33041 methods
[i
].ml_doc
= ndoc
;
33047 /* -----------------------------------------------------------------------------*
33048 * Initialize type list
33049 * -----------------------------------------------------------------------------*/
33051 #if PY_MAJOR_VERSION < 2
33052 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33053 is copied out of Python/modsupport.c in python version 2.3.4 */
33055 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33058 if (!PyModule_Check(m
)) {
33059 PyErr_SetString(PyExc_TypeError
,
33060 "PyModule_AddObject() needs module as first arg");
33064 PyErr_SetString(PyExc_TypeError
,
33065 "PyModule_AddObject() needs non-NULL value");
33069 dict
= PyModule_GetDict(m
);
33070 if (dict
== NULL
) {
33071 /* Internal error -- modules must have a dict! */
33072 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33073 PyModule_GetName(m
));
33076 if (PyDict_SetItemString(dict
, name
, o
))
33083 static swig_type_info
**
33084 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33085 static PyMethodDef swig_empty_runtime_method_table
[] = {
33087 NULL
, NULL
, 0, NULL
33091 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33092 swig_empty_runtime_method_table
);
33093 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33094 if (pointer
&& module) {
33095 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33097 return type_list_handle
;
33100 static swig_type_info
**
33101 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33102 swig_type_info
**type_pointer
;
33104 /* first check if module already created */
33105 type_pointer
= SWIG_Python_GetTypeListHandle();
33106 if (type_pointer
) {
33107 return type_pointer
;
33109 /* create a new module and variable */
33110 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33118 /* -----------------------------------------------------------------------------*
33119 * Partial Init method
33120 * -----------------------------------------------------------------------------*/
33122 #ifdef SWIG_LINK_RUNTIME
33126 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33132 SWIGEXPORT(void) SWIG_init(void) {
33133 static PyObject
*SWIG_globals
= 0;
33134 static int typeinit
= 0;
33137 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33139 /* Fix SwigMethods to carry the callback ptrs when needed */
33140 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33142 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33143 d
= PyModule_GetDict(m
);
33146 #ifdef SWIG_LINK_RUNTIME
33147 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33149 # ifndef SWIG_STATIC_RUNTIME
33150 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33153 for (i
= 0; swig_types_initial
[i
]; i
++) {
33154 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33158 SWIG_InstallConstants(d
,swig_const_table
);
33161 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33164 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33167 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33170 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33173 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33176 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33179 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33182 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33185 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33188 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33191 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33194 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33197 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33200 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33203 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33206 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33209 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33212 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33215 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33218 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33221 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33224 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33227 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33230 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33233 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33236 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33239 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33242 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33245 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33248 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33251 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33254 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33257 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33260 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33263 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33266 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33269 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33272 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33275 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33278 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33281 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33284 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33287 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33290 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33293 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33296 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33299 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33302 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33305 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33308 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33311 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33314 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33317 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33320 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33323 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33326 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33329 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33332 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33335 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33338 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33341 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33344 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33347 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33350 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33353 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33356 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33359 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33362 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33365 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33368 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33371 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33374 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33377 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33380 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33383 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33386 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33389 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33392 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33395 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33398 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33401 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33404 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33407 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33410 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33413 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33416 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33419 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33422 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33425 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33428 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33431 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33433 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33434 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33435 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33436 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33437 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33439 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33442 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33445 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33448 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33450 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33452 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33455 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33458 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33461 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33464 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33467 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33470 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33473 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33476 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33479 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33482 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33485 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33487 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33488 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33489 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33490 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33491 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33493 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33496 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33499 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33502 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33505 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33508 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33511 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33514 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33517 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33520 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33523 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33526 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33529 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33532 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33535 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33538 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33541 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33544 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33547 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33550 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33553 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33556 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33559 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33562 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33565 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33568 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33571 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33574 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33577 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33580 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33583 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33585 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33587 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33590 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33593 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33596 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33599 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33602 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33605 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33608 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33611 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33614 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33617 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33620 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33623 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33625 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33626 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33627 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33628 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33630 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33633 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33636 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33639 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33642 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33645 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33648 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33651 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33653 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33654 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33655 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33656 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33657 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33658 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33659 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33660 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33661 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33662 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33663 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33664 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33665 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33666 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33667 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33672 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33673 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33674 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33675 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33676 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33677 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33678 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33679 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33680 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33681 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33682 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33683 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33684 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33685 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33686 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33687 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33688 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33689 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33690 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33691 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33692 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33693 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33694 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33695 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33696 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33697 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33710 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33713 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33716 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33719 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33722 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33725 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33728 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33731 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33734 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33737 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33739 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33740 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33742 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33745 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33748 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33751 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33754 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33757 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33760 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33763 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33766 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33769 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33772 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33775 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33778 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33781 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33784 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33787 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33790 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33793 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33796 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33799 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33802 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33805 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33808 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33811 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33814 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33817 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33820 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33823 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33826 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33829 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33832 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33835 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33838 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33841 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33844 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33847 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33850 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33853 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33856 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33859 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33862 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33865 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33868 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33871 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33874 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33877 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33880 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33883 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33886 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33889 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33892 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33895 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33898 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33901 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33904 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33907 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33910 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33913 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33916 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33919 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33922 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33925 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33928 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33931 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33934 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33937 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33940 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33943 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33946 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33949 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33952 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33955 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33958 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33961 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33964 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33967 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33970 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33973 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33976 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33979 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33982 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33985 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33988 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33991 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33994 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33997 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34000 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34003 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34006 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34009 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34012 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34015 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34018 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34021 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34024 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34027 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34030 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34033 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34036 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34039 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34042 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34045 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34048 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34051 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34054 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34057 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34060 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34063 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34066 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34069 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34072 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34075 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34078 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34081 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34084 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34087 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34090 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34093 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34096 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34099 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34102 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34105 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34108 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34111 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34114 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34117 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34120 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34123 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34126 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34129 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34132 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34135 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34138 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34141 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34144 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34147 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34150 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34153 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34156 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34159 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34162 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34165 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34168 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34171 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34174 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34177 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34180 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34183 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34186 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34189 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34192 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34195 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34198 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34201 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34204 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34206 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34208 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34211 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34214 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34217 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34220 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34223 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34226 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34229 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34232 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34235 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34238 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34241 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34244 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34247 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34250 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34253 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34256 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34259 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34262 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34265 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34267 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34269 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34272 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34275 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34278 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34281 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34284 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34287 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34290 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34293 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34296 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34299 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34302 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34305 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34306 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34307 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34308 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34310 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);