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();
1719 int wxCaret_GetBlinkTime() {
1720 return wxCaret::GetBlinkTime();
1723 void wxCaret_SetBlinkTime(int milliseconds
) {
1724 wxCaret::SetBlinkTime(milliseconds
);
1728 #include <wx/snglinst.h>
1732 #include <wx/msw/private.h>
1733 #include <wx/dynload.h>
1738 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
1745 // This one only partially works. Appears to be an undocumented
1746 // "standard" convention that not all widgets adhear to. For
1747 // example, for some widgets backgrounds or non-client areas may
1749 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1753 // This one works much better, except for on XP. On Win2k nearly
1754 // all widgets and their children are captured correctly[**]. On
1755 // XP with Themes activated most native widgets draw only
1756 // partially, if at all. Without themes it works just like on
1759 // ** For example the radio buttons in a wxRadioBox are not its
1760 // children by default, but you can capture it via the panel
1761 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1762 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1763 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1764 PRF_ERASEBKGND
| PRF_OWNED
);
1768 // This one is only defined in the latest SDK and is only
1769 // available on XP. MSDN says it is similar to sending WM_PRINT
1770 // so I expect that it will work similar to the above. Since it
1771 // is avaialble only on XP, it can't be compiled like this and
1772 // will have to be loaded dynamically.
1773 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1778 // Use PrintWindow if available, or fallback to WM_PRINT
1779 // otherwise. Unfortunately using PrintWindow is even worse than
1780 // WM_PRINT. For most native widgets nothing is drawn to the dc
1781 // at all, with or without Themes.
1782 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1783 static bool s_triedToLoad
= false;
1784 static PrintWindow_t pfnPrintWindow
= NULL
;
1785 if ( !s_triedToLoad
)
1788 s_triedToLoad
= true;
1789 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1790 if ( dllUser32
.IsLoaded() )
1792 wxLogNull nolog
; // Don't report errors here
1793 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1798 printf("Using PrintWindow\n");
1799 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1803 printf("Using WM_PRINT\n");
1804 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1805 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
1813 #include <wx/tipdlg.h>
1816 class wxPyTipProvider
: public wxTipProvider
{
1818 wxPyTipProvider(size_t currentTip
)
1819 : wxTipProvider(currentTip
) {}
1821 DEC_PYCALLBACK_STRING__pure(GetTip
);
1822 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1826 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1827 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1830 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1832 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1834 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1835 : wxTimer(owner
, id
)
1837 if (owner
== NULL
) SetOwner(this);
1841 void wxPyTimer::Notify() {
1843 bool blocked
= wxPyBeginBlockThreads();
1844 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1845 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1846 wxPyEndBlockThreads(blocked
);
1850 void wxPyTimer::base_Notify() {
1856 SWIGINTERN PyObject
*
1857 SWIG_FromCharPtr(const char* cptr
)
1860 size_t size
= strlen(cptr
);
1861 if (size
> INT_MAX
) {
1862 return SWIG_NewPointerObj((char*)(cptr
),
1863 SWIG_TypeQuery("char *"), 0);
1866 return PyString_FromStringAndSize(cptr
, size
);
1868 return PyString_FromString(cptr
);
1878 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1879 unsigned long max_value
,
1882 if (value
> max_value
) {
1884 PyErr_Format(PyExc_OverflowError
,
1885 "value %lu is greater than '%s' minimum %lu",
1886 value
, errmsg
, max_value
);
1894 #if UINT_MAX != ULONG_MAX
1896 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1898 const char* errmsg
= val
? "unsigned int" : (char*)0;
1900 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1901 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1902 if (val
) *val
= (unsigned int)(v
);
1909 SWIG_type_error(errmsg
, obj
);
1914 SWIGINTERNSHORT
unsigned int
1915 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1917 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1922 SWIGINTERNSHORT
unsigned int
1923 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1926 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1928 this is needed to make valgrind/purify happier.
1930 memset((void*)&v
, 0, sizeof(unsigned int));
1937 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1939 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1942 static wxString
Log_TimeStamp(){
1944 wxLog::TimeStamp(&msg
);
1947 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1948 // Make somce wrappers that double any % signs so they are 'escaped'
1949 void wxPyLogFatalError(const wxString
& msg
)
1952 m
.Replace(wxT("%"), wxT("%%"));
1956 void wxPyLogError(const wxString
& msg
)
1959 m
.Replace(wxT("%"), wxT("%%"));
1963 void wxPyLogWarning(const wxString
& msg
)
1966 m
.Replace(wxT("%"), wxT("%%"));
1970 void wxPyLogMessage(const wxString
& msg
)
1973 m
.Replace(wxT("%"), wxT("%%"));
1977 void wxPyLogInfo(const wxString
& msg
)
1980 m
.Replace(wxT("%"), wxT("%%"));
1984 void wxPyLogDebug(const wxString
& msg
)
1987 m
.Replace(wxT("%"), wxT("%%"));
1991 void wxPyLogVerbose(const wxString
& msg
)
1994 m
.Replace(wxT("%"), wxT("%%"));
1998 void wxPyLogStatus(const wxString
& msg
)
2001 m
.Replace(wxT("%"), wxT("%%"));
2005 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2008 m
.Replace(wxT("%"), wxT("%%"));
2009 wxLogStatus(pFrame
, m
);
2012 void wxPyLogSysError(const wxString
& msg
)
2015 m
.Replace(wxT("%"), wxT("%%"));
2019 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2022 m
.Replace(wxT("%"), wxT("%%"));
2023 wxLogGeneric(level
, m
);
2026 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2029 m
.Replace(wxT("%"), wxT("%%"));
2030 wxLogTrace(mask
, m
);
2033 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2036 m
.Replace(wxT("%"), wxT("%%"));
2037 wxLogTrace(mask
, m
);
2042 // A wxLog class that can be derived from in wxPython
2043 class wxPyLog
: public wxLog
{
2045 wxPyLog() : wxLog() {}
2047 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2049 bool blocked
= wxPyBeginBlockThreads();
2050 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2051 PyObject
* s
= wx2PyString(szString
);
2052 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2055 wxPyEndBlockThreads(blocked
);
2057 wxLog::DoLog(level
, szString
, t
);
2060 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2062 bool blocked
= wxPyBeginBlockThreads();
2063 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2064 PyObject
* s
= wx2PyString(szString
);
2065 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2068 wxPyEndBlockThreads(blocked
);
2070 wxLog::DoLogString(szString
, t
);
2079 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2082 #include <wx/joystick.h>
2085 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2086 // A C++ stub class for wxJoystick for platforms that don't have it.
2087 class wxJoystick
: public wxObject
{
2089 wxJoystick(int joystick
= wxJOYSTICK1
) {
2090 bool blocked
= wxPyBeginBlockThreads();
2091 PyErr_SetString(PyExc_NotImplementedError
,
2092 "wxJoystick is not available on this platform.");
2093 wxPyEndBlockThreads(blocked
);
2095 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2096 int GetZPosition() { return -1; }
2097 int GetButtonState() { return -1; }
2098 int GetPOVPosition() { return -1; }
2099 int GetPOVCTSPosition() { return -1; }
2100 int GetRudderPosition() { return -1; }
2101 int GetUPosition() { return -1; }
2102 int GetVPosition() { return -1; }
2103 int GetMovementThreshold() { return -1; }
2104 void SetMovementThreshold(int threshold
) {}
2106 bool IsOk(void) { return false; }
2107 int GetNumberJoysticks() { return -1; }
2108 int GetManufacturerId() { return -1; }
2109 int GetProductId() { return -1; }
2110 wxString
GetProductName() { return wxEmptyString
; }
2111 int GetXMin() { return -1; }
2112 int GetYMin() { return -1; }
2113 int GetZMin() { return -1; }
2114 int GetXMax() { return -1; }
2115 int GetYMax() { return -1; }
2116 int GetZMax() { return -1; }
2117 int GetNumberButtons() { return -1; }
2118 int GetNumberAxes() { return -1; }
2119 int GetMaxButtons() { return -1; }
2120 int GetMaxAxes() { return -1; }
2121 int GetPollingMin() { return -1; }
2122 int GetPollingMax() { return -1; }
2123 int GetRudderMin() { return -1; }
2124 int GetRudderMax() { return -1; }
2125 int GetUMin() { return -1; }
2126 int GetUMax() { return -1; }
2127 int GetVMin() { return -1; }
2128 int GetVMax() { return -1; }
2130 bool HasRudder() { return false; }
2131 bool HasZ() { return false; }
2132 bool HasU() { return false; }
2133 bool HasV() { return false; }
2134 bool HasPOV() { return false; }
2135 bool HasPOV4Dir() { return false; }
2136 bool HasPOVCTS() { return false; }
2138 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2139 bool ReleaseCapture() { return false; }
2144 #include <wx/sound.h>
2148 // A C++ stub class for wxWave for platforms that don't have it.
2149 class wxSound
: public wxObject
2153 bool blocked
= wxPyBeginBlockThreads();
2154 PyErr_SetString(PyExc_NotImplementedError
,
2155 "wxSound is not available on this platform.");
2156 wxPyEndBlockThreads(blocked
);
2158 wxSound(const wxString
&/*, bool*/) {
2159 bool blocked
= wxPyBeginBlockThreads();
2160 PyErr_SetString(PyExc_NotImplementedError
,
2161 "wxSound is not available on this platform.");
2162 wxPyEndBlockThreads(blocked
);
2164 wxSound(int, const wxByte
*) {
2165 bool blocked
= wxPyBeginBlockThreads();
2166 PyErr_SetString(PyExc_NotImplementedError
,
2167 "wxSound is not available on this platform.");
2168 wxPyEndBlockThreads(blocked
);
2173 bool Create(const wxString
&/*, bool*/) { return false; }
2174 bool Create(int, const wxByte
*) { return false; };
2175 bool IsOk() { return false; };
2176 bool Play(unsigned) const { return false; }
2177 static bool Play(const wxString
&, unsigned) { return false; }
2178 static void Stop() {}
2183 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2184 if (fileName
.Length() == 0)
2187 return new wxSound(fileName
);
2189 static wxSound
*new_wxSound(PyObject
*data
){
2190 unsigned char* buffer
; int size
;
2191 wxSound
*sound
= NULL
;
2193 bool blocked
= wxPyBeginBlockThreads();
2194 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2196 sound
= new wxSound(size
, buffer
);
2198 wxPyEndBlockThreads(blocked
);
2201 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2203 unsigned char* buffer
;
2207 bool blocked
= wxPyBeginBlockThreads();
2208 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2210 rv
= self
->Create(size
, buffer
);
2212 wxPyEndBlockThreads(blocked
);
2215 bool blocked
= wxPyBeginBlockThreads();
2216 PyErr_SetString(PyExc_NotImplementedError
,
2217 "Create from data is not available on this platform.");
2218 wxPyEndBlockThreads(blocked
);
2223 #include <wx/mimetype.h>
2225 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2227 if (self
->GetMimeType(&str
))
2228 return wx2PyString(str
);
2232 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2234 if (self
->GetMimeTypes(arr
))
2235 return wxArrayString2PyList_helper(arr
);
2239 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2241 if (self
->GetExtensions(arr
))
2242 return wxArrayString2PyList_helper(arr
);
2246 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2248 if (self
->GetIcon(&loc
))
2249 return new wxIcon(loc
);
2253 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2255 if (self
->GetIcon(&loc
)) {
2256 wxString iconFile
= loc
.GetFileName();
2261 // Make a tuple and put the values in it
2262 bool blocked
= wxPyBeginBlockThreads();
2263 PyObject
* tuple
= PyTuple_New(3);
2264 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2265 wxT("wxIcon"), true));
2266 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2267 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2268 wxPyEndBlockThreads(blocked
);
2274 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2276 if (self
->GetDescription(&str
))
2277 return wx2PyString(str
);
2281 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2283 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2284 return wx2PyString(str
);
2288 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2290 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2291 return wx2PyString(str
);
2295 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2296 wxArrayString verbs
;
2297 wxArrayString commands
;
2298 if (self
->GetAllCommands(&verbs
, &commands
,
2299 wxFileType::MessageParameters(filename
, mimetype
))) {
2300 bool blocked
= wxPyBeginBlockThreads();
2301 PyObject
* tuple
= PyTuple_New(2);
2302 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2303 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2304 wxPyEndBlockThreads(blocked
);
2310 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2311 return wxFileType::ExpandCommand(command
,
2312 wxFileType::MessageParameters(filename
, mimetype
));
2314 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2316 self
->EnumAllFileTypes(arr
);
2317 return wxArrayString2PyList_helper(arr
);
2320 #include <wx/artprov.h>
2322 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2323 static const wxString
wxPyART_MENU(wxART_MENU
);
2324 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2325 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2326 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2327 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2328 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2329 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2330 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2331 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2332 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2333 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2334 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2335 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2336 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2337 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2338 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2339 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2340 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2341 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2342 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2343 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2344 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2345 static const wxString
wxPyART_HELP(wxART_HELP
);
2346 static const wxString
wxPyART_TIP(wxART_TIP
);
2347 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2348 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2349 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2350 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2351 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2352 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2353 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2354 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2355 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2356 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2357 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2358 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2359 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2360 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2361 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2362 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2363 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2364 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2365 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2366 // Python aware wxArtProvider
2367 class wxPyArtProvider
: public wxArtProvider
{
2370 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2371 const wxArtClient
& client
,
2372 const wxSize
& size
) {
2373 wxBitmap rval
= wxNullBitmap
;
2374 bool blocked
= wxPyBeginBlockThreads();
2375 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2376 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2380 s1
= wx2PyString(id
);
2381 s2
= wx2PyString(client
);
2382 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2387 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2392 wxPyEndBlockThreads(blocked
);
2399 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2403 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2404 PyObject
* ret
= PyTuple_New(3);
2406 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2407 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2408 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2413 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2418 cont
= self
->GetFirstGroup(value
, index
);
2419 return __EnumerationHelper(cont
, value
, index
);
2421 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2425 cont
= self
->GetNextGroup(value
, index
);
2426 return __EnumerationHelper(cont
, value
, index
);
2428 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2433 cont
= self
->GetFirstEntry(value
, index
);
2434 return __EnumerationHelper(cont
, value
, index
);
2436 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2440 cont
= self
->GetNextEntry(value
, index
);
2441 return __EnumerationHelper(cont
, value
, index
);
2443 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2445 self
->Read(key
, &rv
, defaultVal
);
2450 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2452 if (PyNumber_Check(obj
)) {
2453 if (val
) *val
= PyFloat_AsDouble(obj
);
2457 SWIG_type_error("number", obj
);
2463 SWIGINTERNSHORT
double
2464 SWIG_As_double(PyObject
* obj
)
2467 if (!SWIG_AsVal_double(obj
, &v
)) {
2469 this is needed to make valgrind/purify happier.
2471 memset((void*)&v
, 0, sizeof(double));
2478 SWIG_Check_double(PyObject
* obj
)
2480 return SWIG_AsVal_double(obj
, (double*)0);
2483 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2485 self
->Read(key
, &rv
, defaultVal
);
2489 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2490 #define SWIG_From_double PyFloat_FromDouble
2493 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2495 self
->Read(key
, &rv
, defaultVal
);
2499 #include <wx/datetime.h>
2502 static const wxString
wxPyDateFormatStr(wxT("%c"));
2503 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
2505 #define LOCAL_TZ wxDateTime::Local
2508 #if UINT_MAX < LONG_MAX
2509 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2510 #define SWIG_From_unsigned_SS_int SWIG_From_long
2513 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2514 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2518 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2519 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2520 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2521 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2522 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2523 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2524 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2525 return (*self
< *other
);
2527 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2528 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2529 return (*self
<= *other
);
2531 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2532 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2533 return (*self
> *other
);
2535 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2536 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2537 return (*self
>= *other
);
2539 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2540 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2541 return (*self
== *other
);
2543 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2544 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2545 return (*self
!= *other
);
2547 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2549 const wxChar
* _date
= date
;
2550 rv
= self
->ParseRfc822Date(_date
);
2551 if (rv
== NULL
) return -1;
2554 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDateFormatStr
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2556 const wxChar
* _date
= date
;
2557 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2558 if (rv
== NULL
) return -1;
2561 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2563 const wxChar
* _datetime
= datetime
;
2564 rv
= self
->ParseDateTime(_datetime
);
2565 if (rv
== NULL
) return -1;
2566 return rv
- _datetime
;
2568 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2570 const wxChar
* _date
= date
;
2571 rv
= self
->ParseDate(_date
);
2572 if (rv
== NULL
) return -1;
2575 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2577 const wxChar
* _time
= time
;
2578 rv
= self
->ParseTime(_time
);
2579 if (rv
== NULL
) return -1;
2582 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2583 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2584 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2585 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2586 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2587 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2588 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2589 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2590 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2591 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2592 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2593 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2594 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2595 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2596 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2597 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2599 #include <wx/dataobj.h>
2601 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2602 size_t count
= self
->GetFormatCount(dir
);
2603 wxDataFormat
* formats
= new wxDataFormat
[count
];
2604 self
->GetAllFormats(formats
, dir
);
2606 bool blocked
= wxPyBeginBlockThreads();
2607 PyObject
* list
= PyList_New(count
);
2608 for (size_t i
=0; i
<count
; i
++) {
2609 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2610 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2611 PyList_Append(list
, obj
);
2614 wxPyEndBlockThreads(blocked
);
2618 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2619 PyObject
* rval
= NULL
;
2620 size_t size
= self
->GetDataSize(format
);
2621 bool blocked
= wxPyBeginBlockThreads();
2623 char* buf
= new char[size
];
2624 if (self
->GetDataHere(format
, buf
))
2625 rval
= PyString_FromStringAndSize(buf
, size
);
2632 wxPyEndBlockThreads(blocked
);
2635 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2637 bool blocked
= wxPyBeginBlockThreads();
2638 if (PyString_Check(data
)) {
2639 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2642 // raise a TypeError if not a string
2643 PyErr_SetString(PyExc_TypeError
, "String expected.");
2646 wxPyEndBlockThreads(blocked
);
2649 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2650 PyObject
* rval
= NULL
;
2651 size_t size
= self
->GetDataSize();
2652 bool blocked
= wxPyBeginBlockThreads();
2654 char* buf
= new char[size
];
2655 if (self
->GetDataHere(buf
))
2656 rval
= PyString_FromStringAndSize(buf
, size
);
2663 wxPyEndBlockThreads(blocked
);
2666 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2668 bool blocked
= wxPyBeginBlockThreads();
2669 if (PyString_Check(data
)) {
2670 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2673 // raise a TypeError if not a string
2674 PyErr_SetString(PyExc_TypeError
, "String expected.");
2677 wxPyEndBlockThreads(blocked
);
2680 // Create a new class for wxPython to use
2681 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2683 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2684 : wxDataObjectSimple(format
) {}
2686 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2687 bool GetDataHere(void *buf
) const;
2688 bool SetData(size_t len
, const void *buf
) const;
2692 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2694 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2695 // We need to get the data for this object and write it to buf. I think
2696 // the best way to do this for wxPython is to have the Python method
2697 // return either a string or None and then act appropriately with the
2701 bool blocked
= wxPyBeginBlockThreads();
2702 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2704 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2706 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2708 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2712 wxPyEndBlockThreads(blocked
);
2716 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2717 // For this one we simply need to make a string from buf and len
2718 // and send it to the Python method.
2720 bool blocked
= wxPyBeginBlockThreads();
2721 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2722 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2723 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2726 wxPyEndBlockThreads(blocked
);
2730 // Create a new class for wxPython to use
2731 class wxPyTextDataObject
: public wxTextDataObject
{
2733 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2734 : wxTextDataObject(text
) {}
2736 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2737 DEC_PYCALLBACK_STRING__const(GetText
);
2738 DEC_PYCALLBACK__STRING(SetText
);
2742 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2743 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2744 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2747 // Create a new class for wxPython to use
2748 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2750 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2751 : wxBitmapDataObject(bitmap
) {}
2753 wxBitmap
GetBitmap() const;
2754 void SetBitmap(const wxBitmap
& bitmap
);
2758 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2759 wxBitmap
* rval
= &wxNullBitmap
;
2760 bool blocked
= wxPyBeginBlockThreads();
2761 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2764 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2766 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2771 wxPyEndBlockThreads(blocked
);
2775 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2776 bool blocked
= wxPyBeginBlockThreads();
2777 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2778 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2779 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2782 wxPyEndBlockThreads(blocked
);
2785 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2787 bool blocked
= wxPyBeginBlockThreads();
2788 if (PyString_Check(data
)) {
2789 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2792 // raise a TypeError if not a string
2793 PyErr_SetString(PyExc_TypeError
, "String expected.");
2796 wxPyEndBlockThreads(blocked
);
2799 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2801 bool blocked
= wxPyBeginBlockThreads();
2802 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2803 wxPyEndBlockThreads(blocked
);
2807 class wxMetafileDataObject
: public wxDataObjectSimple
2810 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2814 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2817 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2818 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2819 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2820 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2821 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2824 class wxPyTextDropTarget
: public wxTextDropTarget
{
2826 wxPyTextDropTarget() {}
2828 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2830 DEC_PYCALLBACK__(OnLeave
);
2831 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2832 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2833 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2834 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2839 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2840 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2841 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2842 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2843 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2844 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2848 class wxPyFileDropTarget
: public wxFileDropTarget
{
2850 wxPyFileDropTarget() {}
2852 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2854 DEC_PYCALLBACK__(OnLeave
);
2855 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2856 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2857 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2858 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2863 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2864 const wxArrayString
& filenames
) {
2866 bool blocked
= wxPyBeginBlockThreads();
2867 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2868 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2869 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2872 wxPyEndBlockThreads(blocked
);
2878 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2879 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2880 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2881 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2882 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2887 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2889 #include <wx/display.h>
2891 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2892 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2894 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2896 #include <wx/dynarray.h>
2897 #include <wx/vidmode.h>
2899 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2900 #include "wx/arrimpl.cpp"
2901 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2902 const wxVideoMode wxDefaultVideoMode
;
2907 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2910 static size_t GetCount()
2911 { wxPyRaiseNotImplemented(); return 0; }
2913 static int GetFromPoint(const wxPoint
& pt
)
2914 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2915 static int GetFromWindow(wxWindow
*window
)
2916 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2918 virtual bool IsOk() const { return false; }
2919 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2920 virtual wxString
GetName() const { return wxEmptyString
; }
2921 bool IsPrimary() const { return false; }
2923 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2924 { wxArrayVideoModes a
; return a
; }
2926 virtual wxVideoMode
GetCurrentMode() const
2927 { return wxDefaultVideoMode
; }
2929 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2936 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2937 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2938 PyObject
* pyList
= NULL
;
2939 wxArrayVideoModes arr
= self
->GetModes(mode
);
2940 bool blocked
= wxPyBeginBlockThreads();
2941 pyList
= PyList_New(0);
2942 for (int i
=0; i
< arr
.GetCount(); i
++) {
2943 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2944 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2945 PyList_Append(pyList
, pyObj
);
2948 wxPyEndBlockThreads(blocked
);
2952 #include <wx/stdpaths.h>
2954 static wxStandardPaths
*StandardPaths_Get(){
2955 return (wxStandardPaths
*) &wxStandardPaths::Get();
2960 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxSystemColour arg1
;
2964 PyObject
* obj0
= 0 ;
2966 (char *) "index", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2971 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2972 if (SWIG_arg_fail(1)) SWIG_fail
;
2975 if (!wxPyCheckForApp()) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2983 wxColour
* resultptr
;
2984 resultptr
= new wxColour((wxColour
&)(result
));
2985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2993 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2997 PyObject
* obj0
= 0 ;
2999 (char *) "index", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3004 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3005 if (SWIG_arg_fail(1)) SWIG_fail
;
3008 if (!wxPyCheckForApp()) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3017 resultptr
= new wxFont((wxFont
&)(result
));
3018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3026 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxSystemMetric arg1
;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "index", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
3037 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3038 if (SWIG_arg_fail(1)) SWIG_fail
;
3041 if (!wxPyCheckForApp()) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= SWIG_From_int((int)(result
));
3057 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxSystemFeature arg1
;
3061 PyObject
* obj0
= 0 ;
3063 (char *) "index", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3068 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3069 if (SWIG_arg_fail(1)) SWIG_fail
;
3072 if (!wxPyCheckForApp()) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3088 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxSystemScreenType result
;
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3097 if (!wxPyCheckForApp()) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= SWIG_From_int((result
));
3111 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxSystemScreenType arg1
;
3114 PyObject
* obj0
= 0 ;
3116 (char *) "screen", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3121 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3122 if (SWIG_arg_fail(1)) SWIG_fail
;
3125 if (!wxPyCheckForApp()) SWIG_fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 Py_INCREF(Py_None
); resultobj
= Py_None
;
3139 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3142 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3144 return Py_BuildValue((char *)"");
3146 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3147 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3152 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3157 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3159 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3166 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxSystemOptions
*result
;
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (wxSystemOptions
*)new wxSystemOptions();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3188 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxString
*arg1
= 0 ;
3191 wxString
*arg2
= 0 ;
3192 bool temp1
= false ;
3193 bool temp2
= false ;
3194 PyObject
* obj0
= 0 ;
3195 PyObject
* obj1
= 0 ;
3197 (char *) "name",(char *) "value", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3202 arg1
= wxString_in_helper(obj0
);
3203 if (arg1
== NULL
) SWIG_fail
;
3207 arg2
= wxString_in_helper(obj1
);
3208 if (arg2
== NULL
) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 Py_INCREF(Py_None
); resultobj
= Py_None
;
3241 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxString
*arg1
= 0 ;
3245 bool temp1
= false ;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3249 (char *) "name",(char *) "value", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3254 arg1
= wxString_in_helper(obj0
);
3255 if (arg1
== NULL
) SWIG_fail
;
3259 arg2
= (int)(SWIG_As_int(obj1
));
3260 if (SWIG_arg_fail(2)) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxString
*arg1
= 0 ;
3288 bool temp1
= false ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "name", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3296 arg1
= wxString_in_helper(obj0
);
3297 if (arg1
== NULL
) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3328 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxString
*arg1
= 0 ;
3332 bool temp1
= false ;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "name", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3340 arg1
= wxString_in_helper(obj0
);
3341 if (arg1
== NULL
) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3352 resultobj
= SWIG_From_int((int)(result
));
3368 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxString
*arg1
= 0 ;
3372 bool temp1
= false ;
3373 PyObject
* obj0
= 0 ;
3375 (char *) "name", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3380 arg1
= wxString_in_helper(obj0
);
3381 if (arg1
== NULL
) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3408 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3411 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3413 return Py_BuildValue((char *)"");
3415 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3416 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3421 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3426 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3428 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3435 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3436 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3441 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3446 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3448 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3455 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3456 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3461 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3466 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3468 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3475 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (long)wxNewId();
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= SWIG_From_long((long)(result
));
3499 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3502 PyObject
* obj0
= 0 ;
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3509 arg1
= (long)(SWIG_As_long(obj0
));
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (long)wxGetCurrentId();
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= SWIG_From_long((long)(result
));
3550 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3554 PyObject
* obj0
= 0 ;
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3561 arg1
= (int)(SWIG_As_int(obj0
));
3562 if (SWIG_arg_fail(1)) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 result
= (bool)wxIsStockID(arg1
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3580 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3583 wxString
*arg2
= 0 ;
3585 bool temp2
= false ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "id",(char *) "label", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3594 arg1
= (int)(SWIG_As_int(obj0
));
3595 if (SWIG_arg_fail(1)) SWIG_fail
;
3598 arg2
= wxString_in_helper(obj1
);
3599 if (arg2
== NULL
) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3626 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3630 PyObject
* obj0
= 0 ;
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
3637 arg1
= (int)(SWIG_As_int(obj0
));
3638 if (SWIG_arg_fail(1)) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= wxGetStockLabel(arg1
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3660 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3668 if (!wxPyCheckForApp()) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3690 if (!wxPyCheckForApp()) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 bool arg1
= (bool) true ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "resetTimer", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3716 arg1
= (bool)(SWIG_As_bool(obj0
));
3717 if (SWIG_arg_fail(1)) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= (long)wxGetElapsedTime(arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_From_long((long)(result
));
3736 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 int *arg1
= (int *) 0 ;
3739 int *arg2
= (int *) 0 ;
3748 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3749 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3752 if (!wxPyCheckForApp()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 wxGetMousePosition(arg1
,arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3760 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3761 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3762 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3763 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3770 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (bool)wxIsBusy();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3794 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3822 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3825 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3827 bool temp1
= false ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "command", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3836 arg1
= wxString_in_helper(obj0
);
3837 if (arg1
== NULL
) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (bool)wxShell((wxString
const &)*arg1
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3865 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 Py_INCREF(Py_None
); resultobj
= Py_None
;
3886 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 int *arg1
= (int *) 0 ;
3889 int *arg2
= (int *) 0 ;
3899 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3900 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (int)wxGetOsVersion(arg1
,arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_From_int((int)(result
));
3912 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3913 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3914 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3915 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3922 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= wxGetOsDescription();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3950 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (long)wxGetFreeMemory();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_From_long((long)(result
));
3974 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxShutdownFlags arg1
;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "wFlags", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3985 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3986 if (SWIG_arg_fail(1)) SWIG_fail
;
3989 if (!wxPyCheckForApp()) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4005 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4008 PyObject
* obj0
= 0 ;
4010 (char *) "secs", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4015 arg1
= (int)(SWIG_As_int(obj0
));
4016 if (SWIG_arg_fail(1)) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 unsigned long arg1
;
4035 PyObject
* obj0
= 0 ;
4037 (char *) "milliseconds", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4042 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4043 if (SWIG_arg_fail(1)) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4059 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 unsigned long arg1
;
4062 PyObject
* obj0
= 0 ;
4064 (char *) "microseconds", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4069 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4070 if (SWIG_arg_fail(1)) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 Py_INCREF(Py_None
); resultobj
= Py_None
;
4086 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4089 PyObject
* obj0
= 0 ;
4091 (char *) "enable", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4096 arg1
= (bool)(SWIG_As_bool(obj0
));
4097 if (SWIG_arg_fail(1)) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 wxEnableTopLevelWindows(arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 Py_INCREF(Py_None
); resultobj
= Py_None
;
4113 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
;
4115 wxString
*arg1
= 0 ;
4117 bool temp1
= false ;
4118 PyObject
* obj0
= 0 ;
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4125 arg1
= wxString_in_helper(obj0
);
4126 if (arg1
== NULL
) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4157 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= wxGetEmailAddress();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4185 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= wxGetHostName();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4213 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= wxGetFullHostName();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4241 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= wxGetUserId();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4269 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= wxGetUserName();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4297 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= wxGetHomeDir();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4325 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4328 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4330 bool temp1
= false ;
4331 PyObject
* obj0
= 0 ;
4333 (char *) "user", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4339 arg1
= wxString_in_helper(obj0
);
4340 if (arg1
== NULL
) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= wxGetUserHome((wxString
const &)*arg1
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4372 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 unsigned long result
;
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (unsigned long)wxGetProcessId();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4396 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 Py_INCREF(Py_None
); resultobj
= Py_None
;
4417 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4420 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4421 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4422 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4423 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4424 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4425 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4426 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4427 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4428 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4429 int arg6
= (int) 0 ;
4430 wxWindow
*arg7
= (wxWindow
*) NULL
;
4431 int arg8
= (int) -1 ;
4432 int arg9
= (int) -1 ;
4434 bool temp1
= false ;
4435 bool temp2
= false ;
4436 bool temp3
= false ;
4437 bool temp4
= false ;
4438 bool temp5
= false ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4441 PyObject
* obj2
= 0 ;
4442 PyObject
* obj3
= 0 ;
4443 PyObject
* obj4
= 0 ;
4444 PyObject
* obj5
= 0 ;
4445 PyObject
* obj6
= 0 ;
4446 PyObject
* obj7
= 0 ;
4447 PyObject
* obj8
= 0 ;
4449 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4455 arg1
= wxString_in_helper(obj0
);
4456 if (arg1
== NULL
) SWIG_fail
;
4462 arg2
= wxString_in_helper(obj1
);
4463 if (arg2
== NULL
) SWIG_fail
;
4469 arg3
= wxString_in_helper(obj2
);
4470 if (arg3
== NULL
) SWIG_fail
;
4476 arg4
= wxString_in_helper(obj3
);
4477 if (arg4
== NULL
) SWIG_fail
;
4483 arg5
= wxString_in_helper(obj4
);
4484 if (arg5
== NULL
) SWIG_fail
;
4490 arg6
= (int)(SWIG_As_int(obj5
));
4491 if (SWIG_arg_fail(6)) SWIG_fail
;
4495 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4496 if (SWIG_arg_fail(7)) SWIG_fail
;
4500 arg8
= (int)(SWIG_As_int(obj7
));
4501 if (SWIG_arg_fail(8)) SWIG_fail
;
4506 arg9
= (int)(SWIG_As_int(obj8
));
4507 if (SWIG_arg_fail(9)) SWIG_fail
;
4511 if (!wxPyCheckForApp()) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4571 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxString
*arg1
= 0 ;
4574 wxString
*arg2
= 0 ;
4575 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4576 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4577 wxWindow
*arg4
= (wxWindow
*) NULL
;
4579 bool temp1
= false ;
4580 bool temp2
= false ;
4581 bool temp3
= false ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 PyObject
* obj2
= 0 ;
4585 PyObject
* obj3
= 0 ;
4587 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4592 arg1
= wxString_in_helper(obj0
);
4593 if (arg1
== NULL
) SWIG_fail
;
4597 arg2
= wxString_in_helper(obj1
);
4598 if (arg2
== NULL
) SWIG_fail
;
4603 arg3
= wxString_in_helper(obj2
);
4604 if (arg3
== NULL
) SWIG_fail
;
4609 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4610 if (SWIG_arg_fail(4)) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4657 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxString
*arg1
= 0 ;
4660 wxString
*arg2
= 0 ;
4661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4663 wxWindow
*arg4
= (wxWindow
*) NULL
;
4665 bool temp1
= false ;
4666 bool temp2
= false ;
4667 bool temp3
= false ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4673 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4678 arg1
= wxString_in_helper(obj0
);
4679 if (arg1
== NULL
) SWIG_fail
;
4683 arg2
= wxString_in_helper(obj1
);
4684 if (arg2
== NULL
) SWIG_fail
;
4689 arg3
= wxString_in_helper(obj2
);
4690 if (arg3
== NULL
) SWIG_fail
;
4695 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4696 if (SWIG_arg_fail(4)) SWIG_fail
;
4699 if (!wxPyCheckForApp()) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4743 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4746 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4747 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4748 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4749 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4752 wxWindow
*arg5
= (wxWindow
*) NULL
;
4754 bool temp1
= false ;
4755 bool temp2
= false ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 PyObject
* obj3
= 0 ;
4761 PyObject
* obj4
= 0 ;
4763 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4769 arg1
= wxString_in_helper(obj0
);
4770 if (arg1
== NULL
) SWIG_fail
;
4776 arg2
= wxString_in_helper(obj1
);
4777 if (arg2
== NULL
) SWIG_fail
;
4783 arg3
= (long)(SWIG_As_long(obj2
));
4784 if (SWIG_arg_fail(3)) SWIG_fail
;
4790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4794 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4795 if (SWIG_arg_fail(5)) SWIG_fail
;
4798 if (!wxPyCheckForApp()) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4834 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxString
*arg1
= 0 ;
4837 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4838 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4839 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4840 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4841 wxWindow
*arg4
= (wxWindow
*) NULL
;
4842 int arg5
= (int) -1 ;
4843 int arg6
= (int) -1 ;
4844 bool arg7
= (bool) true ;
4846 bool temp1
= false ;
4847 bool temp2
= false ;
4848 bool temp3
= false ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4851 PyObject
* obj2
= 0 ;
4852 PyObject
* obj3
= 0 ;
4853 PyObject
* obj4
= 0 ;
4854 PyObject
* obj5
= 0 ;
4855 PyObject
* obj6
= 0 ;
4857 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4862 arg1
= wxString_in_helper(obj0
);
4863 if (arg1
== NULL
) SWIG_fail
;
4868 arg2
= wxString_in_helper(obj1
);
4869 if (arg2
== NULL
) SWIG_fail
;
4875 arg3
= wxString_in_helper(obj2
);
4876 if (arg3
== NULL
) SWIG_fail
;
4881 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4882 if (SWIG_arg_fail(4)) SWIG_fail
;
4886 arg5
= (int)(SWIG_As_int(obj4
));
4887 if (SWIG_arg_fail(5)) SWIG_fail
;
4892 arg6
= (int)(SWIG_As_int(obj5
));
4893 if (SWIG_arg_fail(6)) SWIG_fail
;
4898 arg7
= (bool)(SWIG_As_bool(obj6
));
4899 if (SWIG_arg_fail(7)) SWIG_fail
;
4903 if (!wxPyCheckForApp()) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4947 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxString
*arg1
= 0 ;
4950 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4951 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4952 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4953 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4954 wxWindow
*arg4
= (wxWindow
*) NULL
;
4956 bool temp1
= false ;
4957 bool temp2
= false ;
4958 bool temp3
= false ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4961 PyObject
* obj2
= 0 ;
4962 PyObject
* obj3
= 0 ;
4964 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4969 arg1
= wxString_in_helper(obj0
);
4970 if (arg1
== NULL
) SWIG_fail
;
4975 arg2
= wxString_in_helper(obj1
);
4976 if (arg2
== NULL
) SWIG_fail
;
4982 arg3
= wxString_in_helper(obj2
);
4983 if (arg3
== NULL
) SWIG_fail
;
4988 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(4)) SWIG_fail
;
4992 if (!wxPyCheckForApp()) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5036 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxString
*arg1
= 0 ;
5039 wxString
*arg2
= 0 ;
5041 wxString
*arg4
= (wxString
*) 0 ;
5042 wxWindow
*arg5
= (wxWindow
*) NULL
;
5043 int arg6
= (int) -1 ;
5044 int arg7
= (int) -1 ;
5045 bool arg8
= (bool) true ;
5046 int arg9
= (int) 150 ;
5047 int arg10
= (int) 200 ;
5049 bool temp1
= false ;
5050 bool temp2
= false ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5054 PyObject
* obj3
= 0 ;
5055 PyObject
* obj4
= 0 ;
5056 PyObject
* obj5
= 0 ;
5057 PyObject
* obj6
= 0 ;
5058 PyObject
* obj7
= 0 ;
5059 PyObject
* obj8
= 0 ;
5061 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5066 arg1
= wxString_in_helper(obj0
);
5067 if (arg1
== NULL
) SWIG_fail
;
5071 arg2
= wxString_in_helper(obj1
);
5072 if (arg2
== NULL
) SWIG_fail
;
5076 arg3
= PyList_Size(obj2
);
5077 arg4
= wxString_LIST_helper(obj2
);
5078 if (arg4
== NULL
) SWIG_fail
;
5081 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5082 if (SWIG_arg_fail(5)) SWIG_fail
;
5086 arg6
= (int)(SWIG_As_int(obj4
));
5087 if (SWIG_arg_fail(6)) SWIG_fail
;
5092 arg7
= (int)(SWIG_As_int(obj5
));
5093 if (SWIG_arg_fail(7)) SWIG_fail
;
5098 arg8
= (bool)(SWIG_As_bool(obj6
));
5099 if (SWIG_arg_fail(8)) SWIG_fail
;
5104 arg9
= (int)(SWIG_As_int(obj7
));
5105 if (SWIG_arg_fail(9)) SWIG_fail
;
5110 arg10
= (int)(SWIG_As_int(obj8
));
5111 if (SWIG_arg_fail(10)) SWIG_fail
;
5115 if (!wxPyCheckForApp()) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5138 if (arg4
) delete [] arg4
;
5151 if (arg4
) delete [] arg4
;
5157 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxString
*arg1
= 0 ;
5160 wxString
*arg2
= 0 ;
5162 wxString
*arg4
= (wxString
*) 0 ;
5163 wxWindow
*arg5
= (wxWindow
*) NULL
;
5164 int arg6
= (int) -1 ;
5165 int arg7
= (int) -1 ;
5166 bool arg8
= (bool) true ;
5167 int arg9
= (int) 150 ;
5168 int arg10
= (int) 200 ;
5170 bool temp1
= false ;
5171 bool temp2
= false ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 PyObject
* obj2
= 0 ;
5175 PyObject
* obj3
= 0 ;
5176 PyObject
* obj4
= 0 ;
5177 PyObject
* obj5
= 0 ;
5178 PyObject
* obj6
= 0 ;
5179 PyObject
* obj7
= 0 ;
5180 PyObject
* obj8
= 0 ;
5182 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5187 arg1
= wxString_in_helper(obj0
);
5188 if (arg1
== NULL
) SWIG_fail
;
5192 arg2
= wxString_in_helper(obj1
);
5193 if (arg2
== NULL
) SWIG_fail
;
5197 arg3
= PyList_Size(obj2
);
5198 arg4
= wxString_LIST_helper(obj2
);
5199 if (arg4
== NULL
) SWIG_fail
;
5202 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5203 if (SWIG_arg_fail(5)) SWIG_fail
;
5207 arg6
= (int)(SWIG_As_int(obj4
));
5208 if (SWIG_arg_fail(6)) SWIG_fail
;
5213 arg7
= (int)(SWIG_As_int(obj5
));
5214 if (SWIG_arg_fail(7)) SWIG_fail
;
5219 arg8
= (bool)(SWIG_As_bool(obj6
));
5220 if (SWIG_arg_fail(8)) SWIG_fail
;
5225 arg9
= (int)(SWIG_As_int(obj7
));
5226 if (SWIG_arg_fail(9)) SWIG_fail
;
5231 arg10
= (int)(SWIG_As_int(obj8
));
5232 if (SWIG_arg_fail(10)) SWIG_fail
;
5236 if (!wxPyCheckForApp()) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_From_int((int)(result
));
5255 if (arg4
) delete [] arg4
;
5268 if (arg4
) delete [] arg4
;
5274 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxString
*arg1
= 0 ;
5277 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5278 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5279 int arg3
= (int) wxOK
|wxCENTRE
;
5280 wxWindow
*arg4
= (wxWindow
*) NULL
;
5281 int arg5
= (int) -1 ;
5282 int arg6
= (int) -1 ;
5284 bool temp1
= false ;
5285 bool temp2
= false ;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5288 PyObject
* obj2
= 0 ;
5289 PyObject
* obj3
= 0 ;
5290 PyObject
* obj4
= 0 ;
5291 PyObject
* obj5
= 0 ;
5293 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5298 arg1
= wxString_in_helper(obj0
);
5299 if (arg1
== NULL
) SWIG_fail
;
5304 arg2
= wxString_in_helper(obj1
);
5305 if (arg2
== NULL
) SWIG_fail
;
5311 arg3
= (int)(SWIG_As_int(obj2
));
5312 if (SWIG_arg_fail(3)) SWIG_fail
;
5316 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5317 if (SWIG_arg_fail(4)) SWIG_fail
;
5321 arg5
= (int)(SWIG_As_int(obj4
));
5322 if (SWIG_arg_fail(5)) SWIG_fail
;
5327 arg6
= (int)(SWIG_As_int(obj5
));
5328 if (SWIG_arg_fail(6)) SWIG_fail
;
5332 if (!wxPyCheckForApp()) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_From_int((int)(result
));
5364 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxString
*arg1
= 0 ;
5367 wxString
*arg2
= 0 ;
5368 wxString
*arg3
= 0 ;
5370 long arg5
= (long) 0 ;
5371 long arg6
= (long) 100 ;
5372 wxWindow
*arg7
= (wxWindow
*) NULL
;
5373 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5374 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5376 bool temp1
= false ;
5377 bool temp2
= false ;
5378 bool temp3
= false ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5382 PyObject
* obj2
= 0 ;
5383 PyObject
* obj3
= 0 ;
5384 PyObject
* obj4
= 0 ;
5385 PyObject
* obj5
= 0 ;
5386 PyObject
* obj6
= 0 ;
5387 PyObject
* obj7
= 0 ;
5389 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5394 arg1
= wxString_in_helper(obj0
);
5395 if (arg1
== NULL
) SWIG_fail
;
5399 arg2
= wxString_in_helper(obj1
);
5400 if (arg2
== NULL
) SWIG_fail
;
5404 arg3
= wxString_in_helper(obj2
);
5405 if (arg3
== NULL
) SWIG_fail
;
5409 arg4
= (long)(SWIG_As_long(obj3
));
5410 if (SWIG_arg_fail(4)) SWIG_fail
;
5414 arg5
= (long)(SWIG_As_long(obj4
));
5415 if (SWIG_arg_fail(5)) SWIG_fail
;
5420 arg6
= (long)(SWIG_As_long(obj5
));
5421 if (SWIG_arg_fail(6)) SWIG_fail
;
5425 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5426 if (SWIG_arg_fail(7)) SWIG_fail
;
5431 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5435 if (!wxPyCheckForApp()) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_long((long)(result
));
5475 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5484 if (!wxPyCheckForApp()) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (bool)wxColourDisplay();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5500 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5509 if (!wxPyCheckForApp()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (int)wxDisplayDepth();
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= SWIG_From_int((int)(result
));
5525 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5534 if (!wxPyCheckForApp()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (int)wxGetDisplayDepth();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_int((int)(result
));
5550 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 int *arg1
= (int *) 0 ;
5553 int *arg2
= (int *) 0 ;
5562 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5563 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5566 if (!wxPyCheckForApp()) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxDisplaySize(arg1
,arg2
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5575 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5576 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5577 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5584 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5593 if (!wxPyCheckForApp()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= wxGetDisplaySize();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5602 resultptr
= new wxSize((wxSize
&)(result
));
5603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5611 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 int *arg1
= (int *) 0 ;
5614 int *arg2
= (int *) 0 ;
5623 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5624 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5627 if (!wxPyCheckForApp()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 wxDisplaySizeMM(arg1
,arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5636 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5637 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5638 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5645 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5654 if (!wxPyCheckForApp()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= wxGetDisplaySizeMM();
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5663 resultptr
= new wxSize((wxSize
&)(result
));
5664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5672 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 int *arg1
= (int *) 0 ;
5675 int *arg2
= (int *) 0 ;
5676 int *arg3
= (int *) 0 ;
5677 int *arg4
= (int *) 0 ;
5690 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5691 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5692 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5693 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5696 if (!wxPyCheckForApp()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5705 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5706 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5707 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5708 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5709 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5710 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5711 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5718 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5727 if (!wxPyCheckForApp()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= wxGetClientDisplayRect();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5736 resultptr
= new wxRect((wxRect
&)(result
));
5737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5745 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxCursor
*arg1
= 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "cursor", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5756 if (SWIG_arg_fail(1)) SWIG_fail
;
5758 SWIG_null_ref("wxCursor");
5760 if (SWIG_arg_fail(1)) SWIG_fail
;
5763 if (!wxPyCheckForApp()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "cursor", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail
;
5791 if (!wxPyCheckForApp()) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxBeginBusyCursor(arg1
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5814 if (!wxPyCheckForApp()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (wxWindow
*)wxGetActiveWindow();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= wxPyMake_wxObject(result
, 0);
5830 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5835 PyObject
* obj0
= 0 ;
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5843 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5846 if (!wxPyCheckForApp()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= wxPyMake_wxObject(result
, 0);
5862 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5867 PyObject
* obj0
= 0 ;
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5875 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5878 if (!wxPyCheckForApp()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= wxPyMake_wxObject(result
, 0);
5894 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxWindow
*arg1
= (wxWindow
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "win", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5905 if (SWIG_arg_fail(1)) SWIG_fail
;
5907 if (!wxPyCheckForApp()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= wxPyMake_wxObject(result
, 0);
5923 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "key", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5934 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5935 if (SWIG_arg_fail(1)) SWIG_fail
;
5938 if (!wxPyCheckForApp()) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5954 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5962 if (!wxPyCheckForApp()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 wxWakeUpMainThread();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 Py_INCREF(Py_None
); resultobj
= Py_None
;
5976 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5984 if (!wxPyCheckForApp()) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 Py_INCREF(Py_None
); resultobj
= Py_None
;
5998 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6006 if (!wxPyCheckForApp()) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxMutexGuiLocker
*result
;
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6029 if (!wxPyCheckForApp()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6043 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "self", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6071 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6073 return Py_BuildValue((char *)"");
6075 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (bool)wxThread_IsMain();
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6099 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxString
*arg1
= 0 ;
6103 bool temp1
= false ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "tip", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6111 arg1
= wxString_in_helper(obj0
);
6112 if (arg1
== NULL
) SWIG_fail
;
6116 if (!wxPyCheckForApp()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= wxPyMake_wxObject(result
, 1);
6140 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6143 wxString
*arg2
= 0 ;
6144 bool temp2
= false ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6148 (char *) "self",(char *) "tip", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6153 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 arg2
= wxString_in_helper(obj1
);
6156 if (arg2
== NULL
) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 (arg1
)->SetTip((wxString
const &)*arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6192 if (SWIG_arg_fail(1)) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (arg1
)->GetTip();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6213 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6219 (char *) "self", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6224 if (SWIG_arg_fail(1)) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (wxWindow
*)(arg1
)->GetWindow();
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= wxPyMake_wxObject(result
, 0);
6241 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "flag", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6251 arg1
= (bool)(SWIG_As_bool(obj0
));
6252 if (SWIG_arg_fail(1)) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 wxToolTip::Enable(arg1
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 Py_INCREF(Py_None
); resultobj
= Py_None
;
6268 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "milliseconds", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6278 arg1
= (long)(SWIG_As_long(obj0
));
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 wxToolTip::SetDelay(arg1
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6295 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6298 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6300 return Py_BuildValue((char *)"");
6302 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxWindow
*arg1
= (wxWindow
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6311 (char *) "window",(char *) "size", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6316 if (SWIG_arg_fail(1)) SWIG_fail
;
6319 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6322 if (!wxPyCheckForApp()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6336 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxCaret
*arg1
= (wxCaret
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "self", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
6345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6346 if (SWIG_arg_fail(1)) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxCaret
*arg1
= (wxCaret
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6372 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (bool)(arg1
)->IsOk();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxCaret
*arg1
= (wxCaret
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (bool)(arg1
)->IsVisible();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6417 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxCaret
*arg1
= (wxCaret
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6428 if (SWIG_arg_fail(1)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (arg1
)->GetPosition();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 wxPoint
* resultptr
;
6438 resultptr
= new wxPoint((wxPoint
&)(result
));
6439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6447 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxCaret
*arg1
= (wxCaret
*) 0 ;
6450 int *arg2
= (int *) 0 ;
6451 int *arg3
= (int *) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6462 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6465 if (SWIG_arg_fail(1)) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 (arg1
)->GetPosition(arg2
,arg3
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 Py_INCREF(Py_None
); resultobj
= Py_None
;
6474 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6475 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6476 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6477 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6484 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxCaret
*arg1
= (wxCaret
*) 0 ;
6488 PyObject
* obj0
= 0 ;
6490 (char *) "self", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 result
= (arg1
)->GetSize();
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6505 resultptr
= new wxSize((wxSize
&)(result
));
6506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6514 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxCaret
*arg1
= (wxCaret
*) 0 ;
6517 int *arg2
= (int *) 0 ;
6518 int *arg3
= (int *) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6529 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6532 if (SWIG_arg_fail(1)) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 (arg1
)->GetSize(arg2
,arg3
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 Py_INCREF(Py_None
); resultobj
= Py_None
;
6541 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6542 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6543 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6544 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6551 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxCaret
*arg1
= (wxCaret
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (wxWindow
*)(arg1
)->GetWindow();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= wxPyMake_wxObject(result
, 0);
6579 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxCaret
*arg1
= (wxCaret
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 PyObject
* obj2
= 0 ;
6588 (char *) "self",(char *) "x",(char *) "y", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6593 if (SWIG_arg_fail(1)) SWIG_fail
;
6595 arg2
= (int)(SWIG_As_int(obj1
));
6596 if (SWIG_arg_fail(2)) SWIG_fail
;
6599 arg3
= (int)(SWIG_As_int(obj2
));
6600 if (SWIG_arg_fail(3)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->Move(arg2
,arg3
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxCaret
*arg1
= (wxCaret
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6624 (char *) "self",(char *) "pt", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6629 if (SWIG_arg_fail(1)) SWIG_fail
;
6632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 (arg1
)->Move((wxPoint
const &)*arg2
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxCaret
*arg1
= (wxCaret
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 PyObject
* obj2
= 0 ;
6657 (char *) "self",(char *) "width",(char *) "height", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6662 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 arg2
= (int)(SWIG_As_int(obj1
));
6665 if (SWIG_arg_fail(2)) SWIG_fail
;
6668 arg3
= (int)(SWIG_As_int(obj2
));
6669 if (SWIG_arg_fail(3)) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 (arg1
)->SetSize(arg2
,arg3
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 Py_INCREF(Py_None
); resultobj
= Py_None
;
6685 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxCaret
*arg1
= (wxCaret
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "size", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6698 if (SWIG_arg_fail(1)) SWIG_fail
;
6701 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->SetSize((wxSize
const &)*arg2
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6717 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxCaret
*arg1
= (wxCaret
*) 0 ;
6720 int arg2
= (int) true ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 (char *) "self",(char *) "show", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6729 if (SWIG_arg_fail(1)) SWIG_fail
;
6732 arg2
= (int)(SWIG_As_int(obj1
));
6733 if (SWIG_arg_fail(2)) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 Py_INCREF(Py_None
); resultobj
= Py_None
;
6750 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxCaret
*arg1
= (wxCaret
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6755 (char *) "self", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6760 if (SWIG_arg_fail(1)) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6778 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6780 return Py_BuildValue((char *)"");
6782 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (int)wxCaret_GetBlinkTime();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_From_int((int)(result
));
6806 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6809 PyObject
* obj0
= 0 ;
6811 (char *) "milliseconds", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6816 arg1
= (int)(SWIG_As_int(obj0
));
6817 if (SWIG_arg_fail(1)) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 wxCaret_SetBlinkTime(arg1
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 Py_INCREF(Py_None
); resultobj
= Py_None
;
6833 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6836 wxBusyCursor
*result
;
6837 PyObject
* obj0
= 0 ;
6839 (char *) "cursor", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail
;
6848 if (!wxPyCheckForApp()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6862 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6865 PyObject
* obj0
= 0 ;
6867 (char *) "self", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6872 if (SWIG_arg_fail(1)) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 Py_INCREF(Py_None
); resultobj
= Py_None
;
6887 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6890 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6892 return Py_BuildValue((char *)"");
6894 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxWindow
*arg1
= (wxWindow
*) NULL
;
6897 wxWindowDisabler
*result
;
6898 PyObject
* obj0
= 0 ;
6900 (char *) "winToSkip", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6906 if (SWIG_arg_fail(1)) SWIG_fail
;
6909 if (!wxPyCheckForApp()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6923 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6928 (char *) "self", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6933 if (SWIG_arg_fail(1)) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 Py_INCREF(Py_None
); resultobj
= Py_None
;
6948 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6951 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6953 return Py_BuildValue((char *)"");
6955 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxString
*arg1
= 0 ;
6959 bool temp1
= false ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "message", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6967 arg1
= wxString_in_helper(obj0
);
6968 if (arg1
== NULL
) SWIG_fail
;
6972 if (!wxPyCheckForApp()) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6994 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6997 PyObject
* obj0
= 0 ;
6999 (char *) "self", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(1)) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 Py_INCREF(Py_None
); resultobj
= Py_None
;
7019 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7022 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7024 return Py_BuildValue((char *)"");
7026 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxStopWatch
*result
;
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxStopWatch
*)new wxStopWatch();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7048 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7051 long arg2
= (long) 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "t0", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7060 if (SWIG_arg_fail(1)) SWIG_fail
;
7063 arg2
= (long)(SWIG_As_long(obj1
));
7064 if (SWIG_arg_fail(2)) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 (arg1
)->Start(arg2
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 Py_INCREF(Py_None
); resultobj
= Py_None
;
7081 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7086 (char *) "self", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7091 if (SWIG_arg_fail(1)) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7106 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7109 PyObject
* obj0
= 0 ;
7111 (char *) "self", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7116 if (SWIG_arg_fail(1)) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 Py_INCREF(Py_None
); resultobj
= Py_None
;
7131 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7142 if (SWIG_arg_fail(1)) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_From_long((long)(result
));
7159 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7162 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7164 return Py_BuildValue((char *)"");
7166 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 int arg1
= (int) 9 ;
7169 int arg2
= (int) wxID_FILE1
;
7170 wxFileHistory
*result
;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7174 (char *) "maxFiles",(char *) "idBase", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 arg1
= (int)(SWIG_As_int(obj0
));
7181 if (SWIG_arg_fail(1)) SWIG_fail
;
7186 arg2
= (int)(SWIG_As_int(obj1
));
7187 if (SWIG_arg_fail(2)) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7204 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "self", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7214 if (SWIG_arg_fail(1)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7232 wxString
*arg2
= 0 ;
7233 bool temp2
= false ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7237 (char *) "self",(char *) "file", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7242 if (SWIG_arg_fail(1)) SWIG_fail
;
7244 arg2
= wxString_in_helper(obj1
);
7245 if (arg2
== NULL
) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7277 (char *) "self",(char *) "i", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail
;
7284 arg2
= (int)(SWIG_As_int(obj1
));
7285 if (SWIG_arg_fail(2)) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 (arg1
)->RemoveFileFromHistory(arg2
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7307 (char *) "self", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7312 if (SWIG_arg_fail(1)) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_From_int((int)(result
));
7329 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7332 wxMenu
*arg2
= (wxMenu
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "menu", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail
;
7342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7343 if (SWIG_arg_fail(2)) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->UseMenu(arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7361 wxMenu
*arg2
= (wxMenu
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7365 (char *) "self",(char *) "menu", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7370 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7372 if (SWIG_arg_fail(2)) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 (arg1
)->RemoveMenu(arg2
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7390 wxConfigBase
*arg2
= 0 ;
7391 PyObject
* obj0
= 0 ;
7392 PyObject
* obj1
= 0 ;
7394 (char *) "self",(char *) "config", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail
;
7401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7402 if (SWIG_arg_fail(2)) SWIG_fail
;
7404 SWIG_null_ref("wxConfigBase");
7406 if (SWIG_arg_fail(2)) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->Load(*arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7425 wxConfigBase
*arg2
= 0 ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7429 (char *) "self",(char *) "config", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7434 if (SWIG_arg_fail(1)) SWIG_fail
;
7436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7437 if (SWIG_arg_fail(2)) SWIG_fail
;
7439 SWIG_null_ref("wxConfigBase");
7441 if (SWIG_arg_fail(2)) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 (arg1
)->Save(*arg2
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 Py_INCREF(Py_None
); resultobj
= Py_None
;
7457 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "self", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->AddFilesToMenu();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7485 wxMenu
*arg2
= (wxMenu
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "menu", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7494 if (SWIG_arg_fail(1)) SWIG_fail
;
7495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7496 if (SWIG_arg_fail(2)) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 (arg1
)->AddFilesToMenu(arg2
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "self",(char *) "i", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7524 if (SWIG_arg_fail(1)) SWIG_fail
;
7526 arg2
= (int)(SWIG_As_int(obj1
));
7527 if (SWIG_arg_fail(2)) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7549 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7555 (char *) "self", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7560 if (SWIG_arg_fail(1)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_From_int((int)(result
));
7577 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7580 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7582 return Py_BuildValue((char *)"");
7584 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxString
*arg1
= 0 ;
7587 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7588 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7589 wxSingleInstanceChecker
*result
;
7590 bool temp1
= false ;
7591 bool temp2
= false ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "name",(char *) "path", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 arg1
= wxString_in_helper(obj0
);
7601 if (arg1
== NULL
) SWIG_fail
;
7606 arg2
= wxString_in_helper(obj1
);
7607 if (arg2
== NULL
) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7641 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxSingleInstanceChecker
*result
;
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7663 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7673 if (SWIG_arg_fail(1)) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7691 wxString
*arg2
= 0 ;
7692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7695 bool temp2
= false ;
7696 bool temp3
= false ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7699 PyObject
* obj2
= 0 ;
7701 (char *) "self",(char *) "name",(char *) "path", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail
;
7708 arg2
= wxString_in_helper(obj1
);
7709 if (arg2
== NULL
) SWIG_fail
;
7714 arg3
= wxString_in_helper(obj2
);
7715 if (arg3
== NULL
) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7751 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7779 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7782 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7784 return Py_BuildValue((char *)"");
7786 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxWindow
*arg1
= (wxWindow
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7793 PyObject
* obj2
= 0 ;
7795 (char *) "window",(char *) "dc",(char *) "method", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail
;
7802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(2)) SWIG_fail
;
7805 SWIG_null_ref("wxDC");
7807 if (SWIG_arg_fail(2)) SWIG_fail
;
7810 arg3
= (int)(SWIG_As_int(obj2
));
7811 if (SWIG_arg_fail(3)) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 Py_INCREF(Py_None
); resultobj
= Py_None
;
7827 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7832 (char *) "self", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7863 if (SWIG_arg_fail(1)) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (arg1
)->GetTip();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7884 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7895 if (SWIG_arg_fail(1)) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (size_t)(arg1
)->GetCurrentTip();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7912 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7915 wxString
*arg2
= 0 ;
7917 bool temp2
= false ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7921 (char *) "self",(char *) "tip", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7926 if (SWIG_arg_fail(1)) SWIG_fail
;
7928 arg2
= wxString_in_helper(obj1
);
7929 if (arg2
== NULL
) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7960 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7963 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7965 return Py_BuildValue((char *)"");
7967 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7970 wxPyTipProvider
*result
;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "currentTip", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7978 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7979 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7995 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7998 PyObject
*arg2
= (PyObject
*) 0 ;
7999 PyObject
*arg3
= (PyObject
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "self",(char *) "self",(char *) "_class", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8029 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8031 return Py_BuildValue((char *)"");
8033 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxWindow
*arg1
= (wxWindow
*) 0 ;
8036 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8037 bool arg3
= (bool) true ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8043 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail
;
8049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(2)) SWIG_fail
;
8053 arg3
= (bool)(SWIG_As_bool(obj2
));
8054 if (SWIG_arg_fail(3)) SWIG_fail
;
8058 if (!wxPyCheckForApp()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8074 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxString
*arg1
= 0 ;
8078 wxTipProvider
*result
;
8079 bool temp1
= false ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8083 (char *) "filename",(char *) "currentTip", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8088 arg1
= wxString_in_helper(obj0
);
8089 if (arg1
== NULL
) SWIG_fail
;
8093 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8094 if (SWIG_arg_fail(2)) SWIG_fail
;
8097 if (!wxPyCheckForApp()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8119 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8122 int arg2
= (int) -1 ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8127 (char *) "owner",(char *) "id", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail
;
8137 arg2
= (int)(SWIG_As_int(obj1
));
8138 if (SWIG_arg_fail(2)) SWIG_fail
;
8142 if (!wxPyCheckForApp()) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8156 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8166 if (SWIG_arg_fail(1)) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8181 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8184 PyObject
*arg2
= (PyObject
*) 0 ;
8185 PyObject
*arg3
= (PyObject
*) 0 ;
8186 int arg4
= (int) 1 ;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8189 PyObject
* obj2
= 0 ;
8190 PyObject
* obj3
= 0 ;
8192 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail
;
8202 arg4
= (int)(SWIG_As_int(obj3
));
8203 if (SWIG_arg_fail(4)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 Py_INCREF(Py_None
); resultobj
= Py_None
;
8220 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8223 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8224 int arg3
= (int) -1 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8229 (char *) "self",(char *) "owner",(char *) "id", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail
;
8235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8236 if (SWIG_arg_fail(2)) SWIG_fail
;
8239 arg3
= (int)(SWIG_As_int(obj2
));
8240 if (SWIG_arg_fail(3)) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 (arg1
)->SetOwner(arg2
,arg3
);
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 Py_INCREF(Py_None
); resultobj
= Py_None
;
8257 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8260 wxEvtHandler
*result
;
8261 PyObject
* obj0
= 0 ;
8263 (char *) "self", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= wxPyMake_wxObject(result
, 0);
8285 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8288 int arg2
= (int) -1 ;
8289 bool arg3
= (bool) false ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8295 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8300 if (SWIG_arg_fail(1)) SWIG_fail
;
8303 arg2
= (int)(SWIG_As_int(obj1
));
8304 if (SWIG_arg_fail(2)) SWIG_fail
;
8309 arg3
= (bool)(SWIG_As_bool(obj2
));
8310 if (SWIG_arg_fail(3)) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8329 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8332 PyObject
* obj0
= 0 ;
8334 (char *) "self", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8339 if (SWIG_arg_fail(1)) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8360 (char *) "self", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8365 if (SWIG_arg_fail(1)) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8382 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_From_int((int)(result
));
8410 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8438 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8449 if (SWIG_arg_fail(1)) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_From_int((int)(result
));
8466 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8469 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8471 return Py_BuildValue((char *)"");
8473 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 int arg1
= (int) 0 ;
8476 int arg2
= (int) 0 ;
8477 wxTimerEvent
*result
;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "timerid",(char *) "interval", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8487 arg1
= (int)(SWIG_As_int(obj0
));
8488 if (SWIG_arg_fail(1)) SWIG_fail
;
8493 arg2
= (int)(SWIG_As_int(obj1
));
8494 if (SWIG_arg_fail(2)) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8511 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_From_int((int)(result
));
8539 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8542 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8544 return Py_BuildValue((char *)"");
8546 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8547 PyObject
*resultobj
;
8549 wxTimerRunner
*result
;
8550 PyObject
* obj0
= 0 ;
8552 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8555 if (SWIG_arg_fail(1)) SWIG_fail
;
8557 SWIG_null_ref("wxTimer");
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8562 if (!wxPyCheckForApp()) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8576 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8577 PyObject
*resultobj
;
8580 bool arg3
= (bool) false ;
8581 wxTimerRunner
*result
;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8586 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8589 if (SWIG_arg_fail(1)) SWIG_fail
;
8591 SWIG_null_ref("wxTimer");
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8596 arg2
= (int)(SWIG_As_int(obj1
));
8597 if (SWIG_arg_fail(2)) SWIG_fail
;
8601 arg3
= (bool)(SWIG_As_bool(obj2
));
8602 if (SWIG_arg_fail(3)) SWIG_fail
;
8606 if (!wxPyCheckForApp()) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8620 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8625 argc
= PyObject_Length(args
);
8626 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8627 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8633 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8641 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8644 if ((argc
>= 2) && (argc
<= 3)) {
8648 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8656 _v
= SWIG_Check_int(argv
[1]);
8659 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8661 _v
= SWIG_Check_bool(argv
[2]);
8663 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8669 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8674 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8679 (char *) "self", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8684 if (SWIG_arg_fail(1)) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8699 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8703 bool arg3
= (bool) false ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8706 PyObject
* obj2
= 0 ;
8708 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 arg2
= (int)(SWIG_As_int(obj1
));
8716 if (SWIG_arg_fail(2)) SWIG_fail
;
8720 arg3
= (bool)(SWIG_As_bool(obj2
));
8721 if (SWIG_arg_fail(3)) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 (arg1
)->Start(arg2
,arg3
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 Py_INCREF(Py_None
); resultobj
= Py_None
;
8738 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8741 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8743 return Py_BuildValue((char *)"");
8745 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxLog
*)new wxLog();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8767 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (bool)wxLog::IsEnabled();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8791 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 bool arg1
= (bool) true ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "doIt", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8803 arg1
= (bool)(SWIG_As_bool(obj0
));
8804 if (SWIG_arg_fail(1)) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (bool)wxLog::EnableLogging(arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8823 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8826 wxChar
*arg2
= (wxChar
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "level",(char *) "szString",(char *) "t", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8837 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8838 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8841 if (SWIG_arg_fail(2)) SWIG_fail
;
8843 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8844 if (SWIG_arg_fail(3)) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxLog
*arg1
= (wxLog
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8865 (char *) "self", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8870 if (SWIG_arg_fail(1)) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8885 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 wxLog::FlushActive();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 Py_INCREF(Py_None
); resultobj
= Py_None
;
8906 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (wxLog
*)wxLog::GetActiveTarget();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8928 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxLog
*arg1
= (wxLog
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8934 (char *) "pLogger", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8954 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 bool arg1
= (bool) true ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "bVerbose", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9007 arg1
= (bool)(SWIG_As_bool(obj0
));
9008 if (SWIG_arg_fail(1)) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 wxLog::SetVerbose(arg1
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "logLevel", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9035 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9036 if (SWIG_arg_fail(1)) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 wxLog::SetLogLevel(arg1
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 wxLog::DontCreateOnDemand();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "ulMask", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9083 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxLog::SetTraceMask(arg1
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxString
*arg1
= 0 ;
9103 bool temp1
= false ;
9104 PyObject
* obj0
= 0 ;
9106 (char *) "str", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9111 arg1
= wxString_in_helper(obj0
);
9112 if (arg1
== NULL
) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 wxLog::AddTraceMask((wxString
const &)*arg1
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9137 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxString
*arg1
= 0 ;
9140 bool temp1
= false ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "str", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9148 arg1
= wxString_in_helper(obj0
);
9149 if (arg1
== NULL
) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 wxLog::ClearTraceMasks();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9195 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxArrayString
*result
;
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9207 result
= (wxArrayString
*) &_result_ref
;
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= wxArrayString2PyList_helper(*result
);
9222 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxChar
*arg1
= (wxChar
*) 0 ;
9225 PyObject
* obj0
= 0 ;
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9232 if (SWIG_arg_fail(1)) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxLog::SetTimestamp((wxChar
const *)arg1
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 Py_INCREF(Py_None
); resultobj
= Py_None
;
9247 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)wxLog::GetVerbose();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9271 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (wxTraceMask
)wxLog::GetTraceMask();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9295 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxChar
*arg1
= (wxChar
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "mask", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9323 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (wxLogLevel
)wxLog::GetLogLevel();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9347 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (wxChar
*)wxLog::GetTimestamp();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9369 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= Log_TimeStamp();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9397 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxLog
*arg1
= (wxLog
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9402 (char *) "self", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9407 if (SWIG_arg_fail(1)) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 wxLog_Destroy(arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9427 return Py_BuildValue((char *)"");
9429 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxLogStderr
*result
;
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (wxLogStderr
*)new wxLogStderr();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9451 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9454 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9456 return Py_BuildValue((char *)"");
9458 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9461 wxLogTextCtrl
*result
;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "pTextCtrl", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9469 if (SWIG_arg_fail(1)) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9484 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9487 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9489 return Py_BuildValue((char *)"");
9491 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxLogGui
*)new wxLogGui();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9513 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9516 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9518 return Py_BuildValue((char *)"");
9520 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxFrame
*arg1
= (wxFrame
*) 0 ;
9523 wxString
*arg2
= 0 ;
9524 bool arg3
= (bool) true ;
9525 bool arg4
= (bool) true ;
9526 wxLogWindow
*result
;
9527 bool temp2
= false ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9530 PyObject
* obj2
= 0 ;
9531 PyObject
* obj3
= 0 ;
9533 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9538 if (SWIG_arg_fail(1)) SWIG_fail
;
9540 arg2
= wxString_in_helper(obj1
);
9541 if (arg2
== NULL
) SWIG_fail
;
9546 arg3
= (bool)(SWIG_As_bool(obj2
));
9547 if (SWIG_arg_fail(3)) SWIG_fail
;
9552 arg4
= (bool)(SWIG_As_bool(obj3
));
9553 if (SWIG_arg_fail(4)) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9578 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9581 bool arg2
= (bool) true ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9585 (char *) "self",(char *) "bShow", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail
;
9593 arg2
= (bool)(SWIG_As_bool(obj1
));
9594 if (SWIG_arg_fail(2)) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9611 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9622 if (SWIG_arg_fail(1)) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= wxPyMake_wxObject(result
, 0);
9639 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9645 (char *) "self", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9650 if (SWIG_arg_fail(1)) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9665 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9676 if (SWIG_arg_fail(1)) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9693 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9700 (char *) "self",(char *) "bDoPass", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9705 if (SWIG_arg_fail(1)) SWIG_fail
;
9707 arg2
= (bool)(SWIG_As_bool(obj1
));
9708 if (SWIG_arg_fail(2)) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->PassMessages(arg2
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 Py_INCREF(Py_None
); resultobj
= Py_None
;
9724 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9727 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9729 return Py_BuildValue((char *)"");
9731 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxLog
*arg1
= (wxLog
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9737 (char *) "logger", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9742 if (SWIG_arg_fail(1)) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (wxLogChain
*)new wxLogChain(arg1
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9757 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9760 wxLog
*arg2
= (wxLog
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9764 (char *) "self",(char *) "logger", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9769 if (SWIG_arg_fail(1)) SWIG_fail
;
9770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9771 if (SWIG_arg_fail(2)) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 (arg1
)->SetLog(arg2
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 Py_INCREF(Py_None
); resultobj
= Py_None
;
9786 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9793 (char *) "self",(char *) "bDoPass", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9800 arg2
= (bool)(SWIG_As_bool(obj1
));
9801 if (SWIG_arg_fail(2)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 (arg1
)->PassMessages(arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 Py_INCREF(Py_None
); resultobj
= Py_None
;
9817 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9828 if (SWIG_arg_fail(1)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= (bool)(arg1
)->IsPassingMessages();
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9845 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9856 if (SWIG_arg_fail(1)) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (wxLog
*)(arg1
)->GetOldLog();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9871 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9874 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9876 return Py_BuildValue((char *)"");
9878 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 unsigned long result
;
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (unsigned long)wxSysErrorCode();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9902 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 unsigned long arg1
= (unsigned long) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "nErrCode", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9914 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9915 if (SWIG_arg_fail(1)) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= wxSysErrorMsg(arg1
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9938 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxString
*arg1
= 0 ;
9941 bool temp1
= false ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "msg", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9949 arg1
= wxString_in_helper(obj0
);
9950 if (arg1
== NULL
) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 wxPyLogFatalError((wxString
const &)*arg1
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 Py_INCREF(Py_None
); resultobj
= Py_None
;
9975 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxString
*arg1
= 0 ;
9978 bool temp1
= false ;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "msg", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9986 arg1
= wxString_in_helper(obj0
);
9987 if (arg1
== NULL
) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 wxPyLogError((wxString
const &)*arg1
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 Py_INCREF(Py_None
); resultobj
= Py_None
;
10012 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxString
*arg1
= 0 ;
10015 bool temp1
= false ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "msg", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10023 arg1
= wxString_in_helper(obj0
);
10024 if (arg1
== NULL
) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 wxPyLogWarning((wxString
const &)*arg1
);
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxString
*arg1
= 0 ;
10052 bool temp1
= false ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "msg", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10060 arg1
= wxString_in_helper(obj0
);
10061 if (arg1
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 wxPyLogMessage((wxString
const &)*arg1
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10086 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxString
*arg1
= 0 ;
10089 bool temp1
= false ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "msg", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10097 arg1
= wxString_in_helper(obj0
);
10098 if (arg1
== NULL
) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 wxPyLogInfo((wxString
const &)*arg1
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 Py_INCREF(Py_None
); resultobj
= Py_None
;
10123 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxString
*arg1
= 0 ;
10126 bool temp1
= false ;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "msg", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10134 arg1
= wxString_in_helper(obj0
);
10135 if (arg1
== NULL
) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 wxPyLogDebug((wxString
const &)*arg1
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10160 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxString
*arg1
= 0 ;
10163 bool temp1
= false ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "msg", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10171 arg1
= wxString_in_helper(obj0
);
10172 if (arg1
== NULL
) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 wxPyLogVerbose((wxString
const &)*arg1
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 Py_INCREF(Py_None
); resultobj
= Py_None
;
10197 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxString
*arg1
= 0 ;
10200 bool temp1
= false ;
10201 PyObject
* obj0
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "msg", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10208 arg1
= wxString_in_helper(obj0
);
10209 if (arg1
== NULL
) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 wxPyLogStatus((wxString
const &)*arg1
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10234 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxFrame
*arg1
= (wxFrame
*) 0 ;
10237 wxString
*arg2
= 0 ;
10238 bool temp2
= false ;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "pFrame",(char *) "msg", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10247 if (SWIG_arg_fail(1)) SWIG_fail
;
10249 arg2
= wxString_in_helper(obj1
);
10250 if (arg2
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 Py_INCREF(Py_None
); resultobj
= Py_None
;
10275 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxString
*arg1
= 0 ;
10278 bool temp1
= false ;
10279 PyObject
* obj0
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "msg", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10286 arg1
= wxString_in_helper(obj0
);
10287 if (arg1
== NULL
) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 wxPyLogSysError((wxString
const &)*arg1
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 unsigned long arg1
;
10315 wxString
*arg2
= 0 ;
10316 bool temp2
= false ;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "level",(char *) "msg", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10325 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10326 if (SWIG_arg_fail(1)) SWIG_fail
;
10329 arg2
= wxString_in_helper(obj1
);
10330 if (arg2
== NULL
) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10355 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10356 PyObject
*resultobj
;
10357 unsigned long arg1
;
10358 wxString
*arg2
= 0 ;
10359 bool temp2
= false ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10363 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10365 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10366 if (SWIG_arg_fail(1)) SWIG_fail
;
10369 arg2
= wxString_in_helper(obj1
);
10370 if (arg2
== NULL
) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 Py_INCREF(Py_None
); resultobj
= Py_None
;
10395 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10396 PyObject
*resultobj
;
10397 wxString
*arg1
= 0 ;
10398 wxString
*arg2
= 0 ;
10399 bool temp1
= false ;
10400 bool temp2
= false ;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10404 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10406 arg1
= wxString_in_helper(obj0
);
10407 if (arg1
== NULL
) SWIG_fail
;
10411 arg2
= wxString_in_helper(obj1
);
10412 if (arg2
== NULL
) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10450 argc
= PyObject_Length(args
);
10451 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10452 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10457 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10461 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10464 return _wrap_LogTrace__SWIG_1(self
,args
);
10470 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10473 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10476 return _wrap_LogTrace__SWIG_0(self
,args
);
10481 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10486 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxString
*arg1
= 0 ;
10489 wxString
*arg2
= 0 ;
10490 bool temp1
= false ;
10491 bool temp2
= false ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "title",(char *) "text", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10500 arg1
= wxString_in_helper(obj0
);
10501 if (arg1
== NULL
) SWIG_fail
;
10505 arg2
= wxString_in_helper(obj1
);
10506 if (arg2
== NULL
) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10539 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10542 char *kwnames
[] = {
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (wxLogNull
*)new wxLogNull();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10561 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10564 PyObject
* obj0
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10571 if (SWIG_arg_fail(1)) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 Py_INCREF(Py_None
); resultobj
= Py_None
;
10586 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10589 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10591 return Py_BuildValue((char *)"");
10593 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10596 char *kwnames
[] = {
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (wxPyLog
*)new wxPyLog();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10615 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10618 PyObject
*arg2
= (PyObject
*) 0 ;
10619 PyObject
*arg3
= (PyObject
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 PyObject
* obj2
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "self",(char *) "_class", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10651 return Py_BuildValue((char *)"");
10653 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10656 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10657 int arg3
= (int) wxKILL_NOCHILDREN
;
10658 wxKillError result
;
10659 PyObject
* obj0
= 0 ;
10660 PyObject
* obj1
= 0 ;
10661 PyObject
* obj2
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10668 arg1
= (int)(SWIG_As_int(obj0
));
10669 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10674 if (SWIG_arg_fail(2)) SWIG_fail
;
10679 arg3
= (int)(SWIG_As_int(obj2
));
10680 if (SWIG_arg_fail(3)) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_From_int((result
));
10697 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "pid", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10708 arg1
= (int)(SWIG_As_int(obj0
));
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)wxPyProcess::Exists(arg1
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10727 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxString
*arg1
= 0 ;
10730 int arg2
= (int) wxEXEC_ASYNC
;
10731 wxPyProcess
*result
;
10732 bool temp1
= false ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "cmd",(char *) "flags", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10741 arg1
= wxString_in_helper(obj0
);
10742 if (arg1
== NULL
) SWIG_fail
;
10747 arg2
= (int)(SWIG_As_int(obj1
));
10748 if (SWIG_arg_fail(2)) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10773 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10776 int arg2
= (int) -1 ;
10777 wxPyProcess
*result
;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "parent",(char *) "id", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 arg2
= (int)(SWIG_As_int(obj1
));
10792 if (SWIG_arg_fail(2)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10809 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10812 PyObject
*arg2
= (PyObject
*) 0 ;
10813 PyObject
*arg3
= (PyObject
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 PyObject
* obj2
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "self",(char *) "_class", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10823 if (SWIG_arg_fail(1)) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 Py_INCREF(Py_None
); resultobj
= Py_None
;
10840 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "pid",(char *) "status", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10854 if (SWIG_arg_fail(1)) SWIG_fail
;
10856 arg2
= (int)(SWIG_As_int(obj1
));
10857 if (SWIG_arg_fail(2)) SWIG_fail
;
10860 arg3
= (int)(SWIG_As_int(obj2
));
10861 if (SWIG_arg_fail(3)) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->base_OnTerminate(arg2
,arg3
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 Py_INCREF(Py_None
); resultobj
= Py_None
;
10877 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->Redirect();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 Py_INCREF(Py_None
); resultobj
= Py_None
;
10902 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (bool)(arg1
)->IsRedirected();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10930 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10940 if (SWIG_arg_fail(1)) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 Py_INCREF(Py_None
); resultobj
= Py_None
;
10955 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10958 wxInputStream
*result
;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10966 if (SWIG_arg_fail(1)) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10975 wxPyInputStream
* _ptr
= NULL
;
10978 _ptr
= new wxPyInputStream(result
);
10980 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10988 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10991 wxInputStream
*result
;
10992 PyObject
* obj0
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10999 if (SWIG_arg_fail(1)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 wxPyInputStream
* _ptr
= NULL
;
11011 _ptr
= new wxPyInputStream(result
);
11013 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11021 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11024 wxOutputStream
*result
;
11025 PyObject
* obj0
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11047 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11050 PyObject
* obj0
= 0 ;
11051 char *kwnames
[] = {
11052 (char *) "self", NULL
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11057 if (SWIG_arg_fail(1)) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 (arg1
)->CloseOutput();
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11065 Py_INCREF(Py_None
); resultobj
= Py_None
;
11072 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11083 if (SWIG_arg_fail(1)) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11128 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11159 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11161 return Py_BuildValue((char *)"");
11163 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 int arg1
= (int) 0 ;
11166 int arg2
= (int) 0 ;
11167 int arg3
= (int) 0 ;
11168 wxProcessEvent
*result
;
11169 PyObject
* obj0
= 0 ;
11170 PyObject
* obj1
= 0 ;
11171 PyObject
* obj2
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11179 arg1
= (int)(SWIG_As_int(obj0
));
11180 if (SWIG_arg_fail(1)) SWIG_fail
;
11185 arg2
= (int)(SWIG_As_int(obj1
));
11186 if (SWIG_arg_fail(2)) SWIG_fail
;
11191 arg3
= (int)(SWIG_As_int(obj2
));
11192 if (SWIG_arg_fail(3)) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11209 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11220 if (SWIG_arg_fail(1)) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (int)(arg1
)->GetPid();
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_From_int((int)(result
));
11237 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (int)(arg1
)->GetExitCode();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_From_int((int)(result
));
11265 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self",(char *) "m_pid", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11277 if (SWIG_arg_fail(1)) SWIG_fail
;
11279 arg2
= (int)(SWIG_As_int(obj1
));
11280 if (SWIG_arg_fail(2)) SWIG_fail
;
11282 if (arg1
) (arg1
)->m_pid
= arg2
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail
;
11303 result
= (int) ((arg1
)->m_pid
);
11306 resultobj
= SWIG_From_int((int)(result
));
11314 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "m_exitcode", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail
;
11328 arg2
= (int)(SWIG_As_int(obj1
));
11329 if (SWIG_arg_fail(2)) SWIG_fail
;
11331 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11351 if (SWIG_arg_fail(1)) SWIG_fail
;
11352 result
= (int) ((arg1
)->m_exitcode
);
11355 resultobj
= SWIG_From_int((int)(result
));
11363 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11366 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11368 return Py_BuildValue((char *)"");
11370 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxString
*arg1
= 0 ;
11373 int arg2
= (int) wxEXEC_ASYNC
;
11374 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11376 bool temp1
= false ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 PyObject
* obj2
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "command",(char *) "flags",(char *) "process", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11386 arg1
= wxString_in_helper(obj0
);
11387 if (arg1
== NULL
) SWIG_fail
;
11392 arg2
= (int)(SWIG_As_int(obj1
));
11393 if (SWIG_arg_fail(2)) SWIG_fail
;
11397 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(3)) SWIG_fail
;
11401 if (!wxPyCheckForApp()) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_long((long)(result
));
11425 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11428 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11429 wxKillError
*arg3
= (wxKillError
*) 0 ;
11430 int arg4
= (int) wxKILL_NOCHILDREN
;
11432 wxKillError temp3
;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 PyObject
* obj2
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11445 arg1
= (long)(SWIG_As_long(obj0
));
11446 if (SWIG_arg_fail(1)) SWIG_fail
;
11450 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11451 if (SWIG_arg_fail(2)) SWIG_fail
;
11456 arg4
= (int)(SWIG_As_int(obj2
));
11457 if (SWIG_arg_fail(4)) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_From_int((int)(result
));
11472 o
= PyInt_FromLong((long) (*arg3
));
11473 resultobj
= t_output_helper(resultobj
, o
);
11481 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 int arg1
= (int) wxJOYSTICK1
;
11484 wxJoystick
*result
;
11485 PyObject
* obj0
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "joystick", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11493 arg1
= (int)(SWIG_As_int(obj0
));
11494 if (SWIG_arg_fail(1)) SWIG_fail
;
11498 if (!wxPyCheckForApp()) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (wxJoystick
*)new wxJoystick(arg1
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11512 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11522 if (SWIG_arg_fail(1)) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 Py_INCREF(Py_None
); resultobj
= Py_None
;
11537 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (arg1
)->GetPosition();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11557 wxPoint
* resultptr
;
11558 resultptr
= new wxPoint((wxPoint
&)(result
));
11559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11567 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11578 if (SWIG_arg_fail(1)) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (int)(arg1
)->GetZPosition();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_From_int((int)(result
));
11595 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11606 if (SWIG_arg_fail(1)) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (int)(arg1
)->GetButtonState();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int((int)(result
));
11623 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (int)(arg1
)->GetPOVPosition();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_From_int((int)(result
));
11651 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (int)(arg1
)->GetPOVCTSPosition();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_int((int)(result
));
11679 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (int)(arg1
)->GetRudderPosition();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_From_int((int)(result
));
11707 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (int)(arg1
)->GetUPosition();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_From_int((int)(result
));
11735 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11739 PyObject
* obj0
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (int)(arg1
)->GetVPosition();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_From_int((int)(result
));
11763 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (int)(arg1
)->GetMovementThreshold();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_From_int((int)(result
));
11791 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "threshold", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11803 if (SWIG_arg_fail(1)) SWIG_fail
;
11805 arg2
= (int)(SWIG_As_int(obj1
));
11806 if (SWIG_arg_fail(2)) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 (arg1
)->SetMovementThreshold(arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 Py_INCREF(Py_None
); resultobj
= Py_None
;
11822 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11826 PyObject
* obj0
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11833 if (SWIG_arg_fail(1)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (bool)(arg1
)->IsOk();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11850 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11861 if (SWIG_arg_fail(1)) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)(arg1
)->GetNumberJoysticks();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_From_int((int)(result
));
11878 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11889 if (SWIG_arg_fail(1)) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (int)(arg1
)->GetManufacturerId();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_From_int((int)(result
));
11906 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11917 if (SWIG_arg_fail(1)) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (int)(arg1
)->GetProductId();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_From_int((int)(result
));
11934 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11945 if (SWIG_arg_fail(1)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (arg1
)->GetProductName();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11966 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11977 if (SWIG_arg_fail(1)) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (int)(arg1
)->GetXMin();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_From_int((int)(result
));
11994 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12005 if (SWIG_arg_fail(1)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (int)(arg1
)->GetYMin();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_From_int((int)(result
));
12022 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12026 PyObject
* obj0
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12033 if (SWIG_arg_fail(1)) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (int)(arg1
)->GetZMin();
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_From_int((int)(result
));
12050 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (int)(arg1
)->GetXMax();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_From_int((int)(result
));
12078 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (int)(arg1
)->GetYMax();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_From_int((int)(result
));
12106 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (int)(arg1
)->GetZMax();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int((int)(result
));
12134 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (int)(arg1
)->GetNumberButtons();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_From_int((int)(result
));
12162 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (int)(arg1
)->GetNumberAxes();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_From_int((int)(result
));
12190 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (int)(arg1
)->GetMaxButtons();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_From_int((int)(result
));
12218 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12229 if (SWIG_arg_fail(1)) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (int)(arg1
)->GetMaxAxes();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_From_int((int)(result
));
12246 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (int)(arg1
)->GetPollingMin();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_From_int((int)(result
));
12274 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (int)(arg1
)->GetPollingMax();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_From_int((int)(result
));
12302 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (int)(arg1
)->GetRudderMin();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_From_int((int)(result
));
12330 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12341 if (SWIG_arg_fail(1)) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (int)(arg1
)->GetRudderMax();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_From_int((int)(result
));
12358 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (int)(arg1
)->GetUMin();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_From_int((int)(result
));
12386 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (int)(arg1
)->GetUMax();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_From_int((int)(result
));
12414 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (int)(arg1
)->GetVMin();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_From_int((int)(result
));
12442 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12453 if (SWIG_arg_fail(1)) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (int)(arg1
)->GetVMax();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_From_int((int)(result
));
12470 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (bool)(arg1
)->HasRudder();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12498 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12509 if (SWIG_arg_fail(1)) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (bool)(arg1
)->HasZ();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12526 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (bool)(arg1
)->HasU();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12554 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)(arg1
)->HasV();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12582 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12593 if (SWIG_arg_fail(1)) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (bool)(arg1
)->HasPOV();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12610 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12621 if (SWIG_arg_fail(1)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (bool)(arg1
)->HasPOV4Dir();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (bool)(arg1
)->HasPOVCTS();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12666 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12669 wxWindow
*arg2
= (wxWindow
*) 0 ;
12670 int arg3
= (int) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 PyObject
* obj2
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 arg3
= (int)(SWIG_As_int(obj2
));
12687 if (SWIG_arg_fail(3)) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12706 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (bool)(arg1
)->ReleaseCapture();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12734 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12737 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12739 return Py_BuildValue((char *)"");
12741 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12744 wxPoint
*arg2
= (wxPoint
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "m_pos", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail
;
12754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12755 if (SWIG_arg_fail(2)) SWIG_fail
;
12756 if (arg1
) (arg1
)->m_pos
= *arg2
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 result
= (wxPoint
*)& ((arg1
)->m_pos
);
12779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
12786 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "m_zPosition", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12798 if (SWIG_arg_fail(1)) SWIG_fail
;
12800 arg2
= (int)(SWIG_As_int(obj1
));
12801 if (SWIG_arg_fail(2)) SWIG_fail
;
12803 if (arg1
) (arg1
)->m_zPosition
= arg2
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12824 result
= (int) ((arg1
)->m_zPosition
);
12827 resultobj
= SWIG_From_int((int)(result
));
12835 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 PyObject
* obj1
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self",(char *) "m_buttonChange", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12847 if (SWIG_arg_fail(1)) SWIG_fail
;
12849 arg2
= (int)(SWIG_As_int(obj1
));
12850 if (SWIG_arg_fail(2)) SWIG_fail
;
12852 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
12854 Py_INCREF(Py_None
); resultobj
= Py_None
;
12861 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
12871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail
;
12873 result
= (int) ((arg1
)->m_buttonChange
);
12876 resultobj
= SWIG_From_int((int)(result
));
12884 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self",(char *) "m_buttonState", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12896 if (SWIG_arg_fail(1)) SWIG_fail
;
12898 arg2
= (int)(SWIG_As_int(obj1
));
12899 if (SWIG_arg_fail(2)) SWIG_fail
;
12901 if (arg1
) (arg1
)->m_buttonState
= arg2
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
12920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail
;
12922 result
= (int) ((arg1
)->m_buttonState
);
12925 resultobj
= SWIG_From_int((int)(result
));
12933 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "m_joyStick", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12945 if (SWIG_arg_fail(1)) SWIG_fail
;
12947 arg2
= (int)(SWIG_As_int(obj1
));
12948 if (SWIG_arg_fail(2)) SWIG_fail
;
12950 if (arg1
) (arg1
)->m_joyStick
= arg2
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
12969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail
;
12971 result
= (int) ((arg1
)->m_joyStick
);
12974 resultobj
= SWIG_From_int((int)(result
));
12982 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12985 int arg2
= (int) 0 ;
12986 int arg3
= (int) wxJOYSTICK1
;
12987 int arg4
= (int) 0 ;
12988 wxJoystickEvent
*result
;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 PyObject
* obj2
= 0 ;
12992 PyObject
* obj3
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13000 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13001 if (SWIG_arg_fail(1)) SWIG_fail
;
13006 arg2
= (int)(SWIG_As_int(obj1
));
13007 if (SWIG_arg_fail(2)) SWIG_fail
;
13012 arg3
= (int)(SWIG_As_int(obj2
));
13013 if (SWIG_arg_fail(3)) SWIG_fail
;
13018 arg4
= (int)(SWIG_As_int(obj3
));
13019 if (SWIG_arg_fail(4)) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
13036 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13047 if (SWIG_arg_fail(1)) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 wxPoint
* resultptr
;
13057 resultptr
= new wxPoint((wxPoint
&)(result
));
13058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13066 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13070 PyObject
* obj0
= 0 ;
13071 char *kwnames
[] = {
13072 (char *) "self", NULL
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
13076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13077 if (SWIG_arg_fail(1)) SWIG_fail
;
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_From_int((int)(result
));
13094 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
13104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13105 if (SWIG_arg_fail(1)) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_From_int((int)(result
));
13122 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_From_int((int)(result
));
13150 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_From_int((int)(result
));
13178 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self",(char *) "stick", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13190 if (SWIG_arg_fail(1)) SWIG_fail
;
13192 arg2
= (int)(SWIG_As_int(obj1
));
13193 if (SWIG_arg_fail(2)) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 (arg1
)->SetJoystick(arg2
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 Py_INCREF(Py_None
); resultobj
= Py_None
;
13209 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self",(char *) "state", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13221 if (SWIG_arg_fail(1)) SWIG_fail
;
13223 arg2
= (int)(SWIG_As_int(obj1
));
13224 if (SWIG_arg_fail(2)) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 (arg1
)->SetButtonState(arg2
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 Py_INCREF(Py_None
); resultobj
= Py_None
;
13240 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self",(char *) "change", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13252 if (SWIG_arg_fail(1)) SWIG_fail
;
13254 arg2
= (int)(SWIG_As_int(obj1
));
13255 if (SWIG_arg_fail(2)) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 (arg1
)->SetButtonChange(arg2
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 Py_INCREF(Py_None
); resultobj
= Py_None
;
13271 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13274 wxPoint
*arg2
= 0 ;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self",(char *) "pos", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13284 if (SWIG_arg_fail(1)) SWIG_fail
;
13287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "zPos", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13315 if (SWIG_arg_fail(1)) SWIG_fail
;
13317 arg2
= (int)(SWIG_As_int(obj1
));
13318 if (SWIG_arg_fail(2)) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->SetZPosition(arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13334 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13345 if (SWIG_arg_fail(1)) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13362 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13390 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13418 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13421 int arg2
= (int) wxJOY_BUTTON_ANY
;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "but", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail
;
13434 arg2
= (int)(SWIG_As_int(obj1
));
13435 if (SWIG_arg_fail(2)) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13457 int arg2
= (int) wxJOY_BUTTON_ANY
;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "but", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13467 if (SWIG_arg_fail(1)) SWIG_fail
;
13470 arg2
= (int)(SWIG_As_int(obj1
));
13471 if (SWIG_arg_fail(2)) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13490 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13493 int arg2
= (int) wxJOY_BUTTON_ANY
;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self",(char *) "but", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13503 if (SWIG_arg_fail(1)) SWIG_fail
;
13506 arg2
= (int)(SWIG_As_int(obj1
));
13507 if (SWIG_arg_fail(2)) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13529 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13531 return Py_BuildValue((char *)"");
13533 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13536 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13538 bool temp1
= false ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "fileName", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13547 arg1
= wxString_in_helper(obj0
);
13548 if (arg1
== NULL
) SWIG_fail
;
13553 if (!wxPyCheckForApp()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13575 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 PyObject
*arg1
= (PyObject
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "data", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13587 if (!wxPyCheckForApp()) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (wxSound
*)new_wxSound(arg1
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13601 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxSound
*arg1
= (wxSound
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 Py_INCREF(Py_None
); resultobj
= Py_None
;
13626 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxSound
*arg1
= (wxSound
*) 0 ;
13629 wxString
*arg2
= 0 ;
13631 bool temp2
= false ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self",(char *) "fileName", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13640 if (SWIG_arg_fail(1)) SWIG_fail
;
13642 arg2
= wxString_in_helper(obj1
);
13643 if (arg2
== NULL
) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13670 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxSound
*arg1
= (wxSound
*) 0 ;
13673 PyObject
*arg2
= (PyObject
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "data", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13683 if (SWIG_arg_fail(1)) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13701 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxSound
*arg1
= (wxSound
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13712 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (bool)(arg1
)->IsOk();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13729 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxSound
*arg1
= (wxSound
*) 0 ;
13732 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "flags", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail
;
13745 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13746 if (SWIG_arg_fail(2)) SWIG_fail
;
13750 if (!wxPyCheckForApp()) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13766 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
;
13768 wxString
*arg1
= 0 ;
13769 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13771 bool temp1
= false ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "filename",(char *) "flags", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13780 arg1
= wxString_in_helper(obj0
);
13781 if (arg1
== NULL
) SWIG_fail
;
13786 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13787 if (SWIG_arg_fail(2)) SWIG_fail
;
13791 if (!wxPyCheckForApp()) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13815 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 char *kwnames
[] = {
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13823 if (!wxPyCheckForApp()) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 Py_INCREF(Py_None
); resultobj
= Py_None
;
13837 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13840 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13842 return Py_BuildValue((char *)"");
13844 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxString
*arg1
= 0 ;
13847 wxString
*arg2
= 0 ;
13848 wxString
*arg3
= 0 ;
13849 wxString
*arg4
= 0 ;
13850 wxFileTypeInfo
*result
;
13851 bool temp1
= false ;
13852 bool temp2
= false ;
13853 bool temp3
= false ;
13854 bool temp4
= false ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 PyObject
* obj2
= 0 ;
13858 PyObject
* obj3
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13865 arg1
= wxString_in_helper(obj0
);
13866 if (arg1
== NULL
) SWIG_fail
;
13870 arg2
= wxString_in_helper(obj1
);
13871 if (arg2
== NULL
) SWIG_fail
;
13875 arg3
= wxString_in_helper(obj2
);
13876 if (arg3
== NULL
) SWIG_fail
;
13880 arg4
= wxString_in_helper(obj3
);
13881 if (arg4
== NULL
) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13930 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxArrayString
*arg1
= 0 ;
13933 wxFileTypeInfo
*result
;
13934 bool temp1
= false ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "sArray", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13942 if (! PySequence_Check(obj0
)) {
13943 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13946 arg1
= new wxArrayString
;
13948 int i
, len
=PySequence_Length(obj0
);
13949 for (i
=0; i
<len
; i
++) {
13950 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13952 PyObject
* str
= PyObject_Unicode(item
);
13954 PyObject
* str
= PyObject_Str(item
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13957 arg1
->Add(Py2wxString(str
));
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13971 if (temp1
) delete arg1
;
13976 if (temp1
) delete arg1
;
13982 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxFileTypeInfo
*result
;
13985 char *kwnames
[] = {
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
14004 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
14014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14015 if (SWIG_arg_fail(1)) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14032 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14035 wxString
*arg2
= 0 ;
14036 int arg3
= (int) 0 ;
14037 bool temp2
= false ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 PyObject
* obj2
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail
;
14049 arg2
= wxString_in_helper(obj1
);
14050 if (arg2
== NULL
) SWIG_fail
;
14055 arg3
= (int)(SWIG_As_int(obj2
));
14056 if (SWIG_arg_fail(3)) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 Py_INCREF(Py_None
); resultobj
= Py_None
;
14081 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14084 wxString
*arg2
= 0 ;
14085 bool temp2
= false ;
14086 PyObject
* obj0
= 0 ;
14087 PyObject
* obj1
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self",(char *) "shortDesc", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
14093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14094 if (SWIG_arg_fail(1)) SWIG_fail
;
14096 arg2
= wxString_in_helper(obj1
);
14097 if (arg2
== NULL
) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 Py_INCREF(Py_None
); resultobj
= Py_None
;
14122 static PyObject
*_wrap_FileTypeInfo_GetMimeType(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_GetMimeType",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();
14137 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14138 result
= (wxString
*) &_result_ref
;
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14148 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14157 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14168 if (SWIG_arg_fail(1)) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14173 result
= (wxString
*) &_result_ref
;
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14183 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14192 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14208 result
= (wxString
*) &_result_ref
;
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14218 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14227 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14238 if (SWIG_arg_fail(1)) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14243 result
= (wxString
*) &_result_ref
;
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14253 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14262 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14273 if (SWIG_arg_fail(1)) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14278 result
= (wxString
*) &_result_ref
;
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14288 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14297 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14300 wxArrayString
*result
;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14313 result
= (wxArrayString
*) &_result_ref
;
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= wxArrayString2PyList_helper(*result
);
14328 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14339 if (SWIG_arg_fail(1)) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_From_int((int)(result
));
14356 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14367 if (SWIG_arg_fail(1)) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14372 result
= (wxString
*) &_result_ref
;
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14382 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14391 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14402 if (SWIG_arg_fail(1)) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_From_int((int)(result
));
14419 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14422 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14424 return Py_BuildValue((char *)"");
14426 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxFileTypeInfo
*arg1
= 0 ;
14429 wxFileType
*result
;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "ftInfo", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14438 if (SWIG_arg_fail(1)) SWIG_fail
;
14439 if (arg1
== NULL
) {
14440 SWIG_null_ref("wxFileTypeInfo");
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14458 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxFileType
*arg1
= (wxFileType
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 Py_INCREF(Py_None
); resultobj
= Py_None
;
14483 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxFileType
*arg1
= (wxFileType
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= result
;
14509 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxFileType
*arg1
= (wxFileType
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
;
14535 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxFileType
*arg1
= (wxFileType
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14546 if (SWIG_arg_fail(1)) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= result
;
14561 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxFileType
*arg1
= (wxFileType
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14572 if (SWIG_arg_fail(1)) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14587 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxFileType
*arg1
= (wxFileType
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14598 if (SWIG_arg_fail(1)) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
;
14613 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxFileType
*arg1
= (wxFileType
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14624 if (SWIG_arg_fail(1)) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= result
;
14639 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxFileType
*arg1
= (wxFileType
*) 0 ;
14642 wxString
*arg2
= 0 ;
14643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14646 bool temp2
= false ;
14647 bool temp3
= false ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 PyObject
* obj2
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14657 if (SWIG_arg_fail(1)) SWIG_fail
;
14659 arg2
= wxString_in_helper(obj1
);
14660 if (arg2
== NULL
) SWIG_fail
;
14665 arg3
= wxString_in_helper(obj2
);
14666 if (arg3
== NULL
) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= result
;
14700 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxFileType
*arg1
= (wxFileType
*) 0 ;
14703 wxString
*arg2
= 0 ;
14704 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14705 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14707 bool temp2
= false ;
14708 bool temp3
= false ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14718 if (SWIG_arg_fail(1)) SWIG_fail
;
14720 arg2
= wxString_in_helper(obj1
);
14721 if (arg2
== NULL
) SWIG_fail
;
14726 arg3
= wxString_in_helper(obj2
);
14727 if (arg3
== NULL
) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
;
14761 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxFileType
*arg1
= (wxFileType
*) 0 ;
14764 wxString
*arg2
= 0 ;
14765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14768 bool temp2
= false ;
14769 bool temp3
= false ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 PyObject
* obj2
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14779 if (SWIG_arg_fail(1)) SWIG_fail
;
14781 arg2
= wxString_in_helper(obj1
);
14782 if (arg2
== NULL
) SWIG_fail
;
14787 arg3
= wxString_in_helper(obj2
);
14788 if (arg3
== NULL
) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
;
14822 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxFileType
*arg1
= (wxFileType
*) 0 ;
14825 wxString
*arg2
= 0 ;
14826 wxString
*arg3
= 0 ;
14827 bool arg4
= (bool) true ;
14829 bool temp2
= false ;
14830 bool temp3
= false ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 PyObject
* obj2
= 0 ;
14834 PyObject
* obj3
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail
;
14843 arg2
= wxString_in_helper(obj1
);
14844 if (arg2
== NULL
) SWIG_fail
;
14848 arg3
= wxString_in_helper(obj2
);
14849 if (arg3
== NULL
) SWIG_fail
;
14854 arg4
= (bool)(SWIG_As_bool(obj3
));
14855 if (SWIG_arg_fail(4)) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14890 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxFileType
*arg1
= (wxFileType
*) 0 ;
14893 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14894 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14895 int arg3
= (int) 0 ;
14897 bool temp2
= false ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self",(char *) "cmd",(char *) "index", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 arg2
= wxString_in_helper(obj1
);
14911 if (arg2
== NULL
) SWIG_fail
;
14917 arg3
= (int)(SWIG_As_int(obj2
));
14918 if (SWIG_arg_fail(3)) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxFileType
*arg1
= (wxFileType
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14956 if (SWIG_arg_fail(1)) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (bool)(arg1
)->Unassociate();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14973 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxString
*arg1
= 0 ;
14976 wxString
*arg2
= 0 ;
14977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14980 bool temp1
= false ;
14981 bool temp2
= false ;
14982 bool temp3
= false ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 PyObject
* obj2
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14992 arg1
= wxString_in_helper(obj0
);
14993 if (arg1
== NULL
) SWIG_fail
;
14997 arg2
= wxString_in_helper(obj1
);
14998 if (arg2
== NULL
) SWIG_fail
;
15003 arg3
= wxString_in_helper(obj2
);
15004 if (arg3
== NULL
) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15052 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
15054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15055 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
15057 return Py_BuildValue((char *)"");
15059 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
15060 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
15065 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
15068 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
15073 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxString
*arg1
= 0 ;
15076 wxString
*arg2
= 0 ;
15078 bool temp1
= false ;
15079 bool temp2
= false ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "mimeType",(char *) "wildcard", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
15088 arg1
= wxString_in_helper(obj0
);
15089 if (arg1
== NULL
) SWIG_fail
;
15093 arg2
= wxString_in_helper(obj1
);
15094 if (arg2
== NULL
) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15129 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxMimeTypesManager
*result
;
15132 char *kwnames
[] = {
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15151 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15154 int arg2
= (int) wxMAILCAP_ALL
;
15155 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15156 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15157 bool temp3
= false ;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15167 if (SWIG_arg_fail(1)) SWIG_fail
;
15170 arg2
= (int)(SWIG_As_int(obj1
));
15171 if (SWIG_arg_fail(2)) SWIG_fail
;
15176 arg3
= wxString_in_helper(obj2
);
15177 if (arg3
== NULL
) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 Py_INCREF(Py_None
); resultobj
= Py_None
;
15203 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",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 (arg1
)->ClearData();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 Py_INCREF(Py_None
); resultobj
= Py_None
;
15228 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15231 wxString
*arg2
= 0 ;
15232 wxFileType
*result
;
15233 bool temp2
= false ;
15234 PyObject
* obj0
= 0 ;
15235 PyObject
* obj1
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self",(char *) "ext", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15242 if (SWIG_arg_fail(1)) SWIG_fail
;
15244 arg2
= wxString_in_helper(obj1
);
15245 if (arg2
== NULL
) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15270 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15273 wxString
*arg2
= 0 ;
15274 wxFileType
*result
;
15275 bool temp2
= false ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "mimeType", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 arg2
= wxString_in_helper(obj1
);
15287 if (arg2
== NULL
) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15312 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15315 wxString
*arg2
= 0 ;
15316 bool arg3
= (bool) false ;
15318 bool temp2
= false ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15328 if (SWIG_arg_fail(1)) SWIG_fail
;
15330 arg2
= wxString_in_helper(obj1
);
15331 if (arg2
== NULL
) SWIG_fail
;
15336 arg3
= (bool)(SWIG_As_bool(obj2
));
15337 if (SWIG_arg_fail(3)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15364 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15367 wxString
*arg2
= 0 ;
15369 bool temp2
= false ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "filename", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15378 if (SWIG_arg_fail(1)) SWIG_fail
;
15380 arg2
= wxString_in_helper(obj1
);
15381 if (arg2
== NULL
) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15408 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15419 if (SWIG_arg_fail(1)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= result
;
15434 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15437 wxFileTypeInfo
*arg2
= 0 ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "ft", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(1)) SWIG_fail
;
15448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15449 if (SWIG_arg_fail(2)) SWIG_fail
;
15450 if (arg2
== NULL
) {
15451 SWIG_null_ref("wxFileTypeInfo");
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 Py_INCREF(Py_None
); resultobj
= Py_None
;
15469 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15472 wxFileTypeInfo
*arg2
= 0 ;
15473 wxFileType
*result
;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self",(char *) "ftInfo", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail
;
15484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15485 if (SWIG_arg_fail(2)) SWIG_fail
;
15486 if (arg2
== NULL
) {
15487 SWIG_null_ref("wxFileTypeInfo");
15489 if (SWIG_arg_fail(2)) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15505 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15508 wxFileType
*arg2
= (wxFileType
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "ft", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail
;
15519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15520 if (SWIG_arg_fail(2)) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (bool)(arg1
)->Unassociate(arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15537 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15565 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15567 return Py_BuildValue((char *)"");
15569 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15570 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15575 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15580 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15582 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15589 static int _wrap_ART_MENU_set(PyObject
*) {
15590 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15595 static PyObject
*_wrap_ART_MENU_get(void) {
15600 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15602 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15609 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15610 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15615 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15620 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15622 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15629 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15630 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15635 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15640 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15642 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15649 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15650 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15655 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15660 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15662 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15669 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15670 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15675 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15680 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15682 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15689 static int _wrap_ART_BUTTON_set(PyObject
*) {
15690 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15695 static PyObject
*_wrap_ART_BUTTON_get(void) {
15700 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15702 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15709 static int _wrap_ART_OTHER_set(PyObject
*) {
15710 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15715 static PyObject
*_wrap_ART_OTHER_get(void) {
15720 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15722 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15729 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15730 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15735 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15740 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15742 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15749 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15750 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15755 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15760 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15762 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15769 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15770 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15775 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15780 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15782 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15789 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15790 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15795 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15800 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15802 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15809 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15810 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15815 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15820 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15822 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15829 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15830 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15835 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15840 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15842 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15849 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15850 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15855 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15860 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15862 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15869 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15870 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15875 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15880 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15882 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15889 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15890 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15895 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15900 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15902 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15909 static int _wrap_ART_GO_UP_set(PyObject
*) {
15910 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15915 static PyObject
*_wrap_ART_GO_UP_get(void) {
15920 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15922 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15929 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15930 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15935 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15940 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15942 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15949 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15950 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15955 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15960 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15962 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15969 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15970 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15975 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15980 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15982 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15989 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15990 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15995 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
16000 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16002 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
16009 static int _wrap_ART_PRINT_set(PyObject
*) {
16010 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
16015 static PyObject
*_wrap_ART_PRINT_get(void) {
16020 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16022 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
16029 static int _wrap_ART_HELP_set(PyObject
*) {
16030 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
16035 static PyObject
*_wrap_ART_HELP_get(void) {
16040 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16042 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
16049 static int _wrap_ART_TIP_set(PyObject
*) {
16050 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
16055 static PyObject
*_wrap_ART_TIP_get(void) {
16060 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16062 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
16069 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
16070 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
16075 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16080 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16082 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16089 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16090 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16095 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16100 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16102 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16109 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16110 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16115 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16120 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16122 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16129 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16130 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16135 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16140 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16142 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16149 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16150 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16155 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16160 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16162 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16169 static int _wrap_ART_CDROM_set(PyObject
*) {
16170 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16175 static PyObject
*_wrap_ART_CDROM_get(void) {
16180 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16182 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16189 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16190 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16195 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16200 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16202 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16209 static int _wrap_ART_FOLDER_set(PyObject
*) {
16210 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16215 static PyObject
*_wrap_ART_FOLDER_get(void) {
16220 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16222 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16229 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16230 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16235 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16240 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16242 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16249 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16250 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16255 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16260 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16262 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16269 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16270 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16275 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16280 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16282 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16289 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16290 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16295 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16300 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16302 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16309 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16310 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16315 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16320 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16322 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16329 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16330 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16335 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16340 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16342 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16349 static int _wrap_ART_ERROR_set(PyObject
*) {
16350 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16355 static PyObject
*_wrap_ART_ERROR_get(void) {
16360 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16362 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16369 static int _wrap_ART_QUESTION_set(PyObject
*) {
16370 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16375 static PyObject
*_wrap_ART_QUESTION_get(void) {
16380 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16382 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16389 static int _wrap_ART_WARNING_set(PyObject
*) {
16390 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16395 static PyObject
*_wrap_ART_WARNING_get(void) {
16400 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16402 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16409 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16410 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16415 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16420 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16422 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16429 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16430 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16435 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16440 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16442 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16449 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxPyArtProvider
*result
;
16452 char *kwnames
[] = {
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16458 if (!wxPyCheckForApp()) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16472 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16475 PyObject
*arg2
= (PyObject
*) 0 ;
16476 PyObject
*arg3
= (PyObject
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 PyObject
* obj2
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "self",(char *) "_class", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 Py_INCREF(Py_None
); resultobj
= Py_None
;
16503 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "provider", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16513 if (SWIG_arg_fail(1)) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 wxPyArtProvider::PushProvider(arg1
);
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 Py_INCREF(Py_None
); resultobj
= Py_None
;
16528 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16531 char *kwnames
[] = {
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (bool)wxPyArtProvider::PopProvider();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16552 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "provider", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16563 if (SWIG_arg_fail(1)) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16580 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxString
*arg1
= 0 ;
16583 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16584 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16585 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16586 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16588 bool temp1
= false ;
16589 bool temp2
= false ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 PyObject
* obj2
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "id",(char *) "client",(char *) "size", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16600 arg1
= wxString_in_helper(obj0
);
16601 if (arg1
== NULL
) SWIG_fail
;
16606 arg2
= wxString_in_helper(obj1
);
16607 if (arg2
== NULL
) SWIG_fail
;
16614 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16618 if (!wxPyCheckForApp()) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 wxBitmap
* resultptr
;
16627 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16652 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxString
*arg1
= 0 ;
16655 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16657 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16658 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16660 bool temp1
= false ;
16661 bool temp2
= false ;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 PyObject
* obj2
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "id",(char *) "client",(char *) "size", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16672 arg1
= wxString_in_helper(obj0
);
16673 if (arg1
== NULL
) SWIG_fail
;
16678 arg2
= wxString_in_helper(obj1
);
16679 if (arg2
== NULL
) SWIG_fail
;
16686 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16690 if (!wxPyCheckForApp()) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 wxIcon
* resultptr
;
16699 resultptr
= new wxIcon((wxIcon
&)(result
));
16700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16724 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16734 if (SWIG_arg_fail(1)) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 wxPyArtProvider_Destroy(arg1
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16752 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16754 return Py_BuildValue((char *)"");
16756 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16784 wxConfigBase
*result
;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "config", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16807 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
;
16809 bool arg1
= (bool) true ;
16810 wxConfigBase
*result
;
16811 PyObject
* obj0
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "createOnDemand", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16819 arg1
= (bool)(SWIG_As_bool(obj0
));
16820 if (SWIG_arg_fail(1)) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16837 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxConfigBase
*result
;
16840 char *kwnames
[] = {
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (wxConfigBase
*)wxConfigBase::Create();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16859 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 char *kwnames
[] = {
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 wxConfigBase::DontCreateOnDemand();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 Py_INCREF(Py_None
); resultobj
= Py_None
;
16880 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16883 wxString
*arg2
= 0 ;
16884 bool temp2
= false ;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self",(char *) "path", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16893 if (SWIG_arg_fail(1)) SWIG_fail
;
16895 arg2
= wxString_in_helper(obj1
);
16896 if (arg2
== NULL
) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->SetPath((wxString
const &)*arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16921 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16932 if (SWIG_arg_fail(1)) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16937 result
= (wxString
*) &_result_ref
;
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16947 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16956 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16967 if (SWIG_arg_fail(1)) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= result
;
16982 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self",(char *) "index", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16995 if (SWIG_arg_fail(1)) SWIG_fail
;
16997 arg2
= (long)(SWIG_As_long(obj1
));
16998 if (SWIG_arg_fail(2)) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= result
;
17014 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= result
;
17040 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self",(char *) "index", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17055 arg2
= (long)(SWIG_As_long(obj1
));
17056 if (SWIG_arg_fail(2)) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= result
;
17072 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17075 bool arg2
= (bool) false ;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "recursive", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail
;
17088 arg2
= (bool)(SWIG_As_bool(obj1
));
17089 if (SWIG_arg_fail(2)) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17108 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17111 bool arg2
= (bool) false ;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self",(char *) "recursive", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17121 if (SWIG_arg_fail(1)) SWIG_fail
;
17124 arg2
= (bool)(SWIG_As_bool(obj1
));
17125 if (SWIG_arg_fail(2)) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17144 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17147 wxString
*arg2
= 0 ;
17149 bool temp2
= false ;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self",(char *) "name", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail
;
17160 arg2
= wxString_in_helper(obj1
);
17161 if (arg2
== NULL
) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17188 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17191 wxString
*arg2
= 0 ;
17193 bool temp2
= false ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self",(char *) "name", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17202 if (SWIG_arg_fail(1)) SWIG_fail
;
17204 arg2
= wxString_in_helper(obj1
);
17205 if (arg2
== NULL
) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17232 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17235 wxString
*arg2
= 0 ;
17237 bool temp2
= false ;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj1
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self",(char *) "name", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail
;
17248 arg2
= wxString_in_helper(obj1
);
17249 if (arg2
== NULL
) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17276 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17279 wxString
*arg2
= 0 ;
17280 wxConfigBase::EntryType result
;
17281 bool temp2
= false ;
17282 PyObject
* obj0
= 0 ;
17283 PyObject
* obj1
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self",(char *) "name", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail
;
17292 arg2
= wxString_in_helper(obj1
);
17293 if (arg2
== NULL
) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= SWIG_From_int((result
));
17318 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17321 wxString
*arg2
= 0 ;
17322 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17323 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17325 bool temp2
= false ;
17326 bool temp3
= false ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 PyObject
* obj2
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail
;
17338 arg2
= wxString_in_helper(obj1
);
17339 if (arg2
== NULL
) SWIG_fail
;
17344 arg3
= wxString_in_helper(obj2
);
17345 if (arg3
== NULL
) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17385 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17388 wxString
*arg2
= 0 ;
17389 long arg3
= (long) 0 ;
17391 bool temp2
= false ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 PyObject
* obj2
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17401 if (SWIG_arg_fail(1)) SWIG_fail
;
17403 arg2
= wxString_in_helper(obj1
);
17404 if (arg2
== NULL
) SWIG_fail
;
17409 arg3
= (long)(SWIG_As_long(obj2
));
17410 if (SWIG_arg_fail(3)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_From_long((long)(result
));
17437 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17440 wxString
*arg2
= 0 ;
17441 double arg3
= (double) 0.0 ;
17443 bool temp2
= false ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 PyObject
* obj2
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17453 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 arg2
= wxString_in_helper(obj1
);
17456 if (arg2
== NULL
) SWIG_fail
;
17461 arg3
= (double)(SWIG_As_double(obj2
));
17462 if (SWIG_arg_fail(3)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_From_double((double)(result
));
17489 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17492 wxString
*arg2
= 0 ;
17493 bool arg3
= (bool) false ;
17495 bool temp2
= false ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 PyObject
* obj2
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail
;
17507 arg2
= wxString_in_helper(obj1
);
17508 if (arg2
== NULL
) SWIG_fail
;
17513 arg3
= (bool)(SWIG_As_bool(obj2
));
17514 if (SWIG_arg_fail(3)) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17544 wxString
*arg2
= 0 ;
17545 wxString
*arg3
= 0 ;
17547 bool temp2
= false ;
17548 bool temp3
= false ;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 PyObject
* obj2
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self",(char *) "key",(char *) "value", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17558 if (SWIG_arg_fail(1)) SWIG_fail
;
17560 arg2
= wxString_in_helper(obj1
);
17561 if (arg2
== NULL
) SWIG_fail
;
17565 arg3
= wxString_in_helper(obj2
);
17566 if (arg3
== NULL
) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17601 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17604 wxString
*arg2
= 0 ;
17607 bool temp2
= false ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 PyObject
* obj2
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self",(char *) "key",(char *) "value", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17617 if (SWIG_arg_fail(1)) SWIG_fail
;
17619 arg2
= wxString_in_helper(obj1
);
17620 if (arg2
== NULL
) SWIG_fail
;
17624 arg3
= (long)(SWIG_As_long(obj2
));
17625 if (SWIG_arg_fail(3)) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17651 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17654 wxString
*arg2
= 0 ;
17657 bool temp2
= false ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "key",(char *) "value", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17667 if (SWIG_arg_fail(1)) SWIG_fail
;
17669 arg2
= wxString_in_helper(obj1
);
17670 if (arg2
== NULL
) SWIG_fail
;
17674 arg3
= (double)(SWIG_As_double(obj2
));
17675 if (SWIG_arg_fail(3)) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17701 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17704 wxString
*arg2
= 0 ;
17707 bool temp2
= false ;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 PyObject
* obj2
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "key",(char *) "value", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17717 if (SWIG_arg_fail(1)) SWIG_fail
;
17719 arg2
= wxString_in_helper(obj1
);
17720 if (arg2
== NULL
) SWIG_fail
;
17724 arg3
= (bool)(SWIG_As_bool(obj2
));
17725 if (SWIG_arg_fail(3)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17751 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17754 bool arg2
= (bool) false ;
17756 PyObject
* obj0
= 0 ;
17757 PyObject
* obj1
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self",(char *) "currentOnly", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17764 if (SWIG_arg_fail(1)) SWIG_fail
;
17767 arg2
= (bool)(SWIG_As_bool(obj1
));
17768 if (SWIG_arg_fail(2)) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (bool)(arg1
)->Flush(arg2
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17787 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17790 wxString
*arg2
= 0 ;
17791 wxString
*arg3
= 0 ;
17793 bool temp2
= false ;
17794 bool temp3
= false ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 PyObject
* obj2
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17804 if (SWIG_arg_fail(1)) SWIG_fail
;
17806 arg2
= wxString_in_helper(obj1
);
17807 if (arg2
== NULL
) SWIG_fail
;
17811 arg3
= wxString_in_helper(obj2
);
17812 if (arg3
== NULL
) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17847 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17850 wxString
*arg2
= 0 ;
17851 wxString
*arg3
= 0 ;
17853 bool temp2
= false ;
17854 bool temp3
= false ;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 PyObject
* obj2
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail
;
17866 arg2
= wxString_in_helper(obj1
);
17867 if (arg2
== NULL
) SWIG_fail
;
17871 arg3
= wxString_in_helper(obj2
);
17872 if (arg3
== NULL
) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17907 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17910 wxString
*arg2
= 0 ;
17911 bool arg3
= (bool) true ;
17913 bool temp2
= false ;
17914 PyObject
* obj0
= 0 ;
17915 PyObject
* obj1
= 0 ;
17916 PyObject
* obj2
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 arg2
= wxString_in_helper(obj1
);
17926 if (arg2
== NULL
) SWIG_fail
;
17931 arg3
= (bool)(SWIG_As_bool(obj2
));
17932 if (SWIG_arg_fail(3)) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17959 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17962 wxString
*arg2
= 0 ;
17964 bool temp2
= false ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "key", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17973 if (SWIG_arg_fail(1)) SWIG_fail
;
17975 arg2
= wxString_in_helper(obj1
);
17976 if (arg2
== NULL
) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18003 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18014 if (SWIG_arg_fail(1)) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (bool)(arg1
)->DeleteAll();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18031 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18034 bool arg2
= (bool) true ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "doIt", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 arg2
= (bool)(SWIG_As_bool(obj1
));
18047 if (SWIG_arg_fail(2)) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->SetExpandEnvVars(arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18075 if (SWIG_arg_fail(1)) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18092 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18095 bool arg2
= (bool) true ;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "doIt", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18107 arg2
= (bool)(SWIG_As_bool(obj1
));
18108 if (SWIG_arg_fail(2)) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 (arg1
)->SetRecordDefaults(arg2
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 Py_INCREF(Py_None
); resultobj
= Py_None
;
18125 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
;
18127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18136 if (SWIG_arg_fail(1)) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18153 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18156 wxString
*arg2
= 0 ;
18158 bool temp2
= false ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "str", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail
;
18169 arg2
= wxString_in_helper(obj1
);
18170 if (arg2
== NULL
) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18201 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18212 if (SWIG_arg_fail(1)) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18233 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18265 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18268 wxString
*arg2
= 0 ;
18269 bool temp2
= false ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "appName", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18278 if (SWIG_arg_fail(1)) SWIG_fail
;
18280 arg2
= wxString_in_helper(obj1
);
18281 if (arg2
== NULL
) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->SetAppName((wxString
const &)*arg2
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18306 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18309 wxString
*arg2
= 0 ;
18310 bool temp2
= false ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "vendorName", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18319 if (SWIG_arg_fail(1)) SWIG_fail
;
18321 arg2
= wxString_in_helper(obj1
);
18322 if (arg2
== NULL
) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "style", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail
;
18361 arg2
= (long)(SWIG_As_long(obj1
));
18362 if (SWIG_arg_fail(2)) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->SetStyle(arg2
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18389 if (SWIG_arg_fail(1)) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= SWIG_From_long((long)(result
));
18406 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18409 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18411 return Py_BuildValue((char *)"");
18413 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18417 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18418 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18421 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18423 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18425 bool temp1
= false ;
18426 bool temp2
= false ;
18427 bool temp3
= false ;
18428 bool temp4
= false ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 PyObject
* obj3
= 0 ;
18433 PyObject
* obj4
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18441 arg1
= wxString_in_helper(obj0
);
18442 if (arg1
== NULL
) SWIG_fail
;
18448 arg2
= wxString_in_helper(obj1
);
18449 if (arg2
== NULL
) SWIG_fail
;
18455 arg3
= wxString_in_helper(obj2
);
18456 if (arg3
== NULL
) SWIG_fail
;
18462 arg4
= wxString_in_helper(obj3
);
18463 if (arg4
== NULL
) SWIG_fail
;
18469 arg5
= (long)(SWIG_As_long(obj4
));
18470 if (SWIG_arg_fail(5)) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18519 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxConfig
*arg1
= (wxConfig
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 Py_INCREF(Py_None
); resultobj
= Py_None
;
18544 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18547 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18549 return Py_BuildValue((char *)"");
18551 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18554 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18555 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18556 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18557 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18558 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18559 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18560 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18561 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18562 wxFileConfig
*result
;
18563 bool temp1
= false ;
18564 bool temp2
= false ;
18565 bool temp3
= false ;
18566 bool temp4
= false ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 PyObject
* obj2
= 0 ;
18570 PyObject
* obj3
= 0 ;
18571 PyObject
* obj4
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18579 arg1
= wxString_in_helper(obj0
);
18580 if (arg1
== NULL
) SWIG_fail
;
18586 arg2
= wxString_in_helper(obj1
);
18587 if (arg2
== NULL
) SWIG_fail
;
18593 arg3
= wxString_in_helper(obj2
);
18594 if (arg3
== NULL
) SWIG_fail
;
18600 arg4
= wxString_in_helper(obj3
);
18601 if (arg4
== NULL
) SWIG_fail
;
18607 arg5
= (long)(SWIG_As_long(obj4
));
18608 if (SWIG_arg_fail(5)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18657 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 Py_INCREF(Py_None
); resultobj
= Py_None
;
18682 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18685 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18687 return Py_BuildValue((char *)"");
18689 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18692 wxString
*arg2
= 0 ;
18693 wxConfigPathChanger
*result
;
18694 bool temp2
= false ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "config",(char *) "entry", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18703 if (SWIG_arg_fail(1)) SWIG_fail
;
18705 arg2
= wxString_in_helper(obj1
);
18706 if (arg2
== NULL
) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18731 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18741 if (SWIG_arg_fail(1)) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 Py_INCREF(Py_None
); resultobj
= Py_None
;
18756 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18772 result
= (wxString
*) &_result_ref
;
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18791 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18794 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18796 return Py_BuildValue((char *)"");
18798 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxString
*arg1
= 0 ;
18802 bool temp1
= false ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "sz", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18810 arg1
= wxString_in_helper(obj0
);
18811 if (arg1
== NULL
) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18842 static int _wrap_DateFormatStr_set(PyObject
*) {
18843 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
18848 static PyObject
*_wrap_DateFormatStr_get(void) {
18853 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
18855 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
18862 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
18863 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
18868 static PyObject
*_wrap_TimeSpanFormatStr_get(void) {
18873 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
18875 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
18882 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxDateTime::Country arg1
;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "country", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18892 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18893 if (SWIG_arg_fail(1)) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18909 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxDateTime::Country result
;
18912 char *kwnames
[] = {
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_From_int((result
));
18931 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18935 PyObject
* obj0
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "country", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18943 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18944 if (SWIG_arg_fail(1)) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18963 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18967 PyObject
* obj0
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "cal", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18975 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18976 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= SWIG_From_int((int)(result
));
18995 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "year", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19006 arg1
= (int)(SWIG_As_int(obj0
));
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= SWIG_From_int((int)(result
));
19025 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19028 wxDateTime::Month result
;
19029 PyObject
* obj0
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "cal", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19037 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19038 if (SWIG_arg_fail(1)) SWIG_fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= SWIG_From_int((result
));
19055 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 int arg1
= (int) wxDateTime::Inv_Year
;
19058 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "year",(char *) "cal", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19069 arg1
= (int)(SWIG_As_int(obj0
));
19070 if (SWIG_arg_fail(1)) SWIG_fail
;
19075 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19076 if (SWIG_arg_fail(2)) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19095 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 int arg1
= (int) wxDateTime::Inv_Year
;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "year", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19107 arg1
= (int)(SWIG_As_int(obj0
));
19108 if (SWIG_arg_fail(1)) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= (int)wxDateTime::GetCentury(arg1
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_From_int((int)(result
));
19127 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19130 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "year",(char *) "cal", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 arg1
= (int)(SWIG_As_int(obj0
));
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19145 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19146 if (SWIG_arg_fail(2)) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_From_int((int)(result
));
19165 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxDateTime::Month arg1
;
19168 int arg2
= (int) wxDateTime::Inv_Year
;
19169 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 PyObject
* obj2
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "month",(char *) "year",(char *) "cal", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19180 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19181 if (SWIG_arg_fail(1)) SWIG_fail
;
19185 arg2
= (int)(SWIG_As_int(obj1
));
19186 if (SWIG_arg_fail(2)) SWIG_fail
;
19191 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19192 if (SWIG_arg_fail(3)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= SWIG_From_int((int)(result
));
19211 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxDateTime::Month arg1
;
19214 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "month",(char *) "flags", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19225 if (SWIG_arg_fail(1)) SWIG_fail
;
19229 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19230 if (SWIG_arg_fail(2)) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19253 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxDateTime::WeekDay arg1
;
19256 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "weekday",(char *) "flags", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19271 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19272 if (SWIG_arg_fail(2)) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19295 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxString
*arg1
= (wxString
*) 0 ;
19298 wxString
*arg2
= (wxString
*) 0 ;
19299 bool temp1
= false ;
19300 bool temp2
= false ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "OUTPUT",(char *) "OUTPUT", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 arg1
= wxString_in_helper(obj0
);
19310 if (arg1
== NULL
) SWIG_fail
;
19314 arg2
= wxString_in_helper(obj1
);
19315 if (arg2
== NULL
) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 wxDateTime::GetAmPmStrings(arg1
,arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19348 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 int arg1
= (int) wxDateTime::Inv_Year
;
19351 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "year",(char *) "country", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 arg1
= (int)(SWIG_As_int(obj0
));
19363 if (SWIG_arg_fail(1)) SWIG_fail
;
19368 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19369 if (SWIG_arg_fail(2)) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19388 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 int arg1
= (int) wxDateTime::Inv_Year
;
19391 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "year",(char *) "country", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19402 arg1
= (int)(SWIG_As_int(obj0
));
19403 if (SWIG_arg_fail(1)) SWIG_fail
;
19408 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19409 if (SWIG_arg_fail(2)) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 wxDateTime
* resultptr
;
19421 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19430 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 int arg1
= (int) wxDateTime::Inv_Year
;
19433 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "year",(char *) "country", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19444 arg1
= (int)(SWIG_As_int(obj0
));
19445 if (SWIG_arg_fail(1)) SWIG_fail
;
19450 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19451 if (SWIG_arg_fail(2)) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19462 wxDateTime
* resultptr
;
19463 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19472 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19475 char *kwnames
[] = {
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= wxDateTime::Now();
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19488 wxDateTime
* resultptr
;
19489 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19498 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19501 char *kwnames
[] = {
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= wxDateTime::UNow();
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 wxDateTime
* resultptr
;
19515 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19524 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19527 char *kwnames
[] = {
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= wxDateTime::Today();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 wxDateTime
* resultptr
;
19541 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19550 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxDateTime
*result
;
19553 char *kwnames
[] = {
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (wxDateTime
*)new wxDateTime();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19572 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19575 wxDateTime
*result
;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "timet", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19583 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (wxDateTime
*)new wxDateTime(arg1
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19600 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19603 wxDateTime
*result
;
19604 PyObject
* obj0
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "jdn", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19611 arg1
= (double)(SWIG_As_double(obj0
));
19612 if (SWIG_arg_fail(1)) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (wxDateTime
*)new wxDateTime(arg1
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19628 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19631 int arg2
= (int) 0 ;
19632 int arg3
= (int) 0 ;
19633 int arg4
= (int) 0 ;
19634 wxDateTime
*result
;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 PyObject
* obj2
= 0 ;
19638 PyObject
* obj3
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19645 arg1
= (int)(SWIG_As_int(obj0
));
19646 if (SWIG_arg_fail(1)) SWIG_fail
;
19650 arg2
= (int)(SWIG_As_int(obj1
));
19651 if (SWIG_arg_fail(2)) SWIG_fail
;
19656 arg3
= (int)(SWIG_As_int(obj2
));
19657 if (SWIG_arg_fail(3)) SWIG_fail
;
19662 arg4
= (int)(SWIG_As_int(obj3
));
19663 if (SWIG_arg_fail(4)) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19680 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19683 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19684 int arg3
= (int) wxDateTime::Inv_Year
;
19685 int arg4
= (int) 0 ;
19686 int arg5
= (int) 0 ;
19687 int arg6
= (int) 0 ;
19688 int arg7
= (int) 0 ;
19689 wxDateTime
*result
;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 PyObject
* obj2
= 0 ;
19693 PyObject
* obj3
= 0 ;
19694 PyObject
* obj4
= 0 ;
19695 PyObject
* obj5
= 0 ;
19696 PyObject
* obj6
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19703 arg1
= (int)(SWIG_As_int(obj0
));
19704 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19709 if (SWIG_arg_fail(2)) SWIG_fail
;
19714 arg3
= (int)(SWIG_As_int(obj2
));
19715 if (SWIG_arg_fail(3)) SWIG_fail
;
19720 arg4
= (int)(SWIG_As_int(obj3
));
19721 if (SWIG_arg_fail(4)) SWIG_fail
;
19726 arg5
= (int)(SWIG_As_int(obj4
));
19727 if (SWIG_arg_fail(5)) SWIG_fail
;
19732 arg6
= (int)(SWIG_As_int(obj5
));
19733 if (SWIG_arg_fail(6)) SWIG_fail
;
19738 arg7
= (int)(SWIG_As_int(obj6
));
19739 if (SWIG_arg_fail(7)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19756 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19766 if (SWIG_arg_fail(1)) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19784 wxDateTime
*result
;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19797 result
= (wxDateTime
*) &_result_ref
;
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19810 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19814 wxDateTime
*result
;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self",(char *) "timet", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19823 if (SWIG_arg_fail(1)) SWIG_fail
;
19825 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19826 if (SWIG_arg_fail(2)) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19832 result
= (wxDateTime
*) &_result_ref
;
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19845 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19849 wxDateTime
*result
;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "jdn", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19858 if (SWIG_arg_fail(1)) SWIG_fail
;
19860 arg2
= (double)(SWIG_As_double(obj1
));
19861 if (SWIG_arg_fail(2)) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19867 result
= (wxDateTime
*) &_result_ref
;
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19880 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19884 int arg3
= (int) 0 ;
19885 int arg4
= (int) 0 ;
19886 int arg5
= (int) 0 ;
19887 wxDateTime
*result
;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 PyObject
* obj2
= 0 ;
19891 PyObject
* obj3
= 0 ;
19892 PyObject
* obj4
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19901 arg2
= (int)(SWIG_As_int(obj1
));
19902 if (SWIG_arg_fail(2)) SWIG_fail
;
19906 arg3
= (int)(SWIG_As_int(obj2
));
19907 if (SWIG_arg_fail(3)) SWIG_fail
;
19912 arg4
= (int)(SWIG_As_int(obj3
));
19913 if (SWIG_arg_fail(4)) SWIG_fail
;
19918 arg5
= (int)(SWIG_As_int(obj4
));
19919 if (SWIG_arg_fail(5)) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19926 result
= (wxDateTime
*) &_result_ref
;
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19939 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19943 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19944 int arg4
= (int) wxDateTime::Inv_Year
;
19945 int arg5
= (int) 0 ;
19946 int arg6
= (int) 0 ;
19947 int arg7
= (int) 0 ;
19948 int arg8
= (int) 0 ;
19949 wxDateTime
*result
;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 PyObject
* obj2
= 0 ;
19953 PyObject
* obj3
= 0 ;
19954 PyObject
* obj4
= 0 ;
19955 PyObject
* obj5
= 0 ;
19956 PyObject
* obj6
= 0 ;
19957 PyObject
* obj7
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19964 if (SWIG_arg_fail(1)) SWIG_fail
;
19966 arg2
= (int)(SWIG_As_int(obj1
));
19967 if (SWIG_arg_fail(2)) SWIG_fail
;
19971 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19972 if (SWIG_arg_fail(3)) SWIG_fail
;
19977 arg4
= (int)(SWIG_As_int(obj3
));
19978 if (SWIG_arg_fail(4)) SWIG_fail
;
19983 arg5
= (int)(SWIG_As_int(obj4
));
19984 if (SWIG_arg_fail(5)) SWIG_fail
;
19989 arg6
= (int)(SWIG_As_int(obj5
));
19990 if (SWIG_arg_fail(6)) SWIG_fail
;
19995 arg7
= (int)(SWIG_As_int(obj6
));
19996 if (SWIG_arg_fail(7)) SWIG_fail
;
20001 arg8
= (int)(SWIG_As_int(obj7
));
20002 if (SWIG_arg_fail(8)) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20009 result
= (wxDateTime
*) &_result_ref
;
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20022 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20025 wxDateTime
*result
;
20026 PyObject
* obj0
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20033 if (SWIG_arg_fail(1)) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20038 result
= (wxDateTime
*) &_result_ref
;
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20051 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
;
20053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20055 wxDateTime
*result
;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "year", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20064 if (SWIG_arg_fail(1)) SWIG_fail
;
20066 arg2
= (int)(SWIG_As_int(obj1
));
20067 if (SWIG_arg_fail(2)) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20073 result
= (wxDateTime
*) &_result_ref
;
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20086 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20089 wxDateTime::Month arg2
;
20090 wxDateTime
*result
;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "month", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20099 if (SWIG_arg_fail(1)) SWIG_fail
;
20101 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20102 if (SWIG_arg_fail(2)) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20108 result
= (wxDateTime
*) &_result_ref
;
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20121 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20125 wxDateTime
*result
;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "day", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail
;
20136 arg2
= (int)(SWIG_As_int(obj1
));
20137 if (SWIG_arg_fail(2)) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20143 result
= (wxDateTime
*) &_result_ref
;
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20156 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20160 wxDateTime
*result
;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "hour", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 arg2
= (int)(SWIG_As_int(obj1
));
20172 if (SWIG_arg_fail(2)) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20178 result
= (wxDateTime
*) &_result_ref
;
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20191 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20195 wxDateTime
*result
;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self",(char *) "minute", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20204 if (SWIG_arg_fail(1)) SWIG_fail
;
20206 arg2
= (int)(SWIG_As_int(obj1
));
20207 if (SWIG_arg_fail(2)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20213 result
= (wxDateTime
*) &_result_ref
;
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20226 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20230 wxDateTime
*result
;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self",(char *) "second", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20239 if (SWIG_arg_fail(1)) SWIG_fail
;
20241 arg2
= (int)(SWIG_As_int(obj1
));
20242 if (SWIG_arg_fail(2)) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20248 result
= (wxDateTime
*) &_result_ref
;
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20261 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20265 wxDateTime
*result
;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "millisecond", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20274 if (SWIG_arg_fail(1)) SWIG_fail
;
20276 arg2
= (int)(SWIG_As_int(obj1
));
20277 if (SWIG_arg_fail(2)) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20283 result
= (wxDateTime
*) &_result_ref
;
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20296 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20299 wxDateTime::WeekDay arg2
;
20300 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20301 wxDateTime
*result
;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 PyObject
* obj2
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20311 if (SWIG_arg_fail(1)) SWIG_fail
;
20313 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20314 if (SWIG_arg_fail(2)) SWIG_fail
;
20318 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20319 if (SWIG_arg_fail(3)) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20326 result
= (wxDateTime
*) &_result_ref
;
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20339 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20342 wxDateTime::WeekDay arg2
;
20343 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 PyObject
* obj2
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20354 if (SWIG_arg_fail(1)) SWIG_fail
;
20356 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20357 if (SWIG_arg_fail(2)) SWIG_fail
;
20361 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20362 if (SWIG_arg_fail(3)) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 wxDateTime
* resultptr
;
20374 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20383 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20386 wxDateTime::WeekDay arg2
;
20387 wxDateTime
*result
;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "weekday", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20399 if (SWIG_arg_fail(2)) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20405 result
= (wxDateTime
*) &_result_ref
;
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20418 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20421 wxDateTime::WeekDay arg2
;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self",(char *) "weekday", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20431 if (SWIG_arg_fail(1)) SWIG_fail
;
20433 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20434 if (SWIG_arg_fail(2)) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20444 wxDateTime
* resultptr
;
20445 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20454 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20457 wxDateTime::WeekDay arg2
;
20458 wxDateTime
*result
;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "weekday", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20467 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20470 if (SWIG_arg_fail(2)) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20476 result
= (wxDateTime
*) &_result_ref
;
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20489 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20492 wxDateTime::WeekDay arg2
;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self",(char *) "weekday", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20505 if (SWIG_arg_fail(2)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20515 wxDateTime
* resultptr
;
20516 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20525 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20528 wxDateTime::WeekDay arg2
;
20529 int arg3
= (int) 1 ;
20530 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20531 int arg5
= (int) wxDateTime::Inv_Year
;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 PyObject
* obj2
= 0 ;
20536 PyObject
* obj3
= 0 ;
20537 PyObject
* obj4
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail
;
20546 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20547 if (SWIG_arg_fail(2)) SWIG_fail
;
20551 arg3
= (int)(SWIG_As_int(obj2
));
20552 if (SWIG_arg_fail(3)) SWIG_fail
;
20557 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20558 if (SWIG_arg_fail(4)) SWIG_fail
;
20563 arg5
= (int)(SWIG_As_int(obj4
));
20564 if (SWIG_arg_fail(5)) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20583 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20586 wxDateTime::WeekDay arg2
;
20587 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20588 int arg4
= (int) wxDateTime::Inv_Year
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 PyObject
* obj2
= 0 ;
20593 PyObject
* obj3
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20603 if (SWIG_arg_fail(2)) SWIG_fail
;
20607 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20608 if (SWIG_arg_fail(3)) SWIG_fail
;
20613 arg4
= (int)(SWIG_As_int(obj3
));
20614 if (SWIG_arg_fail(4)) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20636 wxDateTime::WeekDay arg2
;
20637 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20638 int arg4
= (int) wxDateTime::Inv_Year
;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 PyObject
* obj2
= 0 ;
20643 PyObject
* obj3
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail
;
20652 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20653 if (SWIG_arg_fail(2)) SWIG_fail
;
20657 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20658 if (SWIG_arg_fail(3)) SWIG_fail
;
20663 arg4
= (int)(SWIG_As_int(obj3
));
20664 if (SWIG_arg_fail(4)) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 wxDateTime
* resultptr
;
20676 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20685 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20689 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20690 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 PyObject
* obj2
= 0 ;
20695 PyObject
* obj3
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20702 if (SWIG_arg_fail(1)) SWIG_fail
;
20704 arg2
= (int)(SWIG_As_int(obj1
));
20705 if (SWIG_arg_fail(2)) SWIG_fail
;
20709 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20710 if (SWIG_arg_fail(3)) SWIG_fail
;
20715 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20716 if (SWIG_arg_fail(4)) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20735 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20739 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20740 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 PyObject
* obj2
= 0 ;
20745 PyObject
* obj3
= 0 ;
20746 char *kwnames
[] = {
20747 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20752 if (SWIG_arg_fail(1)) SWIG_fail
;
20754 arg2
= (int)(SWIG_As_int(obj1
));
20755 if (SWIG_arg_fail(2)) SWIG_fail
;
20759 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20760 if (SWIG_arg_fail(3)) SWIG_fail
;
20765 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20766 if (SWIG_arg_fail(4)) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20777 wxDateTime
* resultptr
;
20778 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20787 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20791 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20793 PyObject
* obj0
= 0 ;
20794 PyObject
* obj1
= 0 ;
20795 PyObject
* obj2
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20802 arg1
= (int)(SWIG_As_int(obj0
));
20803 if (SWIG_arg_fail(1)) SWIG_fail
;
20806 arg2
= (int)(SWIG_As_int(obj1
));
20807 if (SWIG_arg_fail(2)) SWIG_fail
;
20811 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20812 if (SWIG_arg_fail(3)) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20823 wxDateTime
* resultptr
;
20824 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20833 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20836 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20837 int arg3
= (int) wxDateTime::Inv_Year
;
20838 wxDateTime
*result
;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 PyObject
* obj2
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "month",(char *) "year", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20851 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20852 if (SWIG_arg_fail(2)) SWIG_fail
;
20857 arg3
= (int)(SWIG_As_int(obj2
));
20858 if (SWIG_arg_fail(3)) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20865 result
= (wxDateTime
*) &_result_ref
;
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20878 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20881 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20882 int arg3
= (int) wxDateTime::Inv_Year
;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "month",(char *) "year", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20893 if (SWIG_arg_fail(1)) SWIG_fail
;
20896 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20897 if (SWIG_arg_fail(2)) SWIG_fail
;
20902 arg3
= (int)(SWIG_As_int(obj2
));
20903 if (SWIG_arg_fail(3)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 wxDateTime
* resultptr
;
20915 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20924 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20928 wxDateTime
*result
;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "yday", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20937 if (SWIG_arg_fail(1)) SWIG_fail
;
20939 arg2
= (int)(SWIG_As_int(obj1
));
20940 if (SWIG_arg_fail(2)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20946 result
= (wxDateTime
*) &_result_ref
;
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20959 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self",(char *) "yday", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20972 if (SWIG_arg_fail(1)) SWIG_fail
;
20974 arg2
= (int)(SWIG_As_int(obj1
));
20975 if (SWIG_arg_fail(2)) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (arg1
)->GetYearDay(arg2
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20985 wxDateTime
* resultptr
;
20986 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20995 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21006 if (SWIG_arg_fail(1)) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (double)(arg1
)->GetJulianDayNumber();
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_From_double((double)(result
));
21023 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21034 if (SWIG_arg_fail(1)) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (double)(arg1
)->GetJDN();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= SWIG_From_double((double)(result
));
21051 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21062 if (SWIG_arg_fail(1)) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_From_double((double)(result
));
21079 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21083 PyObject
* obj0
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (double)(arg1
)->GetMJD();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_From_double((double)(result
));
21107 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21118 if (SWIG_arg_fail(1)) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (double)(arg1
)->GetRataDie();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_From_double((double)(result
));
21135 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21138 wxDateTime::TimeZone
*arg2
= 0 ;
21139 bool arg3
= (bool) false ;
21141 bool temp2
= false ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 PyObject
* obj2
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21151 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21158 arg3
= (bool)(SWIG_As_bool(obj2
));
21159 if (SWIG_arg_fail(3)) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 wxDateTime
* resultptr
;
21171 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21175 if (temp2
) delete arg2
;
21180 if (temp2
) delete arg2
;
21186 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21189 wxDateTime::TimeZone
*arg2
= 0 ;
21190 bool arg3
= (bool) false ;
21191 wxDateTime
*result
;
21192 bool temp2
= false ;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 PyObject
* obj2
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21202 if (SWIG_arg_fail(1)) SWIG_fail
;
21204 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21209 arg3
= (bool)(SWIG_As_bool(obj2
));
21210 if (SWIG_arg_fail(3)) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21217 result
= (wxDateTime
*) &_result_ref
;
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21225 if (temp2
) delete arg2
;
21230 if (temp2
) delete arg2
;
21236 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21239 bool arg2
= (bool) false ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "noDST", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail
;
21252 arg2
= (bool)(SWIG_As_bool(obj1
));
21253 if (SWIG_arg_fail(2)) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (arg1
)->ToGMT(arg2
);
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 wxDateTime
* resultptr
;
21265 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21274 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21277 bool arg2
= (bool) false ;
21278 wxDateTime
*result
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "noDST", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21287 if (SWIG_arg_fail(1)) SWIG_fail
;
21290 arg2
= (bool)(SWIG_As_bool(obj1
));
21291 if (SWIG_arg_fail(2)) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21298 result
= (wxDateTime
*) &_result_ref
;
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21311 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21314 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "country", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21328 if (SWIG_arg_fail(2)) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_From_int((int)(result
));
21347 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
;
21349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21351 PyObject
* obj0
= 0 ;
21352 char *kwnames
[] = {
21353 (char *) "self", NULL
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21358 if (SWIG_arg_fail(1)) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21375 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21403 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21406 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21407 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21409 bool temp2
= false ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "tz", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail
;
21421 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_From_int((int)(result
));
21436 if (temp2
) delete arg2
;
21441 if (temp2
) delete arg2
;
21447 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21450 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21451 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21452 wxDateTime::Month result
;
21453 bool temp2
= false ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "tz", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail
;
21465 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= SWIG_From_int((result
));
21478 if (temp2
) delete arg2
;
21483 if (temp2
) delete arg2
;
21489 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
;
21491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21492 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21493 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21495 bool temp2
= false ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self",(char *) "tz", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_From_int((int)(result
));
21522 if (temp2
) delete arg2
;
21527 if (temp2
) delete arg2
;
21533 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21536 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21537 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21538 wxDateTime::WeekDay result
;
21539 bool temp2
= false ;
21540 PyObject
* obj0
= 0 ;
21541 PyObject
* obj1
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "tz", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail
;
21551 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= SWIG_From_int((result
));
21564 if (temp2
) delete arg2
;
21569 if (temp2
) delete arg2
;
21575 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21578 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21579 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21581 bool temp2
= false ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "tz", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21590 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_From_int((int)(result
));
21608 if (temp2
) delete arg2
;
21613 if (temp2
) delete arg2
;
21619 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21622 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21623 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21625 bool temp2
= false ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "tz", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail
;
21637 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_From_int((int)(result
));
21652 if (temp2
) delete arg2
;
21657 if (temp2
) delete arg2
;
21663 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21666 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21667 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21669 bool temp2
= false ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "tz", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21678 if (SWIG_arg_fail(1)) SWIG_fail
;
21681 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_From_int((int)(result
));
21696 if (temp2
) delete arg2
;
21701 if (temp2
) delete arg2
;
21707 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21710 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21711 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21713 bool temp2
= false ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "tz", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21722 if (SWIG_arg_fail(1)) SWIG_fail
;
21725 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_From_int((int)(result
));
21740 if (temp2
) delete arg2
;
21745 if (temp2
) delete arg2
;
21751 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21754 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21755 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21757 bool temp2
= false ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "tz", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21766 if (SWIG_arg_fail(1)) SWIG_fail
;
21769 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21781 resultobj
= SWIG_From_int((int)(result
));
21784 if (temp2
) delete arg2
;
21789 if (temp2
) delete arg2
;
21795 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21798 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21799 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21800 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21802 bool temp3
= false ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 PyObject
* obj2
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "flags",(char *) "tz", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21816 if (SWIG_arg_fail(2)) SWIG_fail
;
21821 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_From_int((int)(result
));
21836 if (temp3
) delete arg3
;
21841 if (temp3
) delete arg3
;
21847 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21850 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21851 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21852 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21854 bool temp3
= false ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 PyObject
* obj2
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self",(char *) "flags",(char *) "tz", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21864 if (SWIG_arg_fail(1)) SWIG_fail
;
21867 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21868 if (SWIG_arg_fail(2)) SWIG_fail
;
21873 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= SWIG_From_int((int)(result
));
21888 if (temp3
) delete arg3
;
21893 if (temp3
) delete arg3
;
21899 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21902 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "country", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21912 if (SWIG_arg_fail(1)) SWIG_fail
;
21915 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21916 if (SWIG_arg_fail(2)) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21938 wxDateTime
*arg2
= 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "datetime", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail
;
21950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21951 if (SWIG_arg_fail(2)) SWIG_fail
;
21952 if (arg2
== NULL
) {
21953 SWIG_null_ref("wxDateTime");
21955 if (SWIG_arg_fail(2)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21973 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21976 wxDateTime
*arg2
= 0 ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "datetime", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail
;
21988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21989 if (SWIG_arg_fail(2)) SWIG_fail
;
21990 if (arg2
== NULL
) {
21991 SWIG_null_ref("wxDateTime");
21993 if (SWIG_arg_fail(2)) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22011 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22014 wxDateTime
*arg2
= 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "datetime", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22024 if (SWIG_arg_fail(1)) SWIG_fail
;
22026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(2)) SWIG_fail
;
22028 if (arg2
== NULL
) {
22029 SWIG_null_ref("wxDateTime");
22031 if (SWIG_arg_fail(2)) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22049 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22052 wxDateTime
*arg2
= 0 ;
22053 wxDateTime
*arg3
= 0 ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 PyObject
* obj2
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "t1",(char *) "t2", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22064 if (SWIG_arg_fail(1)) SWIG_fail
;
22066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22067 if (SWIG_arg_fail(2)) SWIG_fail
;
22068 if (arg2
== NULL
) {
22069 SWIG_null_ref("wxDateTime");
22071 if (SWIG_arg_fail(2)) SWIG_fail
;
22074 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(3)) SWIG_fail
;
22076 if (arg3
== NULL
) {
22077 SWIG_null_ref("wxDateTime");
22079 if (SWIG_arg_fail(3)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22097 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22100 wxDateTime
*arg2
= 0 ;
22101 wxDateTime
*arg3
= 0 ;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 PyObject
* obj2
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "t1",(char *) "t2", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(2)) SWIG_fail
;
22116 if (arg2
== NULL
) {
22117 SWIG_null_ref("wxDateTime");
22119 if (SWIG_arg_fail(2)) SWIG_fail
;
22122 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22123 if (SWIG_arg_fail(3)) SWIG_fail
;
22124 if (arg3
== NULL
) {
22125 SWIG_null_ref("wxDateTime");
22127 if (SWIG_arg_fail(3)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22145 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22148 wxDateTime
*arg2
= 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "dt", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(2)) SWIG_fail
;
22162 if (arg2
== NULL
) {
22163 SWIG_null_ref("wxDateTime");
22165 if (SWIG_arg_fail(2)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22183 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22186 wxDateTime
*arg2
= 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 char *kwnames
[] = {
22191 (char *) "self",(char *) "dt", NULL
22194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22196 if (SWIG_arg_fail(1)) SWIG_fail
;
22198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22199 if (SWIG_arg_fail(2)) SWIG_fail
;
22200 if (arg2
== NULL
) {
22201 SWIG_null_ref("wxDateTime");
22203 if (SWIG_arg_fail(2)) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22221 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22224 wxDateTime
*arg2
= 0 ;
22225 wxTimeSpan
*arg3
= 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 PyObject
* obj2
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self",(char *) "dt",(char *) "ts", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22236 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(2)) SWIG_fail
;
22240 if (arg2
== NULL
) {
22241 SWIG_null_ref("wxDateTime");
22243 if (SWIG_arg_fail(2)) SWIG_fail
;
22246 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22247 if (SWIG_arg_fail(3)) SWIG_fail
;
22248 if (arg3
== NULL
) {
22249 SWIG_null_ref("wxTimeSpan");
22251 if (SWIG_arg_fail(3)) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22269 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22272 wxTimeSpan
*arg2
= 0 ;
22273 wxDateTime
*result
;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self",(char *) "diff", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22282 if (SWIG_arg_fail(1)) SWIG_fail
;
22284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22285 if (SWIG_arg_fail(2)) SWIG_fail
;
22286 if (arg2
== NULL
) {
22287 SWIG_null_ref("wxTimeSpan");
22289 if (SWIG_arg_fail(2)) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22295 result
= (wxDateTime
*) &_result_ref
;
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22308 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22311 wxDateSpan
*arg2
= 0 ;
22312 wxDateTime
*result
;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self",(char *) "diff", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22321 if (SWIG_arg_fail(1)) SWIG_fail
;
22323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(2)) SWIG_fail
;
22325 if (arg2
== NULL
) {
22326 SWIG_null_ref("wxDateSpan");
22328 if (SWIG_arg_fail(2)) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22334 result
= (wxDateTime
*) &_result_ref
;
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22347 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22350 wxTimeSpan
*arg2
= 0 ;
22351 wxDateTime
*result
;
22352 PyObject
* obj0
= 0 ;
22353 PyObject
* obj1
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "diff", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22363 if (SWIG_arg_fail(2)) SWIG_fail
;
22364 if (arg2
== NULL
) {
22365 SWIG_null_ref("wxTimeSpan");
22367 if (SWIG_arg_fail(2)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22373 result
= (wxDateTime
*) &_result_ref
;
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22386 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22389 wxDateSpan
*arg2
= 0 ;
22390 wxDateTime
*result
;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "diff", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22399 if (SWIG_arg_fail(1)) SWIG_fail
;
22401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22402 if (SWIG_arg_fail(2)) SWIG_fail
;
22403 if (arg2
== NULL
) {
22404 SWIG_null_ref("wxDateSpan");
22406 if (SWIG_arg_fail(2)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22412 result
= (wxDateTime
*) &_result_ref
;
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22425 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22428 wxDateTime
*arg2
= 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "dt", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22441 if (SWIG_arg_fail(2)) SWIG_fail
;
22442 if (arg2
== NULL
) {
22443 SWIG_null_ref("wxDateTime");
22445 if (SWIG_arg_fail(2)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22455 wxTimeSpan
* resultptr
;
22456 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22465 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22466 PyObject
*resultobj
;
22467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22468 wxTimeSpan
*arg2
= 0 ;
22469 wxDateTime
*result
;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22473 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22475 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22478 if (SWIG_arg_fail(2)) SWIG_fail
;
22479 if (arg2
== NULL
) {
22480 SWIG_null_ref("wxTimeSpan");
22482 if (SWIG_arg_fail(2)) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22488 result
= (wxDateTime
*) &_result_ref
;
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22501 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22502 PyObject
*resultobj
;
22503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22504 wxDateSpan
*arg2
= 0 ;
22505 wxDateTime
*result
;
22506 PyObject
* obj0
= 0 ;
22507 PyObject
* obj1
= 0 ;
22509 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22511 if (SWIG_arg_fail(1)) SWIG_fail
;
22513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(2)) SWIG_fail
;
22515 if (arg2
== NULL
) {
22516 SWIG_null_ref("wxDateSpan");
22518 if (SWIG_arg_fail(2)) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22524 result
= (wxDateTime
*) &_result_ref
;
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22537 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22542 argc
= PyObject_Length(args
);
22543 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22544 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22550 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22560 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22568 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22576 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22586 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22594 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22599 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22604 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22605 PyObject
*resultobj
;
22606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22607 wxTimeSpan
*arg2
= 0 ;
22608 wxDateTime
*result
;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22612 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22614 if (SWIG_arg_fail(1)) SWIG_fail
;
22616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22617 if (SWIG_arg_fail(2)) SWIG_fail
;
22618 if (arg2
== NULL
) {
22619 SWIG_null_ref("wxTimeSpan");
22621 if (SWIG_arg_fail(2)) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22627 result
= (wxDateTime
*) &_result_ref
;
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22640 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22641 PyObject
*resultobj
;
22642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22643 wxDateSpan
*arg2
= 0 ;
22644 wxDateTime
*result
;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22648 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22650 if (SWIG_arg_fail(1)) SWIG_fail
;
22652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22653 if (SWIG_arg_fail(2)) SWIG_fail
;
22654 if (arg2
== NULL
) {
22655 SWIG_null_ref("wxDateSpan");
22657 if (SWIG_arg_fail(2)) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22663 result
= (wxDateTime
*) &_result_ref
;
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22676 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22681 argc
= PyObject_Length(args
);
22682 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22683 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22689 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22699 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22707 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22725 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22733 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22738 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22743 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22744 PyObject
*resultobj
;
22745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22746 wxTimeSpan
*arg2
= 0 ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22751 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22753 if (SWIG_arg_fail(1)) SWIG_fail
;
22755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22756 if (SWIG_arg_fail(2)) SWIG_fail
;
22757 if (arg2
== NULL
) {
22758 SWIG_null_ref("wxTimeSpan");
22760 if (SWIG_arg_fail(2)) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22770 wxDateTime
* resultptr
;
22771 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22780 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22781 PyObject
*resultobj
;
22782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22783 wxDateSpan
*arg2
= 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22788 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22790 if (SWIG_arg_fail(1)) SWIG_fail
;
22792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(2)) SWIG_fail
;
22794 if (arg2
== NULL
) {
22795 SWIG_null_ref("wxDateSpan");
22797 if (SWIG_arg_fail(2)) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 wxDateTime
* resultptr
;
22808 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22817 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22822 argc
= PyObject_Length(args
);
22823 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22824 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22830 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22840 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22848 return _wrap_DateTime___add____SWIG_0(self
,args
);
22856 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22866 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22874 return _wrap_DateTime___add____SWIG_1(self
,args
);
22879 Py_INCREF(Py_NotImplemented
);
22880 return Py_NotImplemented
;
22884 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22885 PyObject
*resultobj
;
22886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22887 wxDateTime
*arg2
= 0 ;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22892 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22894 if (SWIG_arg_fail(1)) SWIG_fail
;
22896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22897 if (SWIG_arg_fail(2)) SWIG_fail
;
22898 if (arg2
== NULL
) {
22899 SWIG_null_ref("wxDateTime");
22901 if (SWIG_arg_fail(2)) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22911 wxTimeSpan
* resultptr
;
22912 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22921 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22922 PyObject
*resultobj
;
22923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22924 wxTimeSpan
*arg2
= 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22929 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail
;
22933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22934 if (SWIG_arg_fail(2)) SWIG_fail
;
22935 if (arg2
== NULL
) {
22936 SWIG_null_ref("wxTimeSpan");
22938 if (SWIG_arg_fail(2)) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 wxDateTime
* resultptr
;
22949 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22958 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22959 PyObject
*resultobj
;
22960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22961 wxDateSpan
*arg2
= 0 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22966 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22968 if (SWIG_arg_fail(1)) SWIG_fail
;
22970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(2)) SWIG_fail
;
22972 if (arg2
== NULL
) {
22973 SWIG_null_ref("wxDateSpan");
22975 if (SWIG_arg_fail(2)) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 wxDateTime
* resultptr
;
22986 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22995 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23000 argc
= PyObject_Length(args
);
23001 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23002 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23008 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23018 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23026 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23034 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23044 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23052 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23060 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23070 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23078 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23083 Py_INCREF(Py_NotImplemented
);
23084 return Py_NotImplemented
;
23088 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
23089 PyObject
*resultobj
;
23090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23091 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23096 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
23097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail
;
23099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23100 if (SWIG_arg_fail(2)) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23117 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
23118 PyObject
*resultobj
;
23119 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23120 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23125 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
23126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail
;
23128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23129 if (SWIG_arg_fail(2)) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23146 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
23147 PyObject
*resultobj
;
23148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23149 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 PyObject
* obj1
= 0 ;
23154 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
23155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23156 if (SWIG_arg_fail(1)) SWIG_fail
;
23157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23158 if (SWIG_arg_fail(2)) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23175 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
23176 PyObject
*resultobj
;
23177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23178 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23183 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
23184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23185 if (SWIG_arg_fail(1)) SWIG_fail
;
23186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(2)) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23204 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
23205 PyObject
*resultobj
;
23206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23207 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 PyObject
* obj1
= 0 ;
23212 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
23213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail
;
23215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23216 if (SWIG_arg_fail(2)) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23233 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
23234 PyObject
*resultobj
;
23235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23236 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23241 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&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___ne__(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_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23265 wxString
*arg2
= 0 ;
23267 bool temp2
= false ;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self",(char *) "date", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23276 if (SWIG_arg_fail(1)) SWIG_fail
;
23278 arg2
= wxString_in_helper(obj1
);
23279 if (arg2
== NULL
) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_From_int((int)(result
));
23306 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23309 wxString
*arg2
= 0 ;
23310 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
23311 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23312 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23313 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23315 bool temp2
= false ;
23316 bool temp3
= false ;
23317 PyObject
* obj0
= 0 ;
23318 PyObject
* obj1
= 0 ;
23319 PyObject
* obj2
= 0 ;
23320 PyObject
* obj3
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23327 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 arg2
= wxString_in_helper(obj1
);
23330 if (arg2
== NULL
) SWIG_fail
;
23335 arg3
= wxString_in_helper(obj2
);
23336 if (arg3
== NULL
) SWIG_fail
;
23342 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23343 if (SWIG_arg_fail(4)) SWIG_fail
;
23344 if (arg4
== NULL
) {
23345 SWIG_null_ref("wxDateTime");
23347 if (SWIG_arg_fail(4)) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_From_int((int)(result
));
23382 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23385 wxString
*arg2
= 0 ;
23387 bool temp2
= false ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "datetime", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail
;
23398 arg2
= wxString_in_helper(obj1
);
23399 if (arg2
== NULL
) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_From_int((int)(result
));
23426 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23429 wxString
*arg2
= 0 ;
23431 bool temp2
= false ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self",(char *) "date", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23440 if (SWIG_arg_fail(1)) SWIG_fail
;
23442 arg2
= wxString_in_helper(obj1
);
23443 if (arg2
== NULL
) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_From_int((int)(result
));
23470 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23473 wxString
*arg2
= 0 ;
23475 bool temp2
= false ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "time", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 arg2
= wxString_in_helper(obj1
);
23487 if (arg2
== NULL
) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_From_int((int)(result
));
23514 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23515 PyObject
*resultobj
;
23516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23517 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
23518 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23519 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23520 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23522 bool temp2
= false ;
23523 bool temp3
= false ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 PyObject
* obj2
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "format",(char *) "tz", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23536 arg2
= wxString_in_helper(obj1
);
23537 if (arg2
== NULL
) SWIG_fail
;
23543 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23566 if (temp3
) delete arg3
;
23575 if (temp3
) delete arg3
;
23581 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23613 static PyObject
*_wrap_DateTime_FormatTime(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_FormatTime",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
)->FormatTime();
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_FormatISODate(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_FormatISODate",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
)->FormatISODate();
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_FormatISOTime(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_FormatISOTime",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
)->FormatISOTime();
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
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23712 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23714 return Py_BuildValue((char *)"");
23716 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23720 PyObject
* obj0
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "sec", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23727 arg1
= (long)(SWIG_As_long(obj0
));
23728 if (SWIG_arg_fail(1)) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= wxTimeSpan::Seconds(arg1
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 wxTimeSpan
* resultptr
;
23739 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23748 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23751 char *kwnames
[] = {
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= wxTimeSpan::Second();
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 wxTimeSpan
* resultptr
;
23765 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23774 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "min", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23785 arg1
= (long)(SWIG_As_long(obj0
));
23786 if (SWIG_arg_fail(1)) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= wxTimeSpan::Minutes(arg1
);
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_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23809 char *kwnames
[] = {
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= wxTimeSpan::Minute();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23822 wxTimeSpan
* resultptr
;
23823 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23832 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "hours", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23843 arg1
= (long)(SWIG_As_long(obj0
));
23844 if (SWIG_arg_fail(1)) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= wxTimeSpan::Hours(arg1
);
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_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23867 char *kwnames
[] = {
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= wxTimeSpan::Hour();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 wxTimeSpan
* resultptr
;
23881 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23890 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "days", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23901 arg1
= (long)(SWIG_As_long(obj0
));
23902 if (SWIG_arg_fail(1)) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= wxTimeSpan::Days(arg1
);
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_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23925 char *kwnames
[] = {
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= wxTimeSpan::Day();
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23938 wxTimeSpan
* resultptr
;
23939 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23948 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "days", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23959 arg1
= (long)(SWIG_As_long(obj0
));
23960 if (SWIG_arg_fail(1)) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= wxTimeSpan::Weeks(arg1
);
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_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23983 char *kwnames
[] = {
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= wxTimeSpan::Week();
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 wxTimeSpan
* resultptr
;
23997 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24006 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 long arg1
= (long) 0 ;
24009 long arg2
= (long) 0 ;
24010 long arg3
= (long) 0 ;
24011 long arg4
= (long) 0 ;
24012 wxTimeSpan
*result
;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 PyObject
* obj3
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24024 arg1
= (long)(SWIG_As_long(obj0
));
24025 if (SWIG_arg_fail(1)) SWIG_fail
;
24030 arg2
= (long)(SWIG_As_long(obj1
));
24031 if (SWIG_arg_fail(2)) SWIG_fail
;
24036 arg3
= (long)(SWIG_As_long(obj2
));
24037 if (SWIG_arg_fail(3)) SWIG_fail
;
24042 arg4
= (long)(SWIG_As_long(obj3
));
24043 if (SWIG_arg_fail(4)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24060 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 Py_INCREF(Py_None
); resultobj
= Py_None
;
24085 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24088 wxTimeSpan
*arg2
= 0 ;
24089 wxTimeSpan
*result
;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self",(char *) "diff", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24098 if (SWIG_arg_fail(1)) SWIG_fail
;
24100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24101 if (SWIG_arg_fail(2)) SWIG_fail
;
24102 if (arg2
== NULL
) {
24103 SWIG_null_ref("wxTimeSpan");
24105 if (SWIG_arg_fail(2)) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24111 result
= (wxTimeSpan
*) &_result_ref
;
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24124 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24127 wxTimeSpan
*arg2
= 0 ;
24128 wxTimeSpan
*result
;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self",(char *) "diff", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24137 if (SWIG_arg_fail(1)) SWIG_fail
;
24139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24140 if (SWIG_arg_fail(2)) SWIG_fail
;
24141 if (arg2
== NULL
) {
24142 SWIG_null_ref("wxTimeSpan");
24144 if (SWIG_arg_fail(2)) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24150 result
= (wxTimeSpan
*) &_result_ref
;
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24163 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24167 wxTimeSpan
*result
;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self",(char *) "n", NULL
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24176 if (SWIG_arg_fail(1)) SWIG_fail
;
24178 arg2
= (int)(SWIG_As_int(obj1
));
24179 if (SWIG_arg_fail(2)) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24185 result
= (wxTimeSpan
*) &_result_ref
;
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24198 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24201 wxTimeSpan
*result
;
24202 PyObject
* obj0
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24209 if (SWIG_arg_fail(1)) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24214 result
= (wxTimeSpan
*) &_result_ref
;
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24227 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24231 PyObject
* obj0
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24247 wxTimeSpan
* resultptr
;
24248 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24257 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
;
24259 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24260 wxTimeSpan
*arg2
= 0 ;
24261 wxTimeSpan
*result
;
24262 PyObject
* obj0
= 0 ;
24263 PyObject
* obj1
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self",(char *) "diff", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24270 if (SWIG_arg_fail(1)) SWIG_fail
;
24272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24273 if (SWIG_arg_fail(2)) SWIG_fail
;
24274 if (arg2
== NULL
) {
24275 SWIG_null_ref("wxTimeSpan");
24277 if (SWIG_arg_fail(2)) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24283 result
= (wxTimeSpan
*) &_result_ref
;
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24296 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24299 wxTimeSpan
*arg2
= 0 ;
24300 wxTimeSpan
*result
;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self",(char *) "diff", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24309 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24312 if (SWIG_arg_fail(2)) SWIG_fail
;
24313 if (arg2
== NULL
) {
24314 SWIG_null_ref("wxTimeSpan");
24316 if (SWIG_arg_fail(2)) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24322 result
= (wxTimeSpan
*) &_result_ref
;
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24335 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24339 wxTimeSpan
*result
;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self",(char *) "n", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24348 if (SWIG_arg_fail(1)) SWIG_fail
;
24350 arg2
= (int)(SWIG_As_int(obj1
));
24351 if (SWIG_arg_fail(2)) SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24357 result
= (wxTimeSpan
*) &_result_ref
;
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24370 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24373 wxTimeSpan
*result
;
24374 PyObject
* obj0
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24381 if (SWIG_arg_fail(1)) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24386 result
= (wxTimeSpan
*) &_result_ref
;
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24399 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24402 wxTimeSpan
*arg2
= 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "other", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail
;
24414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24415 if (SWIG_arg_fail(2)) SWIG_fail
;
24416 if (arg2
== NULL
) {
24417 SWIG_null_ref("wxTimeSpan");
24419 if (SWIG_arg_fail(2)) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 wxTimeSpan
* resultptr
;
24430 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24439 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24442 wxTimeSpan
*arg2
= 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self",(char *) "other", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24452 if (SWIG_arg_fail(1)) SWIG_fail
;
24454 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24455 if (SWIG_arg_fail(2)) SWIG_fail
;
24456 if (arg2
== NULL
) {
24457 SWIG_null_ref("wxTimeSpan");
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 wxTimeSpan
* resultptr
;
24470 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24479 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "n", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24492 if (SWIG_arg_fail(1)) SWIG_fail
;
24494 arg2
= (int)(SWIG_As_int(obj1
));
24495 if (SWIG_arg_fail(2)) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= wxTimeSpan___mul__(arg1
,arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 wxTimeSpan
* resultptr
;
24506 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24515 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "n", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24528 if (SWIG_arg_fail(1)) SWIG_fail
;
24530 arg2
= (int)(SWIG_As_int(obj1
));
24531 if (SWIG_arg_fail(2)) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 wxTimeSpan
* resultptr
;
24542 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24551 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24554 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self",(char *) "other", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24564 if (SWIG_arg_fail(1)) SWIG_fail
;
24565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24566 if (SWIG_arg_fail(2)) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24583 static PyObject
*_wrap_TimeSpan___le__(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___le__",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___le__(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___gt__(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___gt__",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___gt__(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___ge__(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___ge__",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___ge__(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___eq__(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___eq__",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___eq__(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___ne__(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___ne__",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___ne__(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_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24754 if (SWIG_arg_fail(1)) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24771 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24799 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24803 PyObject
* obj0
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24810 if (SWIG_arg_fail(1)) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24827 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24830 wxTimeSpan
*arg2
= 0 ;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self",(char *) "ts", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24840 if (SWIG_arg_fail(1)) SWIG_fail
;
24842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24843 if (SWIG_arg_fail(2)) SWIG_fail
;
24844 if (arg2
== NULL
) {
24845 SWIG_null_ref("wxTimeSpan");
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24865 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24868 wxTimeSpan
*arg2
= 0 ;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self",(char *) "ts", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail
;
24880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24881 if (SWIG_arg_fail(2)) SWIG_fail
;
24882 if (arg2
== NULL
) {
24883 SWIG_null_ref("wxTimeSpan");
24885 if (SWIG_arg_fail(2)) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24903 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24906 wxTimeSpan
*arg2
= 0 ;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "t", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail
;
24918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24919 if (SWIG_arg_fail(2)) SWIG_fail
;
24920 if (arg2
== NULL
) {
24921 SWIG_null_ref("wxTimeSpan");
24923 if (SWIG_arg_fail(2)) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24941 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_From_int((int)(result
));
24969 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_From_int((int)(result
));
24997 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25008 if (SWIG_arg_fail(1)) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_From_int((int)(result
));
25025 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25029 PyObject
* obj0
= 0 ;
25030 char *kwnames
[] = {
25031 (char *) "self", NULL
25034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25036 if (SWIG_arg_fail(1)) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25045 resultobj
= SWIG_From_int((int)(result
));
25053 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25064 if (SWIG_arg_fail(1)) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25073 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25074 hi
= PyLong_FromLong( (&result
)->GetHi() );
25075 lo
= PyLong_FromLong( (&result
)->GetLo() );
25076 shifter
= PyLong_FromLong(32);
25077 shifted
= PyNumber_Lshift(hi
, shifter
);
25078 resultobj
= PyNumber_Or(shifted
, lo
);
25081 Py_DECREF(shifter
);
25082 Py_DECREF(shifted
);
25090 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25101 if (SWIG_arg_fail(1)) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25111 hi
= PyLong_FromLong( (&result
)->GetHi() );
25112 lo
= PyLong_FromLong( (&result
)->GetLo() );
25113 shifter
= PyLong_FromLong(32);
25114 shifted
= PyNumber_Lshift(hi
, shifter
);
25115 resultobj
= PyNumber_Or(shifted
, lo
);
25118 Py_DECREF(shifter
);
25119 Py_DECREF(shifted
);
25127 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25130 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
25131 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25133 bool temp2
= false ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "format", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25142 if (SWIG_arg_fail(1)) SWIG_fail
;
25145 arg2
= wxString_in_helper(obj1
);
25146 if (arg2
== NULL
) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25178 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25181 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25183 return Py_BuildValue((char *)"");
25185 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 int arg1
= (int) 0 ;
25188 int arg2
= (int) 0 ;
25189 int arg3
= (int) 0 ;
25190 int arg4
= (int) 0 ;
25191 wxDateSpan
*result
;
25192 PyObject
* obj0
= 0 ;
25193 PyObject
* obj1
= 0 ;
25194 PyObject
* obj2
= 0 ;
25195 PyObject
* obj3
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25203 arg1
= (int)(SWIG_As_int(obj0
));
25204 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 arg2
= (int)(SWIG_As_int(obj1
));
25210 if (SWIG_arg_fail(2)) SWIG_fail
;
25215 arg3
= (int)(SWIG_As_int(obj2
));
25216 if (SWIG_arg_fail(3)) SWIG_fail
;
25221 arg4
= (int)(SWIG_As_int(obj3
));
25222 if (SWIG_arg_fail(4)) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25239 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25264 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25268 PyObject
* obj0
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "days", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25275 arg1
= (int)(SWIG_As_int(obj0
));
25276 if (SWIG_arg_fail(1)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= wxDateSpan::Days(arg1
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 wxDateSpan
* resultptr
;
25287 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25296 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25299 char *kwnames
[] = {
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= wxDateSpan::Day();
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 wxDateSpan
* resultptr
;
25313 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25322 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25326 PyObject
* obj0
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "weeks", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25333 arg1
= (int)(SWIG_As_int(obj0
));
25334 if (SWIG_arg_fail(1)) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= wxDateSpan::Weeks(arg1
);
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_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
;
25357 char *kwnames
[] = {
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= wxDateSpan::Week();
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25370 wxDateSpan
* resultptr
;
25371 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25380 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25384 PyObject
* obj0
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "mon", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25391 arg1
= (int)(SWIG_As_int(obj0
));
25392 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= wxDateSpan::Months(arg1
);
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_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25415 char *kwnames
[] = {
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= wxDateSpan::Month();
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25428 wxDateSpan
* resultptr
;
25429 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25438 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25442 PyObject
* obj0
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "years", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25449 arg1
= (int)(SWIG_As_int(obj0
));
25450 if (SWIG_arg_fail(1)) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 result
= wxDateSpan::Years(arg1
);
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_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25473 char *kwnames
[] = {
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= wxDateSpan::Year();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 wxDateSpan
* resultptr
;
25487 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25496 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25500 wxDateSpan
*result
;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "self",(char *) "n", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25509 if (SWIG_arg_fail(1)) SWIG_fail
;
25511 arg2
= (int)(SWIG_As_int(obj1
));
25512 if (SWIG_arg_fail(2)) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25518 result
= (wxDateSpan
*) &_result_ref
;
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25531 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
;
25533 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25535 wxDateSpan
*result
;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "n", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25544 if (SWIG_arg_fail(1)) SWIG_fail
;
25546 arg2
= (int)(SWIG_As_int(obj1
));
25547 if (SWIG_arg_fail(2)) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25553 result
= (wxDateSpan
*) &_result_ref
;
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25566 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25570 wxDateSpan
*result
;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self",(char *) "n", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail
;
25581 arg2
= (int)(SWIG_As_int(obj1
));
25582 if (SWIG_arg_fail(2)) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25588 result
= (wxDateSpan
*) &_result_ref
;
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25601 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25605 wxDateSpan
*result
;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self",(char *) "n", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25614 if (SWIG_arg_fail(1)) SWIG_fail
;
25616 arg2
= (int)(SWIG_As_int(obj1
));
25617 if (SWIG_arg_fail(2)) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25623 result
= (wxDateSpan
*) &_result_ref
;
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25636 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_From_int((int)(result
));
25664 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_From_int((int)(result
));
25692 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
;
25694 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25696 PyObject
* obj0
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "self", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25703 if (SWIG_arg_fail(1)) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_From_int((int)(result
));
25720 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25724 PyObject
* obj0
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_From_int((int)(result
));
25748 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
;
25750 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25759 if (SWIG_arg_fail(1)) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= SWIG_From_int((int)(result
));
25776 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25779 wxDateSpan
*arg2
= 0 ;
25780 wxDateSpan
*result
;
25781 PyObject
* obj0
= 0 ;
25782 PyObject
* obj1
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self",(char *) "other", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25789 if (SWIG_arg_fail(1)) SWIG_fail
;
25791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25792 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 if (arg2
== NULL
) {
25794 SWIG_null_ref("wxDateSpan");
25796 if (SWIG_arg_fail(2)) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25802 result
= (wxDateSpan
*) &_result_ref
;
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25815 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25818 wxDateSpan
*arg2
= 0 ;
25819 wxDateSpan
*result
;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self",(char *) "other", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25828 if (SWIG_arg_fail(1)) SWIG_fail
;
25830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25831 if (SWIG_arg_fail(2)) SWIG_fail
;
25832 if (arg2
== NULL
) {
25833 SWIG_null_ref("wxDateSpan");
25835 if (SWIG_arg_fail(2)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25841 result
= (wxDateSpan
*) &_result_ref
;
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25854 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25857 wxDateSpan
*result
;
25858 PyObject
* obj0
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25870 result
= (wxDateSpan
*) &_result_ref
;
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25883 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25887 wxDateSpan
*result
;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "factor", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(1)) SWIG_fail
;
25898 arg2
= (int)(SWIG_As_int(obj1
));
25899 if (SWIG_arg_fail(2)) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25905 result
= (wxDateSpan
*) &_result_ref
;
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25918 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25921 wxDateSpan
*arg2
= 0 ;
25922 wxDateSpan
*result
;
25923 PyObject
* obj0
= 0 ;
25924 PyObject
* obj1
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "other", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25934 if (SWIG_arg_fail(2)) SWIG_fail
;
25935 if (arg2
== NULL
) {
25936 SWIG_null_ref("wxDateSpan");
25938 if (SWIG_arg_fail(2)) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25944 result
= (wxDateSpan
*) &_result_ref
;
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25957 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
;
25959 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25960 wxDateSpan
*arg2
= 0 ;
25961 wxDateSpan
*result
;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self",(char *) "other", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25970 if (SWIG_arg_fail(1)) SWIG_fail
;
25972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25973 if (SWIG_arg_fail(2)) SWIG_fail
;
25974 if (arg2
== NULL
) {
25975 SWIG_null_ref("wxDateSpan");
25977 if (SWIG_arg_fail(2)) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25983 result
= (wxDateSpan
*) &_result_ref
;
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25996 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25999 wxDateSpan
*result
;
26000 PyObject
* obj0
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26007 if (SWIG_arg_fail(1)) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26012 result
= (wxDateSpan
*) &_result_ref
;
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26025 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26029 wxDateSpan
*result
;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "factor", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 arg2
= (int)(SWIG_As_int(obj1
));
26041 if (SWIG_arg_fail(2)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26047 result
= (wxDateSpan
*) &_result_ref
;
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26060 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26063 wxDateSpan
*arg2
= 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "other", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26076 if (SWIG_arg_fail(2)) SWIG_fail
;
26077 if (arg2
== NULL
) {
26078 SWIG_null_ref("wxDateSpan");
26080 if (SWIG_arg_fail(2)) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26090 wxDateSpan
* resultptr
;
26091 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26100 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26103 wxDateSpan
*arg2
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "other", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26113 if (SWIG_arg_fail(1)) SWIG_fail
;
26115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26116 if (SWIG_arg_fail(2)) SWIG_fail
;
26117 if (arg2
== NULL
) {
26118 SWIG_null_ref("wxDateSpan");
26120 if (SWIG_arg_fail(2)) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26130 wxDateSpan
* resultptr
;
26131 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26140 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "n", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26153 if (SWIG_arg_fail(1)) SWIG_fail
;
26155 arg2
= (int)(SWIG_As_int(obj1
));
26156 if (SWIG_arg_fail(2)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= wxDateSpan___mul__(arg1
,arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 wxDateSpan
* resultptr
;
26167 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26176 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "n", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail
;
26191 arg2
= (int)(SWIG_As_int(obj1
));
26192 if (SWIG_arg_fail(2)) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= wxDateSpan___rmul__(arg1
,arg2
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26202 wxDateSpan
* resultptr
;
26203 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26212 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26215 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "other", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail
;
26226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(2)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26244 static PyObject
*_wrap_DateSpan___ne__(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___ne__",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___ne__(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
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26279 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26281 return Py_BuildValue((char *)"");
26283 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26286 char *kwnames
[] = {
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (long)wxGetLocalTime();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_From_long((long)(result
));
26307 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26310 char *kwnames
[] = {
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (long)wxGetUTCTime();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_From_long((long)(result
));
26331 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
;
26334 char *kwnames
[] = {
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= (long)wxGetCurrentTime();
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_From_long((long)(result
));
26355 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26358 char *kwnames
[] = {
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= wxGetLocalTimeMillis();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26371 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26372 hi
= PyLong_FromLong( (&result
)->GetHi() );
26373 lo
= PyLong_FromLong( (&result
)->GetLo() );
26374 shifter
= PyLong_FromLong(32);
26375 shifted
= PyNumber_Lshift(hi
, shifter
);
26376 resultobj
= PyNumber_Or(shifted
, lo
);
26379 Py_DECREF(shifter
);
26380 Py_DECREF(shifted
);
26388 static int _wrap_DefaultDateTime_set(PyObject
*) {
26389 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26394 static PyObject
*_wrap_DefaultDateTime_get(void) {
26397 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26402 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxDataFormatId arg1
;
26405 wxDataFormat
*result
;
26406 PyObject
* obj0
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "type", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26413 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26414 if (SWIG_arg_fail(1)) SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26430 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxString
*arg1
= 0 ;
26433 wxDataFormat
*result
;
26434 bool temp1
= false ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "format", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26442 arg1
= wxString_in_helper(obj0
);
26443 if (arg1
== NULL
) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26468 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 Py_INCREF(Py_None
); resultobj
= Py_None
;
26493 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26494 PyObject
*resultobj
;
26495 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26496 wxDataFormatId arg2
;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26501 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26506 if (SWIG_arg_fail(2)) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26524 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26525 PyObject
*resultobj
;
26526 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26527 wxDataFormatId arg2
;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26532 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26534 if (SWIG_arg_fail(1)) SWIG_fail
;
26536 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26537 if (SWIG_arg_fail(2)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26555 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26556 PyObject
*resultobj
;
26557 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26558 wxDataFormat
*arg2
= 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26563 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26565 if (SWIG_arg_fail(1)) SWIG_fail
;
26567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26568 if (SWIG_arg_fail(2)) SWIG_fail
;
26569 if (arg2
== NULL
) {
26570 SWIG_null_ref("wxDataFormat");
26572 if (SWIG_arg_fail(2)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26590 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26595 argc
= PyObject_Length(args
);
26596 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26597 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26603 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26613 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26621 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26629 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26637 _v
= SWIG_Check_int(argv
[1]);
26639 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26644 Py_INCREF(Py_NotImplemented
);
26645 return Py_NotImplemented
;
26649 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26650 PyObject
*resultobj
;
26651 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26652 wxDataFormat
*arg2
= 0 ;
26654 PyObject
* obj0
= 0 ;
26655 PyObject
* obj1
= 0 ;
26657 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26659 if (SWIG_arg_fail(1)) SWIG_fail
;
26661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26662 if (SWIG_arg_fail(2)) SWIG_fail
;
26663 if (arg2
== NULL
) {
26664 SWIG_null_ref("wxDataFormat");
26666 if (SWIG_arg_fail(2)) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26684 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26689 argc
= PyObject_Length(args
);
26690 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26691 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26707 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26715 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26723 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26731 _v
= SWIG_Check_int(argv
[1]);
26733 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26738 Py_INCREF(Py_NotImplemented
);
26739 return Py_NotImplemented
;
26743 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26746 wxDataFormatId arg2
;
26747 PyObject
* obj0
= 0 ;
26748 PyObject
* obj1
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self",(char *) "format", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26755 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26758 if (SWIG_arg_fail(2)) SWIG_fail
;
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26762 (arg1
)->SetType((wxDataFormatId
)arg2
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 Py_INCREF(Py_None
); resultobj
= Py_None
;
26774 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
;
26776 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26777 wxDataFormatId result
;
26778 PyObject
* obj0
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26785 if (SWIG_arg_fail(1)) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= SWIG_From_int((result
));
26800 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 char *kwnames
[] = {
26806 (char *) "self", NULL
26809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26811 if (SWIG_arg_fail(1)) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= ((wxDataFormat
const *)arg1
)->GetId();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26832 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26835 wxString
*arg2
= 0 ;
26836 bool temp2
= false ;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self",(char *) "format", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26845 if (SWIG_arg_fail(1)) SWIG_fail
;
26847 arg2
= wxString_in_helper(obj1
);
26848 if (arg2
== NULL
) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->SetId((wxString
const &)*arg2
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 Py_INCREF(Py_None
); resultobj
= Py_None
;
26873 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26876 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26878 return Py_BuildValue((char *)"");
26880 static int _wrap_FormatInvalid_set(PyObject
*) {
26881 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26886 static PyObject
*_wrap_FormatInvalid_get(void) {
26889 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26894 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 char *kwnames
[] = {
26899 (char *) "self", NULL
26902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26904 if (SWIG_arg_fail(1)) SWIG_fail
;
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 Py_INCREF(Py_None
); resultobj
= Py_None
;
26919 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26922 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26923 SwigValueWrapper
<wxDataFormat
> result
;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "dir", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26932 if (SWIG_arg_fail(1)) SWIG_fail
;
26935 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26936 if (SWIG_arg_fail(2)) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26947 wxDataFormat
* resultptr
;
26948 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26957 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26960 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26962 PyObject
* obj0
= 0 ;
26963 PyObject
* obj1
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self",(char *) "dir", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail
;
26973 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26974 if (SWIG_arg_fail(2)) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26993 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
;
26995 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26996 wxDataFormat
*arg2
= 0 ;
26997 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 PyObject
* obj2
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self",(char *) "format",(char *) "dir", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail
;
27010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27011 if (SWIG_arg_fail(2)) SWIG_fail
;
27012 if (arg2
== NULL
) {
27013 SWIG_null_ref("wxDataFormat");
27015 if (SWIG_arg_fail(2)) SWIG_fail
;
27019 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27020 if (SWIG_arg_fail(3)) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27039 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27042 wxDataFormat
*arg2
= 0 ;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self",(char *) "format", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27052 if (SWIG_arg_fail(1)) SWIG_fail
;
27054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27055 if (SWIG_arg_fail(2)) SWIG_fail
;
27056 if (arg2
== NULL
) {
27057 SWIG_null_ref("wxDataFormat");
27059 if (SWIG_arg_fail(2)) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27077 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
;
27079 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27080 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self",(char *) "dir", NULL
27088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27090 if (SWIG_arg_fail(1)) SWIG_fail
;
27093 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27094 if (SWIG_arg_fail(2)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= result
;
27111 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27114 wxDataFormat
*arg2
= 0 ;
27116 PyObject
* obj0
= 0 ;
27117 PyObject
* obj1
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self",(char *) "format", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27124 if (SWIG_arg_fail(1)) SWIG_fail
;
27126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27127 if (SWIG_arg_fail(2)) SWIG_fail
;
27128 if (arg2
== NULL
) {
27129 SWIG_null_ref("wxDataFormat");
27131 if (SWIG_arg_fail(2)) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= result
;
27147 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27150 wxDataFormat
*arg2
= 0 ;
27151 PyObject
*arg3
= (PyObject
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 PyObject
* obj2
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self",(char *) "format",(char *) "data", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail
;
27164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27165 if (SWIG_arg_fail(2)) SWIG_fail
;
27166 if (arg2
== NULL
) {
27167 SWIG_null_ref("wxDataFormat");
27169 if (SWIG_arg_fail(2)) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27188 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27191 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27193 return Py_BuildValue((char *)"");
27195 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27198 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27199 wxDataObjectSimple
*result
;
27200 PyObject
* obj0
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "format", NULL
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27210 if (arg1
== NULL
) {
27211 SWIG_null_ref("wxDataFormat");
27213 if (SWIG_arg_fail(1)) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27230 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27233 wxDataFormat
*result
;
27234 PyObject
* obj0
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27246 result
= (wxDataFormat
*) &_result_ref
;
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27259 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27262 wxDataFormat
*arg2
= 0 ;
27263 PyObject
* obj0
= 0 ;
27264 PyObject
* obj1
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "format", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail
;
27273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27274 if (SWIG_arg_fail(2)) SWIG_fail
;
27275 if (arg2
== NULL
) {
27276 SWIG_null_ref("wxDataFormat");
27278 if (SWIG_arg_fail(2)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27298 PyObject
* obj0
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27305 if (SWIG_arg_fail(1)) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27322 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27333 if (SWIG_arg_fail(1)) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= result
;
27348 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27351 PyObject
*arg2
= (PyObject
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self",(char *) "data", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27361 if (SWIG_arg_fail(1)) SWIG_fail
;
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27379 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27382 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27384 return Py_BuildValue((char *)"");
27386 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27389 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27390 wxPyDataObjectSimple
*result
;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "format", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27400 if (SWIG_arg_fail(1)) SWIG_fail
;
27401 if (arg1
== NULL
) {
27402 SWIG_null_ref("wxDataFormat");
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27421 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
;
27423 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27424 PyObject
*arg2
= (PyObject
*) 0 ;
27425 PyObject
*arg3
= (PyObject
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 PyObject
* obj1
= 0 ;
27428 PyObject
* obj2
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "self",(char *) "_class", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27455 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27457 return Py_BuildValue((char *)"");
27459 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxDataObjectComposite
*result
;
27462 char *kwnames
[] = {
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27481 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27484 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27485 bool arg3
= (bool) false ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 PyObject
* obj2
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27495 if (SWIG_arg_fail(1)) SWIG_fail
;
27496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27497 if (SWIG_arg_fail(2)) SWIG_fail
;
27500 arg3
= (bool)(SWIG_As_bool(obj2
));
27501 if (SWIG_arg_fail(3)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->Add(arg2
,arg3
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27521 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27523 return Py_BuildValue((char *)"");
27525 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27528 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27529 wxTextDataObject
*result
;
27530 bool temp1
= false ;
27531 PyObject
* obj0
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "text", NULL
27536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27539 arg1
= wxString_in_helper(obj0
);
27540 if (arg1
== NULL
) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27566 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
;
27568 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27570 PyObject
* obj0
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27577 if (SWIG_arg_fail(1)) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= (size_t)(arg1
)->GetTextLength();
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27594 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27595 PyObject
*resultobj
;
27596 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail
;
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 result
= (arg1
)->GetText();
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27626 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27629 wxString
*arg2
= 0 ;
27630 bool temp2
= false ;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "self",(char *) "text", NULL
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27639 if (SWIG_arg_fail(1)) SWIG_fail
;
27641 arg2
= wxString_in_helper(obj1
);
27642 if (arg2
== NULL
) SWIG_fail
;
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 (arg1
)->SetText((wxString
const &)*arg2
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 Py_INCREF(Py_None
); resultobj
= Py_None
;
27667 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27670 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27672 return Py_BuildValue((char *)"");
27674 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27677 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27678 wxPyTextDataObject
*result
;
27679 bool temp1
= false ;
27680 PyObject
* obj0
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "text", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27688 arg1
= wxString_in_helper(obj0
);
27689 if (arg1
== NULL
) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27715 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
;
27717 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27718 PyObject
*arg2
= (PyObject
*) 0 ;
27719 PyObject
*arg3
= (PyObject
*) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 PyObject
* obj2
= 0 ;
27723 char *kwnames
[] = {
27724 (char *) "self",(char *) "self",(char *) "_class", NULL
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27729 if (SWIG_arg_fail(1)) SWIG_fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 Py_INCREF(Py_None
); resultobj
= Py_None
;
27746 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27749 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27751 return Py_BuildValue((char *)"");
27753 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27756 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27757 wxBitmapDataObject
*result
;
27758 PyObject
* obj0
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "bitmap", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27767 if (SWIG_arg_fail(1)) SWIG_fail
;
27768 if (arg1
== NULL
) {
27769 SWIG_null_ref("wxBitmap");
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27788 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27808 wxBitmap
* resultptr
;
27809 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27818 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27821 wxBitmap
*arg2
= 0 ;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self",(char *) "bitmap", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail
;
27832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27833 if (SWIG_arg_fail(2)) SWIG_fail
;
27834 if (arg2
== NULL
) {
27835 SWIG_null_ref("wxBitmap");
27837 if (SWIG_arg_fail(2)) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 Py_INCREF(Py_None
); resultobj
= Py_None
;
27853 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27856 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27858 return Py_BuildValue((char *)"");
27860 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27862 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27863 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27864 wxPyBitmapDataObject
*result
;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "bitmap", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27874 if (SWIG_arg_fail(1)) SWIG_fail
;
27875 if (arg1
== NULL
) {
27876 SWIG_null_ref("wxBitmap");
27878 if (SWIG_arg_fail(1)) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27895 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27898 PyObject
*arg2
= (PyObject
*) 0 ;
27899 PyObject
*arg3
= (PyObject
*) 0 ;
27900 PyObject
* obj0
= 0 ;
27901 PyObject
* obj1
= 0 ;
27902 PyObject
* obj2
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self",(char *) "self",(char *) "_class", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27909 if (SWIG_arg_fail(1)) SWIG_fail
;
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 Py_INCREF(Py_None
); resultobj
= Py_None
;
27926 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27929 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27931 return Py_BuildValue((char *)"");
27933 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxFileDataObject
*result
;
27936 char *kwnames
[] = {
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (wxFileDataObject
*)new wxFileDataObject();
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27955 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27958 wxArrayString
*result
;
27959 PyObject
* obj0
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self", NULL
27964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27966 if (SWIG_arg_fail(1)) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27970 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27971 result
= (wxArrayString
*) &_result_ref
;
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= wxArrayString2PyList_helper(*result
);
27986 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
;
27988 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27989 wxString
*arg2
= 0 ;
27990 bool temp2
= false ;
27991 PyObject
* obj0
= 0 ;
27992 PyObject
* obj1
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "self",(char *) "filename", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27999 if (SWIG_arg_fail(1)) SWIG_fail
;
28001 arg2
= wxString_in_helper(obj1
);
28002 if (arg2
== NULL
) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 (arg1
)->AddFile((wxString
const &)*arg2
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28030 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28032 return Py_BuildValue((char *)"");
28034 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
28037 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
28038 wxCustomDataObject
*result
;
28039 PyObject
* obj0
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "format", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
28047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28048 if (SWIG_arg_fail(1)) SWIG_fail
;
28049 if (arg1
== NULL
) {
28050 SWIG_null_ref("wxDataFormat");
28052 if (SWIG_arg_fail(1)) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28069 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28072 PyObject
*arg2
= (PyObject
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "self",(char *) "data", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28082 if (SWIG_arg_fail(1)) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28100 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28111 if (SWIG_arg_fail(1)) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (size_t)(arg1
)->GetSize();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28128 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28132 PyObject
* obj0
= 0 ;
28133 char *kwnames
[] = {
28134 (char *) "self", NULL
28137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28139 if (SWIG_arg_fail(1)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= result
;
28154 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28157 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28159 return Py_BuildValue((char *)"");
28161 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
;
28163 wxURLDataObject
*result
;
28164 char *kwnames
[] = {
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= (wxURLDataObject
*)new wxURLDataObject();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28183 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28194 if (SWIG_arg_fail(1)) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (arg1
)->GetURL();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28215 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28218 wxString
*arg2
= 0 ;
28219 bool temp2
= false ;
28220 PyObject
* obj0
= 0 ;
28221 PyObject
* obj1
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "url", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28228 if (SWIG_arg_fail(1)) SWIG_fail
;
28230 arg2
= wxString_in_helper(obj1
);
28231 if (arg2
== NULL
) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->SetURL((wxString
const &)*arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28259 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28261 return Py_BuildValue((char *)"");
28263 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxMetafileDataObject
*result
;
28266 char *kwnames
[] = {
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28285 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28288 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28290 return Py_BuildValue((char *)"");
28292 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxDragResult arg1
;
28296 PyObject
* obj0
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "res", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28303 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28304 if (SWIG_arg_fail(1)) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28322 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxWindow
*arg1
= (wxWindow
*) 0 ;
28325 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28326 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28327 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28328 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28329 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28330 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28331 wxPyDropSource
*result
;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 PyObject
* obj2
= 0 ;
28335 PyObject
* obj3
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail
;
28345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28346 if (SWIG_arg_fail(2)) SWIG_fail
;
28347 if (arg2
== NULL
) {
28348 SWIG_null_ref("wxIcon");
28350 if (SWIG_arg_fail(2)) SWIG_fail
;
28355 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28356 if (SWIG_arg_fail(3)) SWIG_fail
;
28357 if (arg3
== NULL
) {
28358 SWIG_null_ref("wxIcon");
28360 if (SWIG_arg_fail(3)) SWIG_fail
;
28365 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28366 if (SWIG_arg_fail(4)) SWIG_fail
;
28367 if (arg4
== NULL
) {
28368 SWIG_null_ref("wxIcon");
28370 if (SWIG_arg_fail(4)) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28387 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
;
28389 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28390 PyObject
*arg2
= (PyObject
*) 0 ;
28391 PyObject
*arg3
= (PyObject
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 PyObject
* obj2
= 0 ;
28396 PyObject
* obj3
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28403 if (SWIG_arg_fail(1)) SWIG_fail
;
28407 arg4
= (int)(SWIG_As_int(obj3
));
28408 if (SWIG_arg_fail(4)) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 Py_INCREF(Py_None
); resultobj
= Py_None
;
28424 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 char *kwnames
[] = {
28429 (char *) "self", NULL
28432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28434 if (SWIG_arg_fail(1)) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 Py_INCREF(Py_None
); resultobj
= Py_None
;
28449 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28452 wxDataObject
*arg2
= 0 ;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "self",(char *) "data", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28461 if (SWIG_arg_fail(1)) SWIG_fail
;
28463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28464 if (SWIG_arg_fail(2)) SWIG_fail
;
28465 if (arg2
== NULL
) {
28466 SWIG_null_ref("wxDataObject");
28468 if (SWIG_arg_fail(2)) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 (arg1
)->SetData(*arg2
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 Py_INCREF(Py_None
); resultobj
= Py_None
;
28484 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28487 wxDataObject
*result
;
28488 PyObject
* obj0
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28495 if (SWIG_arg_fail(1)) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28510 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28513 wxDragResult arg2
;
28514 wxCursor
*arg3
= 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 PyObject
* obj2
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self",(char *) "res",(char *) "cursor", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28524 if (SWIG_arg_fail(1)) SWIG_fail
;
28526 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28527 if (SWIG_arg_fail(2)) SWIG_fail
;
28530 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(3)) SWIG_fail
;
28532 if (arg3
== NULL
) {
28533 SWIG_null_ref("wxCursor");
28535 if (SWIG_arg_fail(3)) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 Py_INCREF(Py_None
); resultobj
= Py_None
;
28551 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28554 int arg2
= (int) wxDrag_CopyOnly
;
28555 wxDragResult result
;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 char *kwnames
[] = {
28559 (char *) "self",(char *) "flags", NULL
28562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28564 if (SWIG_arg_fail(1)) SWIG_fail
;
28567 arg2
= (int)(SWIG_As_int(obj1
));
28568 if (SWIG_arg_fail(2)) SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_From_int((result
));
28585 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28588 wxDragResult arg2
;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self",(char *) "effect", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28598 if (SWIG_arg_fail(1)) SWIG_fail
;
28600 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28601 if (SWIG_arg_fail(2)) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28619 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28622 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28624 return Py_BuildValue((char *)"");
28626 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28629 wxPyDropTarget
*result
;
28630 PyObject
* obj0
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "dataObject", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28638 if (SWIG_arg_fail(1)) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28654 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28657 PyObject
*arg2
= (PyObject
*) 0 ;
28658 PyObject
*arg3
= (PyObject
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 PyObject
* obj2
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "self",(char *) "_class", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 Py_INCREF(Py_None
); resultobj
= Py_None
;
28685 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28688 PyObject
* obj0
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28695 if (SWIG_arg_fail(1)) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 Py_INCREF(Py_None
); resultobj
= Py_None
;
28710 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28713 wxDataObject
*result
;
28714 PyObject
* obj0
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "self", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28721 if (SWIG_arg_fail(1)) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28736 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28739 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "dataObject", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->SetDataObject(arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28770 wxDragResult arg4
;
28771 wxDragResult result
;
28772 PyObject
* obj0
= 0 ;
28773 PyObject
* obj1
= 0 ;
28774 PyObject
* obj2
= 0 ;
28775 PyObject
* obj3
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28782 if (SWIG_arg_fail(1)) SWIG_fail
;
28784 arg2
= (int)(SWIG_As_int(obj1
));
28785 if (SWIG_arg_fail(2)) SWIG_fail
;
28788 arg3
= (int)(SWIG_As_int(obj2
));
28789 if (SWIG_arg_fail(3)) SWIG_fail
;
28792 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28793 if (SWIG_arg_fail(4)) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_From_int((result
));
28809 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
;
28811 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28814 wxDragResult arg4
;
28815 wxDragResult result
;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 PyObject
* obj2
= 0 ;
28819 PyObject
* obj3
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28826 if (SWIG_arg_fail(1)) SWIG_fail
;
28828 arg2
= (int)(SWIG_As_int(obj1
));
28829 if (SWIG_arg_fail(2)) SWIG_fail
;
28832 arg3
= (int)(SWIG_As_int(obj2
));
28833 if (SWIG_arg_fail(3)) SWIG_fail
;
28836 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28837 if (SWIG_arg_fail(4)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= SWIG_From_int((result
));
28853 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28863 if (SWIG_arg_fail(1)) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28866 (arg1
)->base_OnLeave();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 Py_INCREF(Py_None
); resultobj
= Py_None
;
28878 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28879 PyObject
*resultobj
;
28880 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 PyObject
* obj2
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self",(char *) "x",(char *) "y", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28893 if (SWIG_arg_fail(1)) SWIG_fail
;
28895 arg2
= (int)(SWIG_As_int(obj1
));
28896 if (SWIG_arg_fail(2)) SWIG_fail
;
28899 arg3
= (int)(SWIG_As_int(obj2
));
28900 if (SWIG_arg_fail(3)) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28918 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28920 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28922 PyObject
* obj0
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28929 if (SWIG_arg_fail(1)) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 result
= (bool)(arg1
)->GetData();
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28946 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
28948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28949 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
28951 return Py_BuildValue((char *)"");
28953 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxPyTextDropTarget
*result
;
28956 char *kwnames
[] = {
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
28975 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
;
28977 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28978 PyObject
*arg2
= (PyObject
*) 0 ;
28979 PyObject
*arg3
= (PyObject
*) 0 ;
28980 PyObject
* obj0
= 0 ;
28981 PyObject
* obj1
= 0 ;
28982 PyObject
* obj2
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "self",(char *) "self",(char *) "_class", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28989 if (SWIG_arg_fail(1)) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 Py_INCREF(Py_None
); resultobj
= Py_None
;
29006 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29011 wxDragResult arg4
;
29012 wxDragResult result
;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 PyObject
* obj2
= 0 ;
29016 PyObject
* obj3
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29023 if (SWIG_arg_fail(1)) SWIG_fail
;
29025 arg2
= (int)(SWIG_As_int(obj1
));
29026 if (SWIG_arg_fail(2)) SWIG_fail
;
29029 arg3
= (int)(SWIG_As_int(obj2
));
29030 if (SWIG_arg_fail(3)) SWIG_fail
;
29033 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29034 if (SWIG_arg_fail(4)) SWIG_fail
;
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= SWIG_From_int((result
));
29050 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
;
29052 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29055 wxDragResult arg4
;
29056 wxDragResult result
;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 PyObject
* obj2
= 0 ;
29060 PyObject
* obj3
= 0 ;
29061 char *kwnames
[] = {
29062 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29067 if (SWIG_arg_fail(1)) SWIG_fail
;
29069 arg2
= (int)(SWIG_As_int(obj1
));
29070 if (SWIG_arg_fail(2)) SWIG_fail
;
29073 arg3
= (int)(SWIG_As_int(obj2
));
29074 if (SWIG_arg_fail(3)) SWIG_fail
;
29077 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29078 if (SWIG_arg_fail(4)) SWIG_fail
;
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_From_int((result
));
29094 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
;
29096 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29097 PyObject
* obj0
= 0 ;
29098 char *kwnames
[] = {
29099 (char *) "self", NULL
29102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29104 if (SWIG_arg_fail(1)) SWIG_fail
;
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29107 (arg1
)->base_OnLeave();
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 Py_INCREF(Py_None
); resultobj
= Py_None
;
29119 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
;
29121 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 PyObject
* obj2
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self",(char *) "x",(char *) "y", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail
;
29136 arg2
= (int)(SWIG_As_int(obj1
));
29137 if (SWIG_arg_fail(2)) SWIG_fail
;
29140 arg3
= (int)(SWIG_As_int(obj2
));
29141 if (SWIG_arg_fail(3)) SWIG_fail
;
29144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29159 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
;
29161 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29164 wxDragResult arg4
;
29165 wxDragResult result
;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 PyObject
* obj2
= 0 ;
29169 PyObject
* obj3
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29176 if (SWIG_arg_fail(1)) SWIG_fail
;
29178 arg2
= (int)(SWIG_As_int(obj1
));
29179 if (SWIG_arg_fail(2)) SWIG_fail
;
29182 arg3
= (int)(SWIG_As_int(obj2
));
29183 if (SWIG_arg_fail(3)) SWIG_fail
;
29186 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29187 if (SWIG_arg_fail(4)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_From_int((result
));
29203 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29206 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29208 return Py_BuildValue((char *)"");
29210 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxPyFileDropTarget
*result
;
29213 char *kwnames
[] = {
29217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29232 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29235 PyObject
*arg2
= (PyObject
*) 0 ;
29236 PyObject
*arg3
= (PyObject
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 char *kwnames
[] = {
29241 (char *) "self",(char *) "self",(char *) "_class", NULL
29244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29246 if (SWIG_arg_fail(1)) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 Py_INCREF(Py_None
); resultobj
= Py_None
;
29263 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
;
29265 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29268 wxDragResult arg4
;
29269 wxDragResult result
;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 PyObject
* obj2
= 0 ;
29273 PyObject
* obj3
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29280 if (SWIG_arg_fail(1)) SWIG_fail
;
29282 arg2
= (int)(SWIG_As_int(obj1
));
29283 if (SWIG_arg_fail(2)) SWIG_fail
;
29286 arg3
= (int)(SWIG_As_int(obj2
));
29287 if (SWIG_arg_fail(3)) SWIG_fail
;
29290 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29291 if (SWIG_arg_fail(4)) SWIG_fail
;
29294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29295 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_From_int((result
));
29307 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
;
29309 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29312 wxDragResult arg4
;
29313 wxDragResult result
;
29314 PyObject
* obj0
= 0 ;
29315 PyObject
* obj1
= 0 ;
29316 PyObject
* obj2
= 0 ;
29317 PyObject
* obj3
= 0 ;
29318 char *kwnames
[] = {
29319 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29324 if (SWIG_arg_fail(1)) SWIG_fail
;
29326 arg2
= (int)(SWIG_As_int(obj1
));
29327 if (SWIG_arg_fail(2)) SWIG_fail
;
29330 arg3
= (int)(SWIG_As_int(obj2
));
29331 if (SWIG_arg_fail(3)) SWIG_fail
;
29334 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29335 if (SWIG_arg_fail(4)) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_From_int((result
));
29351 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->base_OnLeave();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29382 PyObject
* obj0
= 0 ;
29383 PyObject
* obj1
= 0 ;
29384 PyObject
* obj2
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self",(char *) "x",(char *) "y", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29391 if (SWIG_arg_fail(1)) SWIG_fail
;
29393 arg2
= (int)(SWIG_As_int(obj1
));
29394 if (SWIG_arg_fail(2)) SWIG_fail
;
29397 arg3
= (int)(SWIG_As_int(obj2
));
29398 if (SWIG_arg_fail(3)) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29416 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
;
29418 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29421 wxDragResult arg4
;
29422 wxDragResult result
;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 PyObject
* obj2
= 0 ;
29426 PyObject
* obj3
= 0 ;
29427 char *kwnames
[] = {
29428 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29433 if (SWIG_arg_fail(1)) SWIG_fail
;
29435 arg2
= (int)(SWIG_As_int(obj1
));
29436 if (SWIG_arg_fail(2)) SWIG_fail
;
29439 arg3
= (int)(SWIG_As_int(obj2
));
29440 if (SWIG_arg_fail(3)) SWIG_fail
;
29443 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29444 if (SWIG_arg_fail(4)) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= SWIG_From_int((result
));
29460 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29463 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29465 return Py_BuildValue((char *)"");
29467 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
;
29469 wxClipboard
*result
;
29470 char *kwnames
[] = {
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (wxClipboard
*)new wxClipboard();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29489 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
;
29491 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29492 PyObject
* obj0
= 0 ;
29493 char *kwnames
[] = {
29494 (char *) "self", NULL
29497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29499 if (SWIG_arg_fail(1)) SWIG_fail
;
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 Py_INCREF(Py_None
); resultobj
= Py_None
;
29514 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
;
29516 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29518 PyObject
* obj0
= 0 ;
29519 char *kwnames
[] = {
29520 (char *) "self", NULL
29523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29525 if (SWIG_arg_fail(1)) SWIG_fail
;
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (bool)(arg1
)->Open();
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29542 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29545 PyObject
* obj0
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self", NULL
29550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29552 if (SWIG_arg_fail(1)) SWIG_fail
;
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29560 Py_INCREF(Py_None
); resultobj
= Py_None
;
29567 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
;
29569 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 char *kwnames
[] = {
29573 (char *) "self", NULL
29576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29578 if (SWIG_arg_fail(1)) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29583 wxPyEndAllowThreads(__tstate
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29595 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
;
29597 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29598 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29600 PyObject
* obj0
= 0 ;
29601 PyObject
* obj1
= 0 ;
29602 char *kwnames
[] = {
29603 (char *) "self",(char *) "data", NULL
29606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29608 if (SWIG_arg_fail(1)) SWIG_fail
;
29609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29610 if (SWIG_arg_fail(2)) SWIG_fail
;
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 result
= (bool)(arg1
)->AddData(arg2
);
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29627 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
;
29629 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29630 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "data", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29640 if (SWIG_arg_fail(1)) SWIG_fail
;
29641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29642 if (SWIG_arg_fail(2)) SWIG_fail
;
29644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29645 result
= (bool)(arg1
)->SetData(arg2
);
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29659 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
;
29661 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29662 wxDataFormat
*arg2
= 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char *kwnames
[] = {
29667 (char *) "self",(char *) "format", NULL
29670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29672 if (SWIG_arg_fail(1)) SWIG_fail
;
29674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29675 if (SWIG_arg_fail(2)) SWIG_fail
;
29676 if (arg2
== NULL
) {
29677 SWIG_null_ref("wxDataFormat");
29679 if (SWIG_arg_fail(2)) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29700 wxDataObject
*arg2
= 0 ;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 char *kwnames
[] = {
29705 (char *) "self",(char *) "data", NULL
29708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29710 if (SWIG_arg_fail(1)) SWIG_fail
;
29712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29713 if (SWIG_arg_fail(2)) SWIG_fail
;
29714 if (arg2
== NULL
) {
29715 SWIG_null_ref("wxDataObject");
29717 if (SWIG_arg_fail(2)) SWIG_fail
;
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= (bool)(arg1
)->GetData(*arg2
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29735 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29736 PyObject
*resultobj
;
29737 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29738 PyObject
* obj0
= 0 ;
29739 char *kwnames
[] = {
29740 (char *) "self", NULL
29743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29745 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 Py_INCREF(Py_None
); resultobj
= Py_None
;
29760 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
;
29762 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29764 PyObject
* obj0
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "self", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29771 if (SWIG_arg_fail(1)) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (bool)(arg1
)->Flush();
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29788 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29791 bool arg2
= (bool) true ;
29792 PyObject
* obj0
= 0 ;
29793 PyObject
* obj1
= 0 ;
29794 char *kwnames
[] = {
29795 (char *) "self",(char *) "primary", NULL
29798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29800 if (SWIG_arg_fail(1)) SWIG_fail
;
29803 arg2
= (bool)(SWIG_As_bool(obj1
));
29804 if (SWIG_arg_fail(2)) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 (arg1
)->UsePrimarySelection(arg2
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 Py_INCREF(Py_None
); resultobj
= Py_None
;
29821 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29822 PyObject
*resultobj
;
29823 wxClipboard
*result
;
29824 char *kwnames
[] = {
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= (wxClipboard
*)wxClipboard::Get();
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29843 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29846 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29848 return Py_BuildValue((char *)"");
29850 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29853 wxClipboardLocker
*result
;
29854 PyObject
* obj0
= 0 ;
29855 char *kwnames
[] = {
29856 (char *) "clipboard", NULL
29859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29862 if (SWIG_arg_fail(1)) SWIG_fail
;
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29878 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
;
29880 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29881 PyObject
* obj0
= 0 ;
29882 char *kwnames
[] = {
29883 (char *) "self", NULL
29886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29888 if (SWIG_arg_fail(1)) SWIG_fail
;
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 Py_INCREF(Py_None
); resultobj
= Py_None
;
29903 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29904 PyObject
*resultobj
;
29905 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29907 PyObject
* obj0
= 0 ;
29908 char *kwnames
[] = {
29909 (char *) "self", NULL
29912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29914 if (SWIG_arg_fail(1)) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29931 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29934 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29936 return Py_BuildValue((char *)"");
29938 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
;
29940 int arg1
= (int) 0 ;
29941 int arg2
= (int) 0 ;
29942 int arg3
= (int) 0 ;
29943 int arg4
= (int) 0 ;
29944 wxVideoMode
*result
;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 PyObject
* obj2
= 0 ;
29948 PyObject
* obj3
= 0 ;
29949 char *kwnames
[] = {
29950 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
29953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29956 arg1
= (int)(SWIG_As_int(obj0
));
29957 if (SWIG_arg_fail(1)) SWIG_fail
;
29962 arg2
= (int)(SWIG_As_int(obj1
));
29963 if (SWIG_arg_fail(2)) SWIG_fail
;
29968 arg3
= (int)(SWIG_As_int(obj2
));
29969 if (SWIG_arg_fail(3)) SWIG_fail
;
29974 arg4
= (int)(SWIG_As_int(obj3
));
29975 if (SWIG_arg_fail(4)) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
29992 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
;
29994 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29995 PyObject
* obj0
= 0 ;
29996 char *kwnames
[] = {
29997 (char *) "self", NULL
30000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30002 if (SWIG_arg_fail(1)) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 Py_INCREF(Py_None
); resultobj
= Py_None
;
30017 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30020 wxVideoMode
*arg2
= 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self",(char *) "other", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30030 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30034 if (arg2
== NULL
) {
30035 SWIG_null_ref("wxVideoMode");
30037 if (SWIG_arg_fail(2)) SWIG_fail
;
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30055 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30059 PyObject
* obj0
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
30065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(1)) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= SWIG_From_int((int)(result
));
30083 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
;
30085 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30094 if (SWIG_arg_fail(1)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= SWIG_From_int((int)(result
));
30111 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= SWIG_From_int((int)(result
));
30139 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30150 if (SWIG_arg_fail(1)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30167 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30170 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "other", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30180 if (SWIG_arg_fail(1)) SWIG_fail
;
30181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(2)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30199 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30202 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self",(char *) "other", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(1)) SWIG_fail
;
30213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30214 if (SWIG_arg_fail(2)) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30231 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30235 PyObject
* obj0
= 0 ;
30236 PyObject
* obj1
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "self",(char *) "w", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30243 if (SWIG_arg_fail(1)) SWIG_fail
;
30245 arg2
= (int)(SWIG_As_int(obj1
));
30246 if (SWIG_arg_fail(2)) SWIG_fail
;
30248 if (arg1
) (arg1
)->w
= arg2
;
30250 Py_INCREF(Py_None
); resultobj
= Py_None
;
30257 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30261 PyObject
* obj0
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "self", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30268 if (SWIG_arg_fail(1)) SWIG_fail
;
30269 result
= (int) ((arg1
)->w
);
30272 resultobj
= SWIG_From_int((int)(result
));
30280 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 char *kwnames
[] = {
30287 (char *) "self",(char *) "h", NULL
30290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30292 if (SWIG_arg_fail(1)) SWIG_fail
;
30294 arg2
= (int)(SWIG_As_int(obj1
));
30295 if (SWIG_arg_fail(2)) SWIG_fail
;
30297 if (arg1
) (arg1
)->h
= arg2
;
30299 Py_INCREF(Py_None
); resultobj
= Py_None
;
30306 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30310 PyObject
* obj0
= 0 ;
30311 char *kwnames
[] = {
30312 (char *) "self", NULL
30315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30317 if (SWIG_arg_fail(1)) SWIG_fail
;
30318 result
= (int) ((arg1
)->h
);
30321 resultobj
= SWIG_From_int((int)(result
));
30329 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30330 PyObject
*resultobj
;
30331 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self",(char *) "bpp", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30341 if (SWIG_arg_fail(1)) SWIG_fail
;
30343 arg2
= (int)(SWIG_As_int(obj1
));
30344 if (SWIG_arg_fail(2)) SWIG_fail
;
30346 if (arg1
) (arg1
)->bpp
= arg2
;
30348 Py_INCREF(Py_None
); resultobj
= Py_None
;
30355 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
;
30357 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30359 PyObject
* obj0
= 0 ;
30360 char *kwnames
[] = {
30361 (char *) "self", NULL
30364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30366 if (SWIG_arg_fail(1)) SWIG_fail
;
30367 result
= (int) ((arg1
)->bpp
);
30370 resultobj
= SWIG_From_int((int)(result
));
30378 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self",(char *) "refresh", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30392 arg2
= (int)(SWIG_As_int(obj1
));
30393 if (SWIG_arg_fail(2)) SWIG_fail
;
30395 if (arg1
) (arg1
)->refresh
= arg2
;
30397 Py_INCREF(Py_None
); resultobj
= Py_None
;
30404 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail
;
30416 result
= (int) ((arg1
)->refresh
);
30419 resultobj
= SWIG_From_int((int)(result
));
30427 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30430 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30432 return Py_BuildValue((char *)"");
30434 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30435 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30440 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30443 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30448 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 size_t arg1
= (size_t) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "index", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30460 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30461 if (SWIG_arg_fail(1)) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 result
= (wxDisplay
*)new wxDisplay(arg1
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30478 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
;
30480 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30488 if (SWIG_arg_fail(1)) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 Py_INCREF(Py_None
); resultobj
= Py_None
;
30503 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30506 char *kwnames
[] = {
30510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (size_t)wxDisplay::GetCount();
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30527 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30529 wxPoint
*arg1
= 0 ;
30532 PyObject
* obj0
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "pt", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30540 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= SWIG_From_int((int)(result
));
30558 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
;
30560 wxWindow
*arg1
= (wxWindow
*) 0 ;
30562 PyObject
* obj0
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "window", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail
;
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (int)Display_GetFromWindow(arg1
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= SWIG_From_int((int)(result
));
30586 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30614 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "self", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30625 if (SWIG_arg_fail(1)) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30634 wxRect
* resultptr
;
30635 resultptr
= new wxRect((wxRect
&)(result
));
30636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30644 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
;
30646 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30648 PyObject
* obj0
= 0 ;
30649 char *kwnames
[] = {
30650 (char *) "self", NULL
30653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30655 if (SWIG_arg_fail(1)) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= ((wxDisplay
const *)arg1
)->GetName();
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30676 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30704 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30707 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30708 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30710 PyObject
* obj0
= 0 ;
30711 PyObject
* obj1
= 0 ;
30712 char *kwnames
[] = {
30713 (char *) "self",(char *) "mode", NULL
30716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30718 if (SWIG_arg_fail(1)) SWIG_fail
;
30721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30722 if (SWIG_arg_fail(2)) SWIG_fail
;
30723 if (arg2
== NULL
) {
30724 SWIG_null_ref("wxVideoMode");
30726 if (SWIG_arg_fail(2)) SWIG_fail
;
30730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30731 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= result
;
30743 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
;
30745 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30746 wxVideoMode result
;
30747 PyObject
* obj0
= 0 ;
30748 char *kwnames
[] = {
30749 (char *) "self", NULL
30752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30754 if (SWIG_arg_fail(1)) SWIG_fail
;
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30763 wxVideoMode
* resultptr
;
30764 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30773 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30776 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30777 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self",(char *) "mode", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail
;
30790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30791 if (SWIG_arg_fail(2)) SWIG_fail
;
30792 if (arg2
== NULL
) {
30793 SWIG_null_ref("wxVideoMode");
30795 if (SWIG_arg_fail(2)) SWIG_fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30814 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "self", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(1)) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 (arg1
)->ResetMode();
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 Py_INCREF(Py_None
); resultobj
= Py_None
;
30839 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30842 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30844 return Py_BuildValue((char *)"");
30846 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxStandardPaths
*result
;
30849 char *kwnames
[] = {
30853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (wxStandardPaths
*)StandardPaths_Get();
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30868 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
;
30870 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30879 if (SWIG_arg_fail(1)) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30900 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
;
30902 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30904 PyObject
* obj0
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30911 if (SWIG_arg_fail(1)) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30932 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30936 PyObject
* obj0
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30943 if (SWIG_arg_fail(1)) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30964 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30968 PyObject
* obj0
= 0 ;
30969 char *kwnames
[] = {
30970 (char *) "self", NULL
30973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
30974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30975 if (SWIG_arg_fail(1)) SWIG_fail
;
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30996 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
;
30998 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31000 PyObject
* obj0
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31007 if (SWIG_arg_fail(1)) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31028 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31030 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 char *kwnames
[] = {
31034 (char *) "self", NULL
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31039 if (SWIG_arg_fail(1)) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31060 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
;
31062 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31064 PyObject
* obj0
= 0 ;
31065 char *kwnames
[] = {
31066 (char *) "self", NULL
31069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31071 if (SWIG_arg_fail(1)) SWIG_fail
;
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31092 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
;
31094 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31095 wxString
*arg2
= 0 ;
31096 bool temp2
= false ;
31097 PyObject
* obj0
= 0 ;
31098 PyObject
* obj1
= 0 ;
31099 char *kwnames
[] = {
31100 (char *) "self",(char *) "prefix", NULL
31103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31105 if (SWIG_arg_fail(1)) SWIG_fail
;
31107 arg2
= wxString_in_helper(obj1
);
31108 if (arg2
== NULL
) SWIG_fail
;
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 Py_INCREF(Py_None
); resultobj
= Py_None
;
31133 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31134 PyObject
*resultobj
;
31135 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31137 PyObject
* obj0
= 0 ;
31138 char *kwnames
[] = {
31139 (char *) "self", NULL
31142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31144 if (SWIG_arg_fail(1)) SWIG_fail
;
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31165 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31168 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31170 return Py_BuildValue((char *)"");
31172 static PyMethodDef SwigMethods
[] = {
31173 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31180 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31187 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31251 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31259 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31275 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31280 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31283 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31286 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31292 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31306 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31312 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31318 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31321 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31335 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31338 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31339 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31342 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31369 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31371 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31375 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31382 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31388 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31402 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31406 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31409 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31426 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31434 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31481 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31509 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31519 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31535 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31551 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31574 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31617 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31620 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31623 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31627 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31720 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31721 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31722 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31723 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
31724 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
31725 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
31726 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
31727 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
31728 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
31729 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31740 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31785 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31819 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31827 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31828 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31842 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31849 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31852 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31855 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31860 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31863 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31867 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31874 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31879 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31883 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31885 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31895 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31914 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31922 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31936 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31940 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
31958 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
31972 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
31983 { NULL
, NULL
, 0, NULL
}
31987 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31989 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31992 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31993 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31995 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31996 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31998 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31999 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32001 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32002 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32004 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32005 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32007 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32008 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32010 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32011 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32013 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32016 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32017 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32019 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32022 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32023 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32025 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32026 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32028 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32029 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32031 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32032 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32034 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32035 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32037 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32038 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32040 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32041 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32043 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32044 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32046 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32047 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32049 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32050 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32052 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32053 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32055 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32056 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32058 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32059 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32061 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32062 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32064 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32065 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32067 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32068 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32070 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32071 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32073 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32074 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32076 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32077 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32079 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32080 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32082 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32083 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32085 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32086 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32088 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32091 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32094 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32095 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32097 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32098 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32100 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32101 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32103 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32104 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32106 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32107 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32109 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32110 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32112 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32113 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32115 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32116 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32118 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32119 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32121 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32122 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32124 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32125 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32127 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32128 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32130 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32131 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32133 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32134 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32136 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32137 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32139 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32140 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32142 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32143 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32145 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32146 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32148 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32149 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32151 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32152 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32154 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32155 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32157 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32158 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32160 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32161 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32163 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32164 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32166 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32167 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32169 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32170 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32172 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32173 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32175 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32176 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32178 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32179 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32181 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32184 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32185 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32187 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32188 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32190 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32191 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32193 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32194 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32196 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32197 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32199 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32200 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32202 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32203 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32205 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32206 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32208 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32209 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32211 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32212 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32214 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32217 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32220 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32223 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32226 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32229 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) ((wxSizer
*) x
));
32232 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32235 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32238 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32241 static void *_p_wxEventTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) ((wxEvent
*) x
));
32244 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32247 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32250 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32253 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32256 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32259 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32262 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32265 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32268 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32271 static void *_p_wxControlTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32274 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32277 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32280 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32283 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32286 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32289 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32292 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32295 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32296 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32298 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32299 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32301 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32302 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32304 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32305 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32307 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32310 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32311 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32313 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32314 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32316 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32319 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32322 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32325 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32328 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32331 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32334 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32337 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32340 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32343 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32346 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32349 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32352 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32355 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32358 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32361 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32364 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32367 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32370 static void *_p_wxImageTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) ((wxImage
*) x
));
32373 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32376 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32379 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32382 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32385 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32388 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32391 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32394 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32397 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32400 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32403 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32406 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32409 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32412 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32415 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32418 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32421 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32424 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32427 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32430 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32433 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32436 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32439 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32442 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32445 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32448 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32451 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32452 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32454 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32455 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32457 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32458 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32460 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32461 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32463 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32464 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32466 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32467 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32469 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32470 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32472 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32473 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32475 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32476 return (void *)((wxWindow
*) ((wxControl
*) x
));
32478 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32479 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32481 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32482 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32484 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32485 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32487 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32488 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32490 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}};
32491 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}};
32492 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}};
32493 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}};
32494 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}};
32495 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_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}};
32496 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}};
32497 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}};
32498 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}};
32499 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}};
32500 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}};
32501 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}};
32502 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}};
32503 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}};
32504 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}};
32505 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}};
32506 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}};
32507 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}};
32508 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}};
32509 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}};
32510 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}};
32511 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}};
32512 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}};
32513 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}};
32514 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}};
32515 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}};
32516 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}};
32517 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}};
32518 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}};
32519 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}};
32520 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}};
32521 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}};
32522 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}};
32523 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}};
32524 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}};
32525 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}};
32526 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}};
32527 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}};
32528 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}};
32529 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}};
32530 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}};
32531 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}};
32532 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}};
32533 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}};
32534 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}};
32535 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}};
32536 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}};
32537 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}};
32538 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}};
32539 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}};
32540 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}};
32541 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}};
32542 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}};
32543 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}};
32544 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}};
32545 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}};
32546 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}};
32547 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}};
32548 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}};
32549 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}};
32550 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}};
32551 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}};
32552 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}};
32553 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}};
32554 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}};
32555 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}};
32556 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}};
32557 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}};
32558 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}};
32559 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}};
32560 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_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_wxPNGHandler", _p_wxPNGHandlerTo_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_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_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}};
32561 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}};
32562 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}};
32563 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}};
32564 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}};
32565 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}};
32566 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}};
32567 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}};
32568 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}};
32569 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}};
32570 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}};
32571 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}};
32572 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}};
32573 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}};
32574 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}};
32575 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}};
32576 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}};
32577 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}};
32578 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}};
32579 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}};
32580 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}};
32581 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}};
32582 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}};
32583 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}};
32584 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}};
32585 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}};
32587 static swig_type_info
*swig_types_initial
[] = {
32588 _swigt__p_wxLogChain
,
32589 _swigt__p_wxMutexGuiLocker
,
32590 _swigt__p_wxFileHistory
,
32594 _swigt__p_wxDateTime__TimeZone
,
32595 _swigt__p_wxConfigBase
,
32596 _swigt__p_wxDisplay
,
32597 _swigt__p_wxFileType
,
32598 _swigt__p_wxLogGui
,
32600 _swigt__p_wxDataFormat
,
32601 _swigt__p_wxTimerEvent
,
32604 _swigt__std__ptrdiff_t
,
32607 _swigt__p_wxClipboard
,
32608 _swigt__p_wxStopWatch
,
32610 _swigt__p_wxClipboardLocker
,
32612 _swigt__p_wxLogStderr
,
32613 _swigt__p_wxLogTextCtrl
,
32614 _swigt__p_wxTextCtrl
,
32615 _swigt__p_wxBusyCursor
,
32616 _swigt__p_wxBitmapDataObject
,
32617 _swigt__p_wxTextDataObject
,
32618 _swigt__p_wxDataObject
,
32619 _swigt__p_wxPyTextDataObject
,
32620 _swigt__p_wxPyBitmapDataObject
,
32621 _swigt__p_wxFileDataObject
,
32622 _swigt__p_wxCustomDataObject
,
32623 _swigt__p_wxURLDataObject
,
32624 _swigt__p_wxMetafileDataObject
,
32626 _swigt__p_wxTimerRunner
,
32627 _swigt__p_wxLogWindow
,
32628 _swigt__p_wxTimeSpan
,
32629 _swigt__p_wxArrayString
,
32630 _swigt__p_wxWindowDisabler
,
32631 _swigt__p_form_ops_t
,
32632 _swigt__p_wxToolTip
,
32633 _swigt__p_wxDataObjectComposite
,
32634 _swigt__p_wxSystemSettings
,
32635 _swigt__p_wxFileConfig
,
32636 _swigt__p_wxVideoMode
,
32637 _swigt__p_wxDataObjectSimple
,
32638 _swigt__p_wxPyDataObjectSimple
,
32639 _swigt__p_wxDuplexMode
,
32640 _swigt__p_wxEvtHandler
,
32643 _swigt__p_wxSingleInstanceChecker
,
32644 _swigt__p_wxStandardPaths
,
32645 _swigt__p_wxFileTypeInfo
,
32648 _swigt__p_wxPaperSize
,
32649 _swigt__p_wxMimeTypesManager
,
32650 _swigt__p_wxPyArtProvider
,
32651 _swigt__p_wxPyTipProvider
,
32652 _swigt__p_wxTipProvider
,
32653 _swigt__p_wxJoystick
,
32654 _swigt__p_wxSystemOptions
,
32656 _swigt__p_wxJoystickEvent
,
32657 _swigt__p_wxCursor
,
32658 _swigt__p_wxObject
,
32659 _swigt__p_wxOutputStream
,
32660 _swigt__p_wxDateTime
,
32661 _swigt__p_wxPyDropSource
,
32662 _swigt__p_unsigned_long
,
32663 _swigt__p_wxKillError
,
32664 _swigt__p_wxWindow
,
32665 _swigt__p_wxString
,
32666 _swigt__p_wxPyProcess
,
32667 _swigt__p_wxBitmap
,
32668 _swigt__p_wxConfig
,
32669 _swigt__unsigned_int
,
32670 _swigt__p_unsigned_int
,
32671 _swigt__p_unsigned_char
,
32673 _swigt__p_wxBusyInfo
,
32674 _swigt__p_wxPyDropTarget
,
32675 _swigt__p_wxPyTextDropTarget
,
32676 _swigt__p_wxPyFileDropTarget
,
32677 _swigt__p_wxProcessEvent
,
32679 _swigt__p_wxLogNull
,
32680 _swigt__p_wxColour
,
32681 _swigt__p_wxPyTimer
,
32682 _swigt__p_wxConfigPathChanger
,
32683 _swigt__p_wxDateSpan
,
32688 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32690 static swig_const_info swig_const_table
[] = {
32691 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32692 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32693 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32694 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32695 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32696 {0, 0, 0, 0.0, 0, 0}};
32707 /* Python-specific SWIG API */
32708 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32709 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32710 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32712 /* -----------------------------------------------------------------------------
32713 * global variable support code.
32714 * ----------------------------------------------------------------------------- */
32716 typedef struct swig_globalvar
{
32717 char *name
; /* Name of global variable */
32718 PyObject
*(*get_attr
)(); /* Return the current value */
32719 int (*set_attr
)(PyObject
*); /* Set the value */
32720 struct swig_globalvar
*next
;
32723 typedef struct swig_varlinkobject
{
32725 swig_globalvar
*vars
;
32726 } swig_varlinkobject
;
32729 swig_varlink_repr(swig_varlinkobject
*v
) {
32731 return PyString_FromString("<Swig global variables>");
32735 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32736 swig_globalvar
*var
;
32738 fprintf(fp
,"Swig global variables { ");
32739 for (var
= v
->vars
; var
; var
=var
->next
) {
32740 fprintf(fp
,"%s", var
->name
);
32741 if (var
->next
) fprintf(fp
,", ");
32743 fprintf(fp
," }\n");
32748 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32749 swig_globalvar
*var
= v
->vars
;
32751 if (strcmp(var
->name
,n
) == 0) {
32752 return (*var
->get_attr
)();
32756 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32761 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32762 swig_globalvar
*var
= v
->vars
;
32764 if (strcmp(var
->name
,n
) == 0) {
32765 return (*var
->set_attr
)(p
);
32769 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32773 static PyTypeObject varlinktype
= {
32774 PyObject_HEAD_INIT(0)
32775 0, /* Number of items in variable part (ob_size) */
32776 (char *)"swigvarlink", /* Type name (tp_name) */
32777 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32778 0, /* Itemsize (tp_itemsize) */
32779 0, /* Deallocator (tp_dealloc) */
32780 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32781 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32782 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32783 0, /* tp_compare */
32784 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32785 0, /* tp_as_number */
32786 0, /* tp_as_sequence */
32787 0, /* tp_as_mapping */
32791 0, /* tp_getattro */
32792 0, /* tp_setattro */
32793 0, /* tp_as_buffer */
32796 #if PY_VERSION_HEX >= 0x02000000
32797 0, /* tp_traverse */
32800 #if PY_VERSION_HEX >= 0x02010000
32801 0, /* tp_richcompare */
32802 0, /* tp_weaklistoffset */
32804 #if PY_VERSION_HEX >= 0x02020000
32805 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32807 #if PY_VERSION_HEX >= 0x02030000
32810 #ifdef COUNT_ALLOCS
32811 0,0,0,0 /* tp_alloc -> tp_next */
32815 /* Create a variable linking object for use later */
32817 SWIG_Python_newvarlink(void) {
32818 swig_varlinkobject
*result
= 0;
32819 result
= PyMem_NEW(swig_varlinkobject
,1);
32820 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32821 result
->ob_type
= &varlinktype
;
32823 result
->ob_refcnt
= 0;
32824 Py_XINCREF((PyObject
*) result
);
32825 return ((PyObject
*) result
);
32829 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32830 swig_varlinkobject
*v
;
32831 swig_globalvar
*gv
;
32832 v
= (swig_varlinkobject
*) p
;
32833 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32834 gv
->name
= (char *) malloc(strlen(name
)+1);
32835 strcpy(gv
->name
,name
);
32836 gv
->get_attr
= get_attr
;
32837 gv
->set_attr
= set_attr
;
32838 gv
->next
= v
->vars
;
32842 /* -----------------------------------------------------------------------------
32843 * constants/methods manipulation
32844 * ----------------------------------------------------------------------------- */
32846 /* Install Constants */
32848 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32851 for (i
= 0; constants
[i
].type
; i
++) {
32852 switch(constants
[i
].type
) {
32854 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32856 case SWIG_PY_FLOAT
:
32857 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32859 case SWIG_PY_STRING
:
32860 if (constants
[i
].pvalue
) {
32861 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32863 Py_INCREF(Py_None
);
32867 case SWIG_PY_POINTER
:
32868 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32870 case SWIG_PY_BINARY
:
32871 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32878 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32884 /* -----------------------------------------------------------------------------*/
32885 /* Fix SwigMethods to carry the callback ptrs when needed */
32886 /* -----------------------------------------------------------------------------*/
32889 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32890 swig_const_info
*const_table
,
32891 swig_type_info
**types
,
32892 swig_type_info
**types_initial
) {
32894 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32895 char *c
= methods
[i
].ml_doc
;
32896 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32898 swig_const_info
*ci
= 0;
32899 char *name
= c
+ 10;
32900 for (j
= 0; const_table
[j
].type
; j
++) {
32901 if (strncmp(const_table
[j
].name
, name
,
32902 strlen(const_table
[j
].name
)) == 0) {
32903 ci
= &(const_table
[j
]);
32908 size_t shift
= (ci
->ptype
) - types
;
32909 swig_type_info
*ty
= types_initial
[shift
];
32910 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32911 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32912 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32914 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32915 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32917 strncpy(buff
, "swig_ptr: ", 10);
32919 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32920 methods
[i
].ml_doc
= ndoc
;
32926 /* -----------------------------------------------------------------------------*
32927 * Initialize type list
32928 * -----------------------------------------------------------------------------*/
32930 #if PY_MAJOR_VERSION < 2
32931 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32932 is copied out of Python/modsupport.c in python version 2.3.4 */
32934 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32937 if (!PyModule_Check(m
)) {
32938 PyErr_SetString(PyExc_TypeError
,
32939 "PyModule_AddObject() needs module as first arg");
32943 PyErr_SetString(PyExc_TypeError
,
32944 "PyModule_AddObject() needs non-NULL value");
32948 dict
= PyModule_GetDict(m
);
32949 if (dict
== NULL
) {
32950 /* Internal error -- modules must have a dict! */
32951 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
32952 PyModule_GetName(m
));
32955 if (PyDict_SetItemString(dict
, name
, o
))
32962 static swig_type_info
**
32963 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
32964 static PyMethodDef swig_empty_runtime_method_table
[] = {
32966 NULL
, NULL
, 0, NULL
32970 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
32971 swig_empty_runtime_method_table
);
32972 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
32973 if (pointer
&& module) {
32974 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
32976 return type_list_handle
;
32979 static swig_type_info
**
32980 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
32981 swig_type_info
**type_pointer
;
32983 /* first check if module already created */
32984 type_pointer
= SWIG_Python_GetTypeListHandle();
32985 if (type_pointer
) {
32986 return type_pointer
;
32988 /* create a new module and variable */
32989 return SWIG_Python_SetTypeListHandle(type_list_handle
);
32997 /* -----------------------------------------------------------------------------*
32998 * Partial Init method
32999 * -----------------------------------------------------------------------------*/
33001 #ifdef SWIG_LINK_RUNTIME
33005 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33011 SWIGEXPORT(void) SWIG_init(void) {
33012 static PyObject
*SWIG_globals
= 0;
33013 static int typeinit
= 0;
33016 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33018 /* Fix SwigMethods to carry the callback ptrs when needed */
33019 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33021 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33022 d
= PyModule_GetDict(m
);
33025 #ifdef SWIG_LINK_RUNTIME
33026 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33028 # ifndef SWIG_STATIC_RUNTIME
33029 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33032 for (i
= 0; swig_types_initial
[i
]; i
++) {
33033 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33037 SWIG_InstallConstants(d
,swig_const_table
);
33040 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33043 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33046 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33049 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33052 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33055 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33058 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33061 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33064 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33067 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33070 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33073 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33076 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33079 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33082 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33085 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33088 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33091 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33094 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33097 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33100 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33103 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33106 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33109 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33112 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33115 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33118 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33121 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33124 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33127 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33130 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33133 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33136 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33139 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33142 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33145 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33148 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33151 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33154 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33157 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33160 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33163 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33166 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33169 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33172 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33175 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33178 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33181 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33184 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33187 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33190 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33193 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33196 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33199 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33202 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33205 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33208 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33211 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33214 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33217 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33220 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33223 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33226 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33229 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33232 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33235 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33238 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33241 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33244 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33247 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33250 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33253 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33256 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33259 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33262 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33265 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33268 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33271 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33274 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33277 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33280 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33283 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33286 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33289 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33292 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33295 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33298 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33301 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33304 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33307 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33310 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33312 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33313 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33314 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33315 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33316 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33318 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33321 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33324 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33327 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33329 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33331 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33334 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33337 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33340 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33343 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33346 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33349 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33352 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33355 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33358 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33361 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33364 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33366 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33367 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33368 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33369 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33370 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33372 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33375 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33378 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33381 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33384 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33387 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33390 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33393 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33396 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33399 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33402 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33405 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33408 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33411 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33414 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33417 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33420 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33423 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33426 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33429 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33432 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33435 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33438 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33441 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33444 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33447 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33450 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33453 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33456 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33459 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33462 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33464 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33466 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33469 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33472 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33475 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33478 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33481 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33484 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33487 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33490 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33493 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33496 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33499 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33502 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33504 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33505 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33506 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33507 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33509 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33512 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33515 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33518 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33521 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33524 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33527 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33530 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33532 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33533 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33534 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33535 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33536 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33537 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33538 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33539 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33540 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33541 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33542 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33543 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33544 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33545 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33546 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33547 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33548 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33549 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33550 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33551 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33552 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33553 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33554 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33555 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33556 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33557 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33558 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33559 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33560 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33561 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33562 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33563 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33564 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33565 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33566 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33567 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33568 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33569 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33570 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33571 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33572 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33573 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33574 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33575 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33576 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33578 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33581 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33584 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33587 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33590 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33593 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33596 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33599 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33602 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33605 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33607 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
33608 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
33610 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33613 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33616 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33619 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33622 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33625 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33628 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33631 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33634 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33637 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33640 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33643 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33646 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33649 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33652 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33655 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33658 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33661 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33664 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33667 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33670 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33673 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33676 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33679 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33682 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33685 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33688 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33691 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33694 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33697 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33700 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33703 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33706 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33709 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33712 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33715 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33718 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33721 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33724 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33727 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33730 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33733 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33736 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33739 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33742 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33745 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33748 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33751 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33754 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33757 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33760 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33763 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33766 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33769 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33772 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33775 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33778 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33781 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33784 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33787 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33790 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33793 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33796 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33799 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33802 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33805 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33808 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33811 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33814 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33817 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33820 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33823 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33826 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33829 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33832 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33835 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33838 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33841 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33844 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33847 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33850 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33853 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33856 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33859 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33862 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33865 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33868 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33871 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33874 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33877 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33880 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33883 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33886 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33889 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33892 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33895 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33898 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33901 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33904 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33907 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33910 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33913 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33916 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33919 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33922 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33925 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33928 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33931 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33934 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33937 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
33940 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
33943 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
33946 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
33949 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
33952 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
33955 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
33958 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
33961 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
33964 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
33967 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
33970 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
33973 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
33976 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
33979 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
33982 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
33985 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
33988 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
33991 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
33994 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
33997 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34000 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34003 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34006 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34009 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34012 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34015 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34018 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34021 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34024 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34027 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34030 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34033 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34036 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34039 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34042 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34045 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34048 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34051 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34054 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34057 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34060 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34063 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34066 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34069 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34072 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34074 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34076 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34079 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34082 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34085 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34088 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34091 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34094 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34097 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34100 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34103 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34106 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34109 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34112 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34115 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34118 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34121 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34124 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34127 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34130 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34133 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34135 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34137 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34140 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34143 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34146 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34149 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34152 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34155 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34158 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34161 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34164 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34167 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34170 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34173 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34174 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34175 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34176 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34178 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);