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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLogChain swig_types[0]
1343 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344 #define SWIGTYPE_p_wxMetafile swig_types[2]
1345 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1346 #define SWIGTYPE_p_wxLog swig_types[4]
1347 #define SWIGTYPE_p_wxMenu swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1351 #define SWIGTYPE_p_wxDisplay swig_types[9]
1352 #define SWIGTYPE_p_wxFileType swig_types[10]
1353 #define SWIGTYPE_p_wxLogGui swig_types[11]
1354 #define SWIGTYPE_p_wxFont swig_types[12]
1355 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1356 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1357 #define SWIGTYPE_p_wxCaret swig_types[15]
1358 #define SWIGTYPE_ptrdiff_t swig_types[16]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_p_int swig_types[18]
1361 #define SWIGTYPE_p_wxSize swig_types[19]
1362 #define SWIGTYPE_p_wxClipboard swig_types[20]
1363 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1366 #define SWIGTYPE_p_wxIcon swig_types[24]
1367 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1368 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1369 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1370 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1371 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1372 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1373 #define SWIGTYPE_p_wxDataObject swig_types[31]
1374 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1375 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1376 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1377 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1378 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1379 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1380 #define SWIGTYPE_p_wxSound swig_types[38]
1381 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1382 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1383 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1384 #define SWIGTYPE_p_wxArrayString swig_types[42]
1385 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxToolTip swig_types[45]
1388 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1389 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1390 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1391 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1392 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1393 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1394 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1395 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1396 #define SWIGTYPE_p_wxRect swig_types[54]
1397 #define SWIGTYPE_p_char swig_types[55]
1398 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1399 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1400 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1401 #define SWIGTYPE_p_wxFrame swig_types[59]
1402 #define SWIGTYPE_p_wxTimer swig_types[60]
1403 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1404 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1405 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1406 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1407 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1408 #define SWIGTYPE_p_wxJoystick swig_types[66]
1409 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1410 #define SWIGTYPE_p_wxPoint swig_types[68]
1411 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1412 #define SWIGTYPE_p_wxCursor swig_types[70]
1413 #define SWIGTYPE_p_wxObject swig_types[71]
1414 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1415 #define SWIGTYPE_p_wxDateTime swig_types[73]
1416 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1417 #define SWIGTYPE_p_unsigned_long swig_types[75]
1418 #define SWIGTYPE_p_wxKillError swig_types[76]
1419 #define SWIGTYPE_p_wxWindow swig_types[77]
1420 #define SWIGTYPE_p_wxString swig_types[78]
1421 #define SWIGTYPE_p_wxPyProcess swig_types[79]
1422 #define SWIGTYPE_p_wxBitmap swig_types[80]
1423 #define SWIGTYPE_p_wxConfig swig_types[81]
1424 #define SWIGTYPE_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_char swig_types[84]
1427 #define SWIGTYPE_p_wxChar swig_types[85]
1428 #define SWIGTYPE_p_wxBusyInfo swig_types[86]
1429 #define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1430 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1431 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1432 #define SWIGTYPE_p_wxProcessEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPyLog swig_types[91]
1434 #define SWIGTYPE_p_wxLogNull swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxPyTimer swig_types[94]
1437 #define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1438 #define SWIGTYPE_p_wxDateSpan swig_types[96]
1439 static swig_type_info
*swig_types
[98];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _misc_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_misc_
1449 #define SWIG_name "_misc_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453 #include "wx/wxPython/pyistream.h"
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1459 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1460 #define SWIG_From_int PyInt_FromLong
1468 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1471 if (value
< min_value
) {
1473 PyErr_Format(PyExc_OverflowError
,
1474 "value %ld is less than '%s' minimum %ld",
1475 value
, errmsg
, min_value
);
1478 } else if (value
> max_value
) {
1480 PyErr_Format(PyExc_OverflowError
,
1481 "value %ld is greater than '%s' maximum %ld",
1482 value
, errmsg
, max_value
);
1491 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1493 if (PyNumber_Check(obj
)) {
1494 if (val
) *val
= PyInt_AsLong(obj
);
1498 SWIG_type_error("number", obj
);
1504 #if INT_MAX != LONG_MAX
1506 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1508 const char* errmsg
= val
? "int" : (char*)0;
1510 if (SWIG_AsVal_long(obj
, &v
)) {
1511 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1512 if (val
) *val
= (int)(v
);
1521 SWIG_type_error(errmsg
, obj
);
1527 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1529 return SWIG_AsVal_long(obj
,(long*)val
);
1535 SWIG_As_int(PyObject
* obj
)
1538 if (!SWIG_AsVal_int(obj
, &v
)) {
1540 this is needed to make valgrind/purify happier.
1542 memset((void*)&v
, 0, sizeof(int));
1549 SWIG_Check_int(PyObject
* obj
)
1551 return SWIG_AsVal_int(obj
, (int*)0);
1554 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1556 #include <wx/stockitem.h>
1558 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1559 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1560 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1562 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1563 #define SWIG_From_long PyInt_FromLong
1567 SWIGINTERNSHORT
long
1568 SWIG_As_long(PyObject
* obj
)
1571 if (!SWIG_AsVal_long(obj
, &v
)) {
1573 this is needed to make valgrind/purify happier.
1575 memset((void*)&v
, 0, sizeof(long));
1582 SWIG_Check_long(PyObject
* obj
)
1584 return SWIG_AsVal_long(obj
, (long*)0);
1589 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1591 if (obj
== Py_True
) {
1592 if (val
) *val
= true;
1595 if (obj
== Py_False
) {
1596 if (val
) *val
= false;
1600 if (SWIG_AsVal_int(obj
, &res
)) {
1601 if (val
) *val
= res
? true : false;
1607 SWIG_type_error("bool", obj
);
1613 SWIGINTERNSHORT
bool
1614 SWIG_As_bool(PyObject
* obj
)
1617 if (!SWIG_AsVal_bool(obj
, &v
)) {
1619 this is needed to make valgrind/purify happier.
1621 memset((void*)&v
, 0, sizeof(bool));
1628 SWIG_Check_bool(PyObject
* obj
)
1630 return SWIG_AsVal_bool(obj
, (bool*)0);
1634 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1640 } else if (target
== Py_None
) {
1644 if (!PyTuple_Check(target
)) {
1646 target
= PyTuple_New(1);
1647 PyTuple_SetItem(target
, 0, o2
);
1649 o3
= PyTuple_New(1);
1650 PyTuple_SetItem(o3
, 0, o
);
1653 target
= PySequence_Concat(o2
, o3
);
1663 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1666 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1667 SWIG_type_error("unsigned number", obj
);
1670 *val
= (unsigned long)v
;
1675 SWIGINTERNSHORT
unsigned long
1676 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1679 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1681 this is needed to make valgrind/purify happier.
1683 memset((void*)&v
, 0, sizeof(unsigned long));
1690 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1692 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1696 SWIGINTERNSHORT PyObject
*
1697 SWIG_From_unsigned_SS_long(unsigned long value
)
1699 return (value
> LONG_MAX
) ?
1700 PyLong_FromUnsignedLong(value
)
1701 : PyInt_FromLong((long)(value
));
1705 bool wxThread_IsMain() {
1706 #ifdef WXP_WITH_THREAD
1707 return wxThread::IsMain();
1713 static void wxCaret_Destroy(wxCaret
*self
){
1717 #include <wx/snglinst.h>
1721 #include <wx/msw/private.h>
1722 #include <wx/dynload.h>
1727 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
1738 // This one only partially works. Appears to be an undocumented
1739 // "standard" convention that not all widgets adhear to. For
1740 // example, for some widgets backgrounds or non-client areas may
1742 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
1747 // This one works much better, nearly all widgets and their
1748 // children are captured correctly[**]. Prior to the big
1749 // background erase changes that Vadim did in 2004-2005 this
1750 // method failed badly on XP with Themes activated, most native
1751 // widgets draw only partially, if at all. Without themes it
1752 // worked just like on Win2k. After those changes this method
1755 // ** For example the radio buttons in a wxRadioBox are not its
1756 // children by default, but you can capture it via the panel
1757 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1758 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1759 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1760 PRF_ERASEBKGND
| PRF_OWNED
);
1766 // This one is only defined in the latest SDK and is only
1767 // available on XP. MSDN says it is similar to sending WM_PRINT
1768 // so I expect that it will work similar to the above. Since it
1769 // is avaialble only on XP, it can't be compiled like this and
1770 // will have to be loaded dynamically.
1771 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1776 // Use PrintWindow if available, or fallback to WM_PRINT
1777 // otherwise. Unfortunately using PrintWindow is even worse than
1778 // WM_PRINT. For most native widgets nothing is drawn to the dc
1779 // at all, with or without Themes.
1780 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
1781 static bool s_triedToLoad
= false;
1782 static PrintWindow_t pfnPrintWindow
= NULL
;
1783 if ( !s_triedToLoad
)
1786 s_triedToLoad
= true;
1787 wxDynamicLibrary
dllUser32(_T("user32.dll"));
1788 if ( dllUser32
.IsLoaded() )
1790 wxLogNull nolog
; // Don't report errors here
1791 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
1796 //printf("Using PrintWindow\n");
1797 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
1801 //printf("Using WM_PRINT\n");
1802 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
1803 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
1804 PRF_ERASEBKGND
| PRF_OWNED
);
1815 #include <wx/tipdlg.h>
1818 class wxPyTipProvider
: public wxTipProvider
{
1820 wxPyTipProvider(size_t currentTip
)
1821 : wxTipProvider(currentTip
) {}
1823 DEC_PYCALLBACK_STRING__pure(GetTip
);
1824 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1828 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1829 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1832 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1834 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1836 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1837 : wxTimer(owner
, id
)
1839 if (owner
== NULL
) SetOwner(this);
1843 void wxPyTimer::Notify() {
1845 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1846 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1847 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1848 wxPyEndBlockThreads(blocked
);
1852 void wxPyTimer::base_Notify() {
1858 SWIGINTERN PyObject
*
1859 SWIG_FromCharPtr(const char* cptr
)
1862 size_t size
= strlen(cptr
);
1863 if (size
> INT_MAX
) {
1864 return SWIG_NewPointerObj((char*)(cptr
),
1865 SWIG_TypeQuery("char *"), 0);
1868 return PyString_FromStringAndSize(cptr
, size
);
1870 return PyString_FromString(cptr
);
1880 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1881 unsigned long max_value
,
1884 if (value
> max_value
) {
1886 PyErr_Format(PyExc_OverflowError
,
1887 "value %lu is greater than '%s' minimum %lu",
1888 value
, errmsg
, max_value
);
1896 #if UINT_MAX != ULONG_MAX
1898 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1900 const char* errmsg
= val
? "unsigned int" : (char*)0;
1902 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1903 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1904 if (val
) *val
= (unsigned int)(v
);
1911 SWIG_type_error(errmsg
, obj
);
1916 SWIGINTERNSHORT
unsigned int
1917 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1919 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1924 SWIGINTERNSHORT
unsigned int
1925 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1928 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1930 this is needed to make valgrind/purify happier.
1932 memset((void*)&v
, 0, sizeof(unsigned int));
1939 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1941 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1944 static wxString
Log_TimeStamp(){
1946 wxLog::TimeStamp(&msg
);
1949 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1950 // Make somce wrappers that double any % signs so they are 'escaped'
1951 void wxPyLogFatalError(const wxString
& msg
)
1954 m
.Replace(wxT("%"), wxT("%%"));
1958 void wxPyLogError(const wxString
& msg
)
1961 m
.Replace(wxT("%"), wxT("%%"));
1965 void wxPyLogWarning(const wxString
& msg
)
1968 m
.Replace(wxT("%"), wxT("%%"));
1972 void wxPyLogMessage(const wxString
& msg
)
1975 m
.Replace(wxT("%"), wxT("%%"));
1979 void wxPyLogInfo(const wxString
& msg
)
1982 m
.Replace(wxT("%"), wxT("%%"));
1986 void wxPyLogDebug(const wxString
& msg
)
1989 m
.Replace(wxT("%"), wxT("%%"));
1993 void wxPyLogVerbose(const wxString
& msg
)
1996 m
.Replace(wxT("%"), wxT("%%"));
2000 void wxPyLogStatus(const wxString
& msg
)
2003 m
.Replace(wxT("%"), wxT("%%"));
2007 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
2010 m
.Replace(wxT("%"), wxT("%%"));
2011 wxLogStatus(pFrame
, m
);
2014 void wxPyLogSysError(const wxString
& msg
)
2017 m
.Replace(wxT("%"), wxT("%%"));
2021 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
2024 m
.Replace(wxT("%"), wxT("%%"));
2025 wxLogGeneric(level
, m
);
2028 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
2031 m
.Replace(wxT("%"), wxT("%%"));
2032 wxLogTrace(mask
, m
);
2035 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
2038 m
.Replace(wxT("%"), wxT("%%"));
2039 wxLogTrace(mask
, m
);
2044 // A wxLog class that can be derived from in wxPython
2045 class wxPyLog
: public wxLog
{
2047 wxPyLog() : wxLog() {}
2049 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
2051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2052 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
2053 PyObject
* s
= wx2PyString(szString
);
2054 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
2057 wxPyEndBlockThreads(blocked
);
2059 wxLog::DoLog(level
, szString
, t
);
2062 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
2064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2065 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
2066 PyObject
* s
= wx2PyString(szString
);
2067 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
2070 wxPyEndBlockThreads(blocked
);
2072 wxLog::DoLogString(szString
, t
);
2081 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
2084 #include <wx/joystick.h>
2087 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2088 // A C++ stub class for wxJoystick for platforms that don't have it.
2089 class wxJoystick
: public wxObject
{
2091 wxJoystick(int joystick
= wxJOYSTICK1
) {
2092 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2093 PyErr_SetString(PyExc_NotImplementedError
,
2094 "wxJoystick is not available on this platform.");
2095 wxPyEndBlockThreads(blocked
);
2097 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2098 int GetZPosition() { return -1; }
2099 int GetButtonState() { return -1; }
2100 int GetPOVPosition() { return -1; }
2101 int GetPOVCTSPosition() { return -1; }
2102 int GetRudderPosition() { return -1; }
2103 int GetUPosition() { return -1; }
2104 int GetVPosition() { return -1; }
2105 int GetMovementThreshold() { return -1; }
2106 void SetMovementThreshold(int threshold
) {}
2108 bool IsOk(void) { return false; }
2109 int GetNumberJoysticks() { return -1; }
2110 int GetManufacturerId() { return -1; }
2111 int GetProductId() { return -1; }
2112 wxString
GetProductName() { return wxEmptyString
; }
2113 int GetXMin() { return -1; }
2114 int GetYMin() { return -1; }
2115 int GetZMin() { return -1; }
2116 int GetXMax() { return -1; }
2117 int GetYMax() { return -1; }
2118 int GetZMax() { return -1; }
2119 int GetNumberButtons() { return -1; }
2120 int GetNumberAxes() { return -1; }
2121 int GetMaxButtons() { return -1; }
2122 int GetMaxAxes() { return -1; }
2123 int GetPollingMin() { return -1; }
2124 int GetPollingMax() { return -1; }
2125 int GetRudderMin() { return -1; }
2126 int GetRudderMax() { return -1; }
2127 int GetUMin() { return -1; }
2128 int GetUMax() { return -1; }
2129 int GetVMin() { return -1; }
2130 int GetVMax() { return -1; }
2132 bool HasRudder() { return false; }
2133 bool HasZ() { return false; }
2134 bool HasU() { return false; }
2135 bool HasV() { return false; }
2136 bool HasPOV() { return false; }
2137 bool HasPOV4Dir() { return false; }
2138 bool HasPOVCTS() { return false; }
2140 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2141 bool ReleaseCapture() { return false; }
2146 #include <wx/sound.h>
2150 // A C++ stub class for wxWave for platforms that don't have it.
2151 class wxSound
: public wxObject
2155 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2156 PyErr_SetString(PyExc_NotImplementedError
,
2157 "wxSound is not available on this platform.");
2158 wxPyEndBlockThreads(blocked
);
2160 wxSound(const wxString
&/*, bool*/) {
2161 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2162 PyErr_SetString(PyExc_NotImplementedError
,
2163 "wxSound is not available on this platform.");
2164 wxPyEndBlockThreads(blocked
);
2166 wxSound(int, const wxByte
*) {
2167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2168 PyErr_SetString(PyExc_NotImplementedError
,
2169 "wxSound is not available on this platform.");
2170 wxPyEndBlockThreads(blocked
);
2175 bool Create(const wxString
&/*, bool*/) { return false; }
2176 bool Create(int, const wxByte
*) { return false; };
2177 bool IsOk() { return false; };
2178 bool Play(unsigned) const { return false; }
2179 static bool Play(const wxString
&, unsigned) { return false; }
2180 static void Stop() {}
2185 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2186 if (fileName
.Length() == 0)
2189 return new wxSound(fileName
);
2191 static wxSound
*new_wxSound(PyObject
*data
){
2192 unsigned char* buffer
; int size
;
2193 wxSound
*sound
= NULL
;
2195 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2196 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2198 sound
= new wxSound(size
, buffer
);
2200 wxPyEndBlockThreads(blocked
);
2203 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2205 unsigned char* buffer
;
2209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2210 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2212 rv
= self
->Create(size
, buffer
);
2214 wxPyEndBlockThreads(blocked
);
2217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2218 PyErr_SetString(PyExc_NotImplementedError
,
2219 "Create from data is not available on this platform.");
2220 wxPyEndBlockThreads(blocked
);
2225 #include <wx/mimetype.h>
2227 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2229 if (self
->GetMimeType(&str
))
2230 return wx2PyString(str
);
2234 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2236 if (self
->GetMimeTypes(arr
))
2237 return wxArrayString2PyList_helper(arr
);
2241 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2243 if (self
->GetExtensions(arr
))
2244 return wxArrayString2PyList_helper(arr
);
2248 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2250 if (self
->GetIcon(&loc
))
2251 return new wxIcon(loc
);
2255 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2257 if (self
->GetIcon(&loc
)) {
2258 wxString iconFile
= loc
.GetFileName();
2263 // Make a tuple and put the values in it
2264 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2265 PyObject
* tuple
= PyTuple_New(3);
2266 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2267 wxT("wxIcon"), true));
2268 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2269 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2270 wxPyEndBlockThreads(blocked
);
2276 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2278 if (self
->GetDescription(&str
))
2279 return wx2PyString(str
);
2283 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2285 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2286 return wx2PyString(str
);
2290 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2292 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2293 return wx2PyString(str
);
2297 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2298 wxArrayString verbs
;
2299 wxArrayString commands
;
2300 if (self
->GetAllCommands(&verbs
, &commands
,
2301 wxFileType::MessageParameters(filename
, mimetype
))) {
2302 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2303 PyObject
* tuple
= PyTuple_New(2);
2304 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2305 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2306 wxPyEndBlockThreads(blocked
);
2312 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2313 return wxFileType::ExpandCommand(command
,
2314 wxFileType::MessageParameters(filename
, mimetype
));
2316 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2318 self
->EnumAllFileTypes(arr
);
2319 return wxArrayString2PyList_helper(arr
);
2322 #include <wx/artprov.h>
2324 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2325 static const wxString
wxPyART_MENU(wxART_MENU
);
2326 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2327 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2328 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2329 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2330 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2331 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2332 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2333 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2334 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2335 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2336 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2337 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2338 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2339 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2340 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2341 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2342 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2343 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2344 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2345 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2346 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
2347 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
2348 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2349 static const wxString
wxPyART_HELP(wxART_HELP
);
2350 static const wxString
wxPyART_TIP(wxART_TIP
);
2351 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2352 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2353 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2354 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2355 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2356 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2357 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2358 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2359 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2360 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2361 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2362 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2363 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2364 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2365 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2366 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2367 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2368 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2369 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2370 static const wxString
wxPyART_COPY(wxART_COPY
);
2371 static const wxString
wxPyART_CUT(wxART_CUT
);
2372 static const wxString
wxPyART_PASTE(wxART_PASTE
);
2373 static const wxString
wxPyART_DELETE(wxART_DELETE
);
2374 static const wxString
wxPyART_UNDO(wxART_UNDO
);
2375 static const wxString
wxPyART_REDO(wxART_REDO
);
2376 static const wxString
wxPyART_QUIT(wxART_QUIT
);
2377 static const wxString
wxPyART_FIND(wxART_FIND
);
2378 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
2379 // Python aware wxArtProvider
2380 class wxPyArtProvider
: public wxArtProvider
{
2383 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2384 const wxArtClient
& client
,
2385 const wxSize
& size
) {
2386 wxBitmap rval
= wxNullBitmap
;
2387 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2388 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2389 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2393 s1
= wx2PyString(id
);
2394 s2
= wx2PyString(client
);
2395 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2400 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2405 wxPyEndBlockThreads(blocked
);
2412 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2416 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2417 PyObject
* ret
= PyTuple_New(3);
2419 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2420 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2421 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2426 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2431 cont
= self
->GetFirstGroup(value
, index
);
2432 return __EnumerationHelper(cont
, value
, index
);
2434 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2438 cont
= self
->GetNextGroup(value
, index
);
2439 return __EnumerationHelper(cont
, value
, index
);
2441 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2446 cont
= self
->GetFirstEntry(value
, index
);
2447 return __EnumerationHelper(cont
, value
, index
);
2449 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2453 cont
= self
->GetNextEntry(value
, index
);
2454 return __EnumerationHelper(cont
, value
, index
);
2456 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2458 self
->Read(key
, &rv
, defaultVal
);
2463 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2465 if (PyNumber_Check(obj
)) {
2466 if (val
) *val
= PyFloat_AsDouble(obj
);
2470 SWIG_type_error("number", obj
);
2476 SWIGINTERNSHORT
double
2477 SWIG_As_double(PyObject
* obj
)
2480 if (!SWIG_AsVal_double(obj
, &v
)) {
2482 this is needed to make valgrind/purify happier.
2484 memset((void*)&v
, 0, sizeof(double));
2491 SWIG_Check_double(PyObject
* obj
)
2493 return SWIG_AsVal_double(obj
, (double*)0);
2496 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2498 self
->Read(key
, &rv
, defaultVal
);
2502 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2503 #define SWIG_From_double PyFloat_FromDouble
2506 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2508 self
->Read(key
, &rv
, defaultVal
);
2512 #include <wx/datetime.h>
2514 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2515 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2517 #define LOCAL_TZ wxDateTime::Local
2519 static PyObject
*DateTime_GetAmPmStrings(){
2522 wxDateTime::GetAmPmStrings(&am
, &pm
);
2523 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2524 PyObject
* tup
= PyTuple_New(2);
2525 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
2526 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
2527 wxPyEndBlockThreads(blocked
);
2531 #if UINT_MAX < LONG_MAX
2532 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2533 #define SWIG_From_unsigned_SS_int SWIG_From_long
2536 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2537 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2541 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2542 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2543 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2544 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2545 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2546 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2547 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2548 return (*self
< *other
);
2550 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2551 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2552 return (*self
<= *other
);
2554 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2555 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2556 return (*self
> *other
);
2558 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2559 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2560 return (*self
>= *other
);
2562 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2563 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2564 return (*self
== *other
);
2566 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2567 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2568 return (*self
!= *other
);
2570 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2572 const wxChar
* _date
= date
;
2573 rv
= self
->ParseRfc822Date(_date
);
2574 if (rv
== NULL
) return -1;
2577 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2579 const wxChar
* _date
= date
;
2580 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2581 if (rv
== NULL
) return -1;
2584 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2586 const wxChar
* _datetime
= datetime
;
2587 rv
= self
->ParseDateTime(_datetime
);
2588 if (rv
== NULL
) return -1;
2589 return rv
- _datetime
;
2591 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2593 const wxChar
* _date
= date
;
2594 rv
= self
->ParseDate(_date
);
2595 if (rv
== NULL
) return -1;
2598 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2600 const wxChar
* _time
= time
;
2601 rv
= self
->ParseTime(_time
);
2602 if (rv
== NULL
) return -1;
2605 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2606 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2607 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2608 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2609 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2610 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2611 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2612 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2613 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2614 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2615 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2616 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2617 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2618 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2619 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2620 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2622 #include <wx/dataobj.h>
2624 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2625 size_t count
= self
->GetFormatCount(dir
);
2626 wxDataFormat
* formats
= new wxDataFormat
[count
];
2627 self
->GetAllFormats(formats
, dir
);
2629 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2630 PyObject
* list
= PyList_New(count
);
2631 for (size_t i
=0; i
<count
; i
++) {
2632 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2633 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2634 PyList_Append(list
, obj
);
2637 wxPyEndBlockThreads(blocked
);
2641 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2642 PyObject
* rval
= NULL
;
2643 size_t size
= self
->GetDataSize(format
);
2644 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2646 char* buf
= new char[size
];
2647 if (self
->GetDataHere(format
, buf
))
2648 rval
= PyString_FromStringAndSize(buf
, size
);
2655 wxPyEndBlockThreads(blocked
);
2658 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2660 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2661 if (PyString_Check(data
)) {
2662 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2665 // raise a TypeError if not a string
2666 PyErr_SetString(PyExc_TypeError
, "String expected.");
2669 wxPyEndBlockThreads(blocked
);
2672 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2673 PyObject
* rval
= NULL
;
2674 size_t size
= self
->GetDataSize();
2675 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2677 char* buf
= new char[size
];
2678 if (self
->GetDataHere(buf
))
2679 rval
= PyString_FromStringAndSize(buf
, size
);
2686 wxPyEndBlockThreads(blocked
);
2689 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2691 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2692 if (PyString_Check(data
)) {
2693 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2696 // raise a TypeError if not a string
2697 PyErr_SetString(PyExc_TypeError
, "String expected.");
2700 wxPyEndBlockThreads(blocked
);
2703 // Create a new class for wxPython to use
2704 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2706 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2707 : wxDataObjectSimple(format
) {}
2709 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2710 bool GetDataHere(void *buf
) const;
2711 bool SetData(size_t len
, const void *buf
) const;
2715 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2717 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2718 // We need to get the data for this object and write it to buf. I think
2719 // the best way to do this for wxPython is to have the Python method
2720 // return either a string or None and then act appropriately with the
2724 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2725 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2727 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2729 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2731 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2735 wxPyEndBlockThreads(blocked
);
2739 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2740 // For this one we simply need to make a string from buf and len
2741 // and send it to the Python method.
2743 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2744 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2745 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2746 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2749 wxPyEndBlockThreads(blocked
);
2753 // Create a new class for wxPython to use
2754 class wxPyTextDataObject
: public wxTextDataObject
{
2756 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2757 : wxTextDataObject(text
) {}
2759 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2760 DEC_PYCALLBACK_STRING__const(GetText
);
2761 DEC_PYCALLBACK__STRING(SetText
);
2765 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2766 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2767 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2770 // Create a new class for wxPython to use
2771 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2773 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2774 : wxBitmapDataObject(bitmap
) {}
2776 wxBitmap
GetBitmap() const;
2777 void SetBitmap(const wxBitmap
& bitmap
);
2781 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2782 wxBitmap
* rval
= &wxNullBitmap
;
2783 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2784 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2787 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2789 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2794 wxPyEndBlockThreads(blocked
);
2798 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2799 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2800 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2801 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2802 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2805 wxPyEndBlockThreads(blocked
);
2808 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2809 return new wxCustomDataObject(wxDataFormat(formatName
));
2811 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2814 if (PyString_Check(data
)) {
2815 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2818 // raise a TypeError if not a string
2819 PyErr_SetString(PyExc_TypeError
, "String expected.");
2822 wxPyEndBlockThreads(blocked
);
2825 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2827 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2828 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2829 wxPyEndBlockThreads(blocked
);
2833 #include <wx/metafile.h>
2836 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2839 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2841 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2842 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2843 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2846 class wxPyTextDropTarget
: public wxTextDropTarget
{
2848 wxPyTextDropTarget() {}
2850 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2852 DEC_PYCALLBACK__(OnLeave
);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2855 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2856 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2861 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2862 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2865 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2866 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2870 class wxPyFileDropTarget
: public wxFileDropTarget
{
2872 wxPyFileDropTarget() {}
2874 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2876 DEC_PYCALLBACK__(OnLeave
);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2879 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2880 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2885 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2886 const wxArrayString
& filenames
) {
2888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2889 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2890 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2891 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2894 wxPyEndBlockThreads(blocked
);
2900 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2903 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2904 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2909 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2911 #include <wx/display.h>
2913 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2914 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2916 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2918 #include <wx/dynarray.h>
2919 #include <wx/vidmode.h>
2921 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2922 #include "wx/arrimpl.cpp"
2923 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2924 const wxVideoMode wxDefaultVideoMode
;
2929 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2932 static size_t GetCount()
2933 { wxPyRaiseNotImplemented(); return 0; }
2935 static int GetFromPoint(const wxPoint
& pt
)
2936 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2937 static int GetFromWindow(wxWindow
*window
)
2938 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2940 virtual bool IsOk() const { return false; }
2941 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2942 virtual wxString
GetName() const { return wxEmptyString
; }
2943 bool IsPrimary() const { return false; }
2945 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2946 { wxArrayVideoModes a
; return a
; }
2948 virtual wxVideoMode
GetCurrentMode() const
2949 { return wxDefaultVideoMode
; }
2951 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2958 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2959 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2960 PyObject
* pyList
= NULL
;
2961 wxArrayVideoModes arr
= self
->GetModes(mode
);
2962 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2963 pyList
= PyList_New(0);
2964 for (int i
=0; i
< arr
.GetCount(); i
++) {
2965 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2966 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2967 PyList_Append(pyList
, pyObj
);
2970 wxPyEndBlockThreads(blocked
);
2974 #include <wx/stdpaths.h>
2976 static wxStandardPaths
*StandardPaths_Get(){
2977 return (wxStandardPaths
*) &wxStandardPaths::Get();
2979 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2980 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2984 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxSystemColour arg1
;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "index", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2995 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2996 if (SWIG_arg_fail(1)) SWIG_fail
;
2999 if (!wxPyCheckForApp()) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3007 wxColour
* resultptr
;
3008 resultptr
= new wxColour((wxColour
&)(result
));
3009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3017 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "index", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
3028 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
3029 if (SWIG_arg_fail(1)) SWIG_fail
;
3032 if (!wxPyCheckForApp()) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3041 resultptr
= new wxFont((wxFont
&)(result
));
3042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
3050 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxSystemMetric arg1
;
3053 wxWindow
*arg2
= (wxWindow
*) NULL
;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3058 (char *) "index",(char *) "win", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
3064 if (SWIG_arg_fail(1)) SWIG_fail
;
3067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3068 if (SWIG_arg_fail(2)) SWIG_fail
;
3071 if (!wxPyCheckForApp()) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
,arg2
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= SWIG_From_int((int)(result
));
3087 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxSystemFeature arg1
;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "index", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
3098 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
3099 if (SWIG_arg_fail(1)) SWIG_fail
;
3102 if (!wxPyCheckForApp()) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3118 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
*resultobj
;
3120 wxSystemScreenType result
;
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3127 if (!wxPyCheckForApp()) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= SWIG_From_int((result
));
3141 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxSystemScreenType arg1
;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "screen", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3151 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3152 if (SWIG_arg_fail(1)) SWIG_fail
;
3155 if (!wxPyCheckForApp()) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 Py_INCREF(Py_None
); resultobj
= Py_None
;
3169 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3172 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3174 return Py_BuildValue((char *)"");
3176 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3177 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3182 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3187 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3189 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3196 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxSystemOptions
*result
;
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (wxSystemOptions
*)new wxSystemOptions();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3218 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxString
*arg1
= 0 ;
3221 wxString
*arg2
= 0 ;
3222 bool temp1
= false ;
3223 bool temp2
= false ;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3227 (char *) "name",(char *) "value", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3232 arg1
= wxString_in_helper(obj0
);
3233 if (arg1
== NULL
) SWIG_fail
;
3237 arg2
= wxString_in_helper(obj1
);
3238 if (arg2
== NULL
) SWIG_fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3248 Py_INCREF(Py_None
); resultobj
= Py_None
;
3271 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxString
*arg1
= 0 ;
3275 bool temp1
= false ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3279 (char *) "name",(char *) "value", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3284 arg1
= wxString_in_helper(obj0
);
3285 if (arg1
== NULL
) SWIG_fail
;
3289 arg2
= (int)(SWIG_As_int(obj1
));
3290 if (SWIG_arg_fail(2)) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3314 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxString
*arg1
= 0 ;
3318 bool temp1
= false ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "name", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3326 arg1
= wxString_in_helper(obj0
);
3327 if (arg1
== NULL
) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3358 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxString
*arg1
= 0 ;
3362 bool temp1
= false ;
3363 PyObject
* obj0
= 0 ;
3365 (char *) "name", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3370 arg1
= wxString_in_helper(obj0
);
3371 if (arg1
== NULL
) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3382 resultobj
= SWIG_From_int((int)(result
));
3398 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxString
*arg1
= 0 ;
3402 bool temp1
= false ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "name", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3410 arg1
= wxString_in_helper(obj0
);
3411 if (arg1
== NULL
) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3438 static PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxString
*arg1
= 0 ;
3442 bool temp1
= false ;
3443 PyObject
* obj0
= 0 ;
3445 (char *) "name", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) goto fail
;
3450 arg1
= wxString_in_helper(obj0
);
3451 if (arg1
== NULL
) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3478 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3481 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3483 return Py_BuildValue((char *)"");
3485 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3486 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3491 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3496 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3498 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3505 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3506 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3511 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3516 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3518 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3525 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3526 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3531 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3536 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3538 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3545 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (long)wxNewId();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= SWIG_From_long((long)(result
));
3569 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3572 PyObject
* obj0
= 0 ;
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3579 arg1
= (long)(SWIG_As_long(obj0
));
3580 if (SWIG_arg_fail(1)) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 Py_INCREF(Py_None
); resultobj
= Py_None
;
3596 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (long)wxGetCurrentId();
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3612 resultobj
= SWIG_From_long((long)(result
));
3620 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3624 PyObject
* obj0
= 0 ;
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3631 arg1
= (int)(SWIG_As_int(obj0
));
3632 if (SWIG_arg_fail(1)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (bool)wxIsStockID(arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3650 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3653 wxString
*arg2
= 0 ;
3655 bool temp2
= false ;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3659 (char *) "id",(char *) "label", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 arg1
= (int)(SWIG_As_int(obj0
));
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 arg2
= wxString_in_helper(obj1
);
3669 if (arg2
== NULL
) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3696 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3699 bool arg2
= (bool) true ;
3700 wxString arg3
= (wxString
) wxPyEmptyString
;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 PyObject
* obj2
= 0 ;
3706 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3711 arg1
= (int)(SWIG_As_int(obj0
));
3712 if (SWIG_arg_fail(1)) SWIG_fail
;
3716 arg2
= (bool)(SWIG_As_bool(obj1
));
3717 if (SWIG_arg_fail(2)) SWIG_fail
;
3722 wxString
* sptr
= wxString_in_helper(obj2
);
3723 if (sptr
== NULL
) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3748 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3778 if (!wxPyCheckForApp()) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 bool arg1
= (bool) true ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "resetTimer", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3804 arg1
= (bool)(SWIG_As_bool(obj0
));
3805 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 result
= (long)wxGetElapsedTime(arg1
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_long((long)(result
));
3824 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 int *arg1
= (int *) 0 ;
3827 int *arg2
= (int *) 0 ;
3836 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3837 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3840 if (!wxPyCheckForApp()) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 wxGetMousePosition(arg1
,arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3849 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3850 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3851 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3858 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (bool)wxIsBusy();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3882 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3910 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3913 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3915 bool temp1
= false ;
3916 PyObject
* obj0
= 0 ;
3918 (char *) "command", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3924 arg1
= wxString_in_helper(obj0
);
3925 if (arg1
== NULL
) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (bool)wxShell((wxString
const &)*arg1
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3953 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 Py_INCREF(Py_None
); resultobj
= Py_None
;
3974 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 int *arg1
= (int *) 0 ;
3977 int *arg2
= (int *) 0 ;
3987 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3988 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (int)wxGetOsVersion(arg1
,arg2
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_From_int((int)(result
));
4000 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4001 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4002 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4003 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4010 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxGetOsDescription();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4038 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (long)wxGetFreeMemory();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_From_long((long)(result
));
4062 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxShutdownFlags arg1
;
4066 PyObject
* obj0
= 0 ;
4068 (char *) "wFlags", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
4073 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
4074 if (SWIG_arg_fail(1)) SWIG_fail
;
4077 if (!wxPyCheckForApp()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "secs", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
4103 arg1
= (int)(SWIG_As_int(obj0
));
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 Py_INCREF(Py_None
); resultobj
= Py_None
;
4120 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 unsigned long arg1
;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "milliseconds", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
4130 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 unsigned long arg1
;
4150 PyObject
* obj0
= 0 ;
4152 (char *) "microseconds", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
4157 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "enable", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4184 arg1
= (bool)(SWIG_As_bool(obj0
));
4185 if (SWIG_arg_fail(1)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 wxEnableTopLevelWindows(arg1
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 Py_INCREF(Py_None
); resultobj
= Py_None
;
4201 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxString
*arg1
= 0 ;
4205 bool temp1
= false ;
4206 PyObject
* obj0
= 0 ;
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4213 arg1
= wxString_in_helper(obj0
);
4214 if (arg1
== NULL
) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4245 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= wxGetEmailAddress();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4273 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= wxGetHostName();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4301 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= wxGetFullHostName();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4329 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= wxGetUserId();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4357 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= wxGetUserName();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4385 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= wxGetHomeDir();
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4413 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4416 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4418 bool temp1
= false ;
4419 PyObject
* obj0
= 0 ;
4421 (char *) "user", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4427 arg1
= wxString_in_helper(obj0
);
4428 if (arg1
== NULL
) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= wxGetUserHome((wxString
const &)*arg1
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4460 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 unsigned long result
;
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 result
= (unsigned long)wxGetProcessId();
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4484 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 Py_INCREF(Py_None
); resultobj
= Py_None
;
4505 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4508 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4509 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4511 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4512 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4513 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4514 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4515 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4516 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4517 int arg6
= (int) 0 ;
4518 wxWindow
*arg7
= (wxWindow
*) NULL
;
4519 int arg8
= (int) -1 ;
4520 int arg9
= (int) -1 ;
4522 bool temp1
= false ;
4523 bool temp2
= false ;
4524 bool temp3
= false ;
4525 bool temp4
= false ;
4526 bool temp5
= false ;
4527 PyObject
* obj0
= 0 ;
4528 PyObject
* obj1
= 0 ;
4529 PyObject
* obj2
= 0 ;
4530 PyObject
* obj3
= 0 ;
4531 PyObject
* obj4
= 0 ;
4532 PyObject
* obj5
= 0 ;
4533 PyObject
* obj6
= 0 ;
4534 PyObject
* obj7
= 0 ;
4535 PyObject
* obj8
= 0 ;
4537 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4543 arg1
= wxString_in_helper(obj0
);
4544 if (arg1
== NULL
) SWIG_fail
;
4550 arg2
= wxString_in_helper(obj1
);
4551 if (arg2
== NULL
) SWIG_fail
;
4557 arg3
= wxString_in_helper(obj2
);
4558 if (arg3
== NULL
) SWIG_fail
;
4564 arg4
= wxString_in_helper(obj3
);
4565 if (arg4
== NULL
) SWIG_fail
;
4571 arg5
= wxString_in_helper(obj4
);
4572 if (arg5
== NULL
) SWIG_fail
;
4578 arg6
= (int)(SWIG_As_int(obj5
));
4579 if (SWIG_arg_fail(6)) SWIG_fail
;
4583 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(7)) SWIG_fail
;
4588 arg8
= (int)(SWIG_As_int(obj7
));
4589 if (SWIG_arg_fail(8)) SWIG_fail
;
4594 arg9
= (int)(SWIG_As_int(obj8
));
4595 if (SWIG_arg_fail(9)) SWIG_fail
;
4599 if (!wxPyCheckForApp()) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4659 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxString
*arg1
= 0 ;
4662 wxString
*arg2
= 0 ;
4663 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4664 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4665 wxWindow
*arg4
= (wxWindow
*) NULL
;
4667 bool temp1
= false ;
4668 bool temp2
= false ;
4669 bool temp3
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4675 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4680 arg1
= wxString_in_helper(obj0
);
4681 if (arg1
== NULL
) SWIG_fail
;
4685 arg2
= wxString_in_helper(obj1
);
4686 if (arg2
== NULL
) SWIG_fail
;
4691 arg3
= wxString_in_helper(obj2
);
4692 if (arg3
== NULL
) SWIG_fail
;
4697 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4698 if (SWIG_arg_fail(4)) SWIG_fail
;
4701 if (!wxPyCheckForApp()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4745 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxString
*arg1
= 0 ;
4748 wxString
*arg2
= 0 ;
4749 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4750 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4751 wxWindow
*arg4
= (wxWindow
*) NULL
;
4753 bool temp1
= false ;
4754 bool temp2
= false ;
4755 bool temp3
= false ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4759 PyObject
* obj3
= 0 ;
4761 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4766 arg1
= wxString_in_helper(obj0
);
4767 if (arg1
== NULL
) SWIG_fail
;
4771 arg2
= wxString_in_helper(obj1
);
4772 if (arg2
== NULL
) SWIG_fail
;
4777 arg3
= wxString_in_helper(obj2
);
4778 if (arg3
== NULL
) SWIG_fail
;
4783 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4784 if (SWIG_arg_fail(4)) SWIG_fail
;
4787 if (!wxPyCheckForApp()) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4831 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4834 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4835 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4836 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4837 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4840 wxWindow
*arg5
= (wxWindow
*) NULL
;
4842 bool temp1
= false ;
4843 bool temp2
= false ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4847 PyObject
* obj2
= 0 ;
4848 PyObject
* obj3
= 0 ;
4849 PyObject
* obj4
= 0 ;
4851 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4857 arg1
= wxString_in_helper(obj0
);
4858 if (arg1
== NULL
) SWIG_fail
;
4864 arg2
= wxString_in_helper(obj1
);
4865 if (arg2
== NULL
) SWIG_fail
;
4871 arg3
= (long)(SWIG_As_long(obj2
));
4872 if (SWIG_arg_fail(3)) SWIG_fail
;
4878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4882 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4883 if (SWIG_arg_fail(5)) SWIG_fail
;
4886 if (!wxPyCheckForApp()) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4922 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxString
*arg1
= 0 ;
4925 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4926 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4929 wxWindow
*arg4
= (wxWindow
*) NULL
;
4930 int arg5
= (int) -1 ;
4931 int arg6
= (int) -1 ;
4932 bool arg7
= (bool) true ;
4934 bool temp1
= false ;
4935 bool temp2
= false ;
4936 bool temp3
= false ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4939 PyObject
* obj2
= 0 ;
4940 PyObject
* obj3
= 0 ;
4941 PyObject
* obj4
= 0 ;
4942 PyObject
* obj5
= 0 ;
4943 PyObject
* obj6
= 0 ;
4945 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4950 arg1
= wxString_in_helper(obj0
);
4951 if (arg1
== NULL
) SWIG_fail
;
4956 arg2
= wxString_in_helper(obj1
);
4957 if (arg2
== NULL
) SWIG_fail
;
4963 arg3
= wxString_in_helper(obj2
);
4964 if (arg3
== NULL
) SWIG_fail
;
4969 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4970 if (SWIG_arg_fail(4)) SWIG_fail
;
4974 arg5
= (int)(SWIG_As_int(obj4
));
4975 if (SWIG_arg_fail(5)) SWIG_fail
;
4980 arg6
= (int)(SWIG_As_int(obj5
));
4981 if (SWIG_arg_fail(6)) SWIG_fail
;
4986 arg7
= (bool)(SWIG_As_bool(obj6
));
4987 if (SWIG_arg_fail(7)) SWIG_fail
;
4991 if (!wxPyCheckForApp()) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5035 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxString
*arg1
= 0 ;
5038 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5039 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5042 wxWindow
*arg4
= (wxWindow
*) NULL
;
5044 bool temp1
= false ;
5045 bool temp2
= false ;
5046 bool temp3
= false ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5049 PyObject
* obj2
= 0 ;
5050 PyObject
* obj3
= 0 ;
5052 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5057 arg1
= wxString_in_helper(obj0
);
5058 if (arg1
== NULL
) SWIG_fail
;
5063 arg2
= wxString_in_helper(obj1
);
5064 if (arg2
== NULL
) SWIG_fail
;
5070 arg3
= wxString_in_helper(obj2
);
5071 if (arg3
== NULL
) SWIG_fail
;
5076 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5077 if (SWIG_arg_fail(4)) SWIG_fail
;
5080 if (!wxPyCheckForApp()) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5124 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxString
*arg1
= 0 ;
5127 wxString
*arg2
= 0 ;
5129 wxString
*arg4
= (wxString
*) 0 ;
5130 wxWindow
*arg5
= (wxWindow
*) NULL
;
5131 int arg6
= (int) -1 ;
5132 int arg7
= (int) -1 ;
5133 bool arg8
= (bool) true ;
5134 int arg9
= (int) 150 ;
5135 int arg10
= (int) 200 ;
5137 bool temp1
= false ;
5138 bool temp2
= false ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 PyObject
* obj2
= 0 ;
5142 PyObject
* obj3
= 0 ;
5143 PyObject
* obj4
= 0 ;
5144 PyObject
* obj5
= 0 ;
5145 PyObject
* obj6
= 0 ;
5146 PyObject
* obj7
= 0 ;
5147 PyObject
* obj8
= 0 ;
5149 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5154 arg1
= wxString_in_helper(obj0
);
5155 if (arg1
== NULL
) SWIG_fail
;
5159 arg2
= wxString_in_helper(obj1
);
5160 if (arg2
== NULL
) SWIG_fail
;
5164 arg3
= PyList_Size(obj2
);
5165 arg4
= wxString_LIST_helper(obj2
);
5166 if (arg4
== NULL
) SWIG_fail
;
5169 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5170 if (SWIG_arg_fail(5)) SWIG_fail
;
5174 arg6
= (int)(SWIG_As_int(obj4
));
5175 if (SWIG_arg_fail(6)) SWIG_fail
;
5180 arg7
= (int)(SWIG_As_int(obj5
));
5181 if (SWIG_arg_fail(7)) SWIG_fail
;
5186 arg8
= (bool)(SWIG_As_bool(obj6
));
5187 if (SWIG_arg_fail(8)) SWIG_fail
;
5192 arg9
= (int)(SWIG_As_int(obj7
));
5193 if (SWIG_arg_fail(9)) SWIG_fail
;
5198 arg10
= (int)(SWIG_As_int(obj8
));
5199 if (SWIG_arg_fail(10)) SWIG_fail
;
5203 if (!wxPyCheckForApp()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5226 if (arg4
) delete [] arg4
;
5239 if (arg4
) delete [] arg4
;
5245 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxString
*arg1
= 0 ;
5248 wxString
*arg2
= 0 ;
5250 wxString
*arg4
= (wxString
*) 0 ;
5251 wxWindow
*arg5
= (wxWindow
*) NULL
;
5252 int arg6
= (int) -1 ;
5253 int arg7
= (int) -1 ;
5254 bool arg8
= (bool) true ;
5255 int arg9
= (int) 150 ;
5256 int arg10
= (int) 200 ;
5258 bool temp1
= false ;
5259 bool temp2
= false ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5262 PyObject
* obj2
= 0 ;
5263 PyObject
* obj3
= 0 ;
5264 PyObject
* obj4
= 0 ;
5265 PyObject
* obj5
= 0 ;
5266 PyObject
* obj6
= 0 ;
5267 PyObject
* obj7
= 0 ;
5268 PyObject
* obj8
= 0 ;
5270 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5275 arg1
= wxString_in_helper(obj0
);
5276 if (arg1
== NULL
) SWIG_fail
;
5280 arg2
= wxString_in_helper(obj1
);
5281 if (arg2
== NULL
) SWIG_fail
;
5285 arg3
= PyList_Size(obj2
);
5286 arg4
= wxString_LIST_helper(obj2
);
5287 if (arg4
== NULL
) SWIG_fail
;
5290 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(5)) SWIG_fail
;
5295 arg6
= (int)(SWIG_As_int(obj4
));
5296 if (SWIG_arg_fail(6)) SWIG_fail
;
5301 arg7
= (int)(SWIG_As_int(obj5
));
5302 if (SWIG_arg_fail(7)) SWIG_fail
;
5307 arg8
= (bool)(SWIG_As_bool(obj6
));
5308 if (SWIG_arg_fail(8)) SWIG_fail
;
5313 arg9
= (int)(SWIG_As_int(obj7
));
5314 if (SWIG_arg_fail(9)) SWIG_fail
;
5319 arg10
= (int)(SWIG_As_int(obj8
));
5320 if (SWIG_arg_fail(10)) SWIG_fail
;
5324 if (!wxPyCheckForApp()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= SWIG_From_int((int)(result
));
5343 if (arg4
) delete [] arg4
;
5356 if (arg4
) delete [] arg4
;
5362 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxString
*arg1
= 0 ;
5365 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5366 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5367 int arg3
= (int) wxOK
|wxCENTRE
;
5368 wxWindow
*arg4
= (wxWindow
*) NULL
;
5369 int arg5
= (int) -1 ;
5370 int arg6
= (int) -1 ;
5372 bool temp1
= false ;
5373 bool temp2
= false ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 PyObject
* obj2
= 0 ;
5377 PyObject
* obj3
= 0 ;
5378 PyObject
* obj4
= 0 ;
5379 PyObject
* obj5
= 0 ;
5381 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5386 arg1
= wxString_in_helper(obj0
);
5387 if (arg1
== NULL
) SWIG_fail
;
5392 arg2
= wxString_in_helper(obj1
);
5393 if (arg2
== NULL
) SWIG_fail
;
5399 arg3
= (int)(SWIG_As_int(obj2
));
5400 if (SWIG_arg_fail(3)) SWIG_fail
;
5404 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(4)) SWIG_fail
;
5409 arg5
= (int)(SWIG_As_int(obj4
));
5410 if (SWIG_arg_fail(5)) SWIG_fail
;
5415 arg6
= (int)(SWIG_As_int(obj5
));
5416 if (SWIG_arg_fail(6)) SWIG_fail
;
5420 if (!wxPyCheckForApp()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_From_int((int)(result
));
5452 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxString
*arg1
= 0 ;
5455 wxString
*arg2
= 0 ;
5456 wxString
*arg3
= 0 ;
5458 long arg5
= (long) 0 ;
5459 long arg6
= (long) 100 ;
5460 wxWindow
*arg7
= (wxWindow
*) NULL
;
5461 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5462 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5464 bool temp1
= false ;
5465 bool temp2
= false ;
5466 bool temp3
= false ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5470 PyObject
* obj2
= 0 ;
5471 PyObject
* obj3
= 0 ;
5472 PyObject
* obj4
= 0 ;
5473 PyObject
* obj5
= 0 ;
5474 PyObject
* obj6
= 0 ;
5475 PyObject
* obj7
= 0 ;
5477 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5482 arg1
= wxString_in_helper(obj0
);
5483 if (arg1
== NULL
) SWIG_fail
;
5487 arg2
= wxString_in_helper(obj1
);
5488 if (arg2
== NULL
) SWIG_fail
;
5492 arg3
= wxString_in_helper(obj2
);
5493 if (arg3
== NULL
) SWIG_fail
;
5497 arg4
= (long)(SWIG_As_long(obj3
));
5498 if (SWIG_arg_fail(4)) SWIG_fail
;
5502 arg5
= (long)(SWIG_As_long(obj4
));
5503 if (SWIG_arg_fail(5)) SWIG_fail
;
5508 arg6
= (long)(SWIG_As_long(obj5
));
5509 if (SWIG_arg_fail(6)) SWIG_fail
;
5513 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5514 if (SWIG_arg_fail(7)) SWIG_fail
;
5519 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5523 if (!wxPyCheckForApp()) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_From_long((long)(result
));
5563 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5572 if (!wxPyCheckForApp()) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (bool)wxColourDisplay();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5588 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5597 if (!wxPyCheckForApp()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (int)wxDisplayDepth();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_From_int((int)(result
));
5613 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5622 if (!wxPyCheckForApp()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (int)wxGetDisplayDepth();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_From_int((int)(result
));
5638 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 int *arg1
= (int *) 0 ;
5641 int *arg2
= (int *) 0 ;
5650 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5651 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5654 if (!wxPyCheckForApp()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxDisplaySize(arg1
,arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5663 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5664 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5665 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5672 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5681 if (!wxPyCheckForApp()) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= wxGetDisplaySize();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5690 resultptr
= new wxSize((wxSize
&)(result
));
5691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5699 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 int *arg1
= (int *) 0 ;
5702 int *arg2
= (int *) 0 ;
5711 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5712 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5715 if (!wxPyCheckForApp()) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 wxDisplaySizeMM(arg1
,arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 Py_INCREF(Py_None
); resultobj
= Py_None
;
5723 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5724 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5725 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5726 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5733 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5742 if (!wxPyCheckForApp()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= wxGetDisplaySizeMM();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5751 resultptr
= new wxSize((wxSize
&)(result
));
5752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5760 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 int *arg1
= (int *) 0 ;
5763 int *arg2
= (int *) 0 ;
5764 int *arg3
= (int *) 0 ;
5765 int *arg4
= (int *) 0 ;
5778 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5779 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5780 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5781 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5784 if (!wxPyCheckForApp()) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5793 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5794 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5795 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5796 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5797 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5798 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5799 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5806 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5815 if (!wxPyCheckForApp()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= wxGetClientDisplayRect();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultptr
= new wxRect((wxRect
&)(result
));
5825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5833 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxCursor
*arg1
= 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "cursor", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 SWIG_null_ref("wxCursor");
5848 if (SWIG_arg_fail(1)) SWIG_fail
;
5851 if (!wxPyCheckForApp()) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 Py_INCREF(Py_None
); resultobj
= Py_None
;
5865 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "cursor", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail
;
5879 if (!wxPyCheckForApp()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxBeginBusyCursor(arg1
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5902 if (!wxPyCheckForApp()) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (wxWindow
*)wxGetActiveWindow();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= wxPyMake_wxObject(result
, 0);
5918 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5923 PyObject
* obj0
= 0 ;
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5931 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5934 if (!wxPyCheckForApp()) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= wxPyMake_wxObject(result
, 0);
5950 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5955 PyObject
* obj0
= 0 ;
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5963 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5966 if (!wxPyCheckForApp()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= wxPyMake_wxObject(result
, 0);
5982 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxWindow
*arg1
= (wxWindow
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "win", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5993 if (SWIG_arg_fail(1)) SWIG_fail
;
5995 if (!wxPyCheckForApp()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= wxPyMake_wxObject(result
, 0);
6011 static PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxString
*arg1
= 0 ;
6015 bool temp1
= false ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "url", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) goto fail
;
6023 arg1
= wxString_in_helper(obj0
);
6024 if (arg1
== NULL
) SWIG_fail
;
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6055 PyObject
* obj0
= 0 ;
6057 (char *) "key", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
6062 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
6063 if (SWIG_arg_fail(1)) SWIG_fail
;
6066 if (!wxPyCheckForApp()) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6082 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
6090 if (!wxPyCheckForApp()) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 wxWakeUpMainThread();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 Py_INCREF(Py_None
); resultobj
= Py_None
;
6104 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
6112 if (!wxPyCheckForApp()) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
6134 if (!wxPyCheckForApp()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxMutexGuiLocker
*result
;
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
6157 if (!wxPyCheckForApp()) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
6171 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "self", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
6180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(1)) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
6198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6199 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
6201 return Py_BuildValue((char *)"");
6203 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (bool)wxThread_IsMain();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6227 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxString
*arg1
= 0 ;
6231 bool temp1
= false ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "tip", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6239 arg1
= wxString_in_helper(obj0
);
6240 if (arg1
== NULL
) SWIG_fail
;
6244 if (!wxPyCheckForApp()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= wxPyMake_wxObject(result
, 1);
6268 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6271 wxString
*arg2
= 0 ;
6272 bool temp2
= false ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6276 (char *) "self",(char *) "tip", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail
;
6283 arg2
= wxString_in_helper(obj1
);
6284 if (arg2
== NULL
) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 (arg1
)->SetTip((wxString
const &)*arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (arg1
)->GetTip();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6341 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6347 (char *) "self", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6352 if (SWIG_arg_fail(1)) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (wxWindow
*)(arg1
)->GetWindow();
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= wxPyMake_wxObject(result
, 0);
6369 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6372 PyObject
* obj0
= 0 ;
6374 (char *) "flag", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6379 arg1
= (bool)(SWIG_As_bool(obj0
));
6380 if (SWIG_arg_fail(1)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 wxToolTip::Enable(arg1
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 Py_INCREF(Py_None
); resultobj
= Py_None
;
6396 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "milliseconds", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6406 arg1
= (long)(SWIG_As_long(obj0
));
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 wxToolTip::SetDelay(arg1
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6423 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6426 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6428 return Py_BuildValue((char *)"");
6430 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxWindow
*arg1
= (wxWindow
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6439 (char *) "window",(char *) "size", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6447 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6450 if (!wxPyCheckForApp()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6464 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxCaret
*arg1
= (wxCaret
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 wxCaret_Destroy(arg1
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxCaret
*arg1
= (wxCaret
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6500 if (SWIG_arg_fail(1)) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (bool)(arg1
)->IsOk();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6517 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxCaret
*arg1
= (wxCaret
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (bool)(arg1
)->IsVisible();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxCaret
*arg1
= (wxCaret
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6551 (char *) "self", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (arg1
)->GetPosition();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 wxPoint
* resultptr
;
6566 resultptr
= new wxPoint((wxPoint
&)(result
));
6567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6575 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxCaret
*arg1
= (wxCaret
*) 0 ;
6578 int *arg2
= (int *) 0 ;
6579 int *arg3
= (int *) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6590 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 (arg1
)->GetPosition(arg2
,arg3
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6603 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6604 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6605 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6612 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxCaret
*arg1
= (wxCaret
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6618 (char *) "self", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6623 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (arg1
)->GetSize();
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6633 resultptr
= new wxSize((wxSize
&)(result
));
6634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6642 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxCaret
*arg1
= (wxCaret
*) 0 ;
6645 int *arg2
= (int *) 0 ;
6646 int *arg3
= (int *) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6657 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6660 if (SWIG_arg_fail(1)) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 (arg1
)->GetSize(arg2
,arg3
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6670 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6671 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6672 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6679 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxCaret
*arg1
= (wxCaret
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6685 (char *) "self", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6690 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (wxWindow
*)(arg1
)->GetWindow();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= wxPyMake_wxObject(result
, 0);
6707 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxCaret
*arg1
= (wxCaret
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6714 PyObject
* obj2
= 0 ;
6716 (char *) "self",(char *) "x",(char *) "y", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6721 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= (int)(SWIG_As_int(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6727 arg3
= (int)(SWIG_As_int(obj2
));
6728 if (SWIG_arg_fail(3)) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 (arg1
)->Move(arg2
,arg3
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxCaret
*arg1
= (wxCaret
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "self",(char *) "pt", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6757 if (SWIG_arg_fail(1)) SWIG_fail
;
6760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 (arg1
)->Move((wxPoint
const &)*arg2
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 Py_INCREF(Py_None
); resultobj
= Py_None
;
6776 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxCaret
*arg1
= (wxCaret
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6785 (char *) "self",(char *) "width",(char *) "height", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail
;
6792 arg2
= (int)(SWIG_As_int(obj1
));
6793 if (SWIG_arg_fail(2)) SWIG_fail
;
6796 arg3
= (int)(SWIG_As_int(obj2
));
6797 if (SWIG_arg_fail(3)) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 (arg1
)->SetSize(arg2
,arg3
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 Py_INCREF(Py_None
); resultobj
= Py_None
;
6813 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxCaret
*arg1
= (wxCaret
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "size", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6826 if (SWIG_arg_fail(1)) SWIG_fail
;
6829 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 (arg1
)->SetSize((wxSize
const &)*arg2
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxCaret
*arg1
= (wxCaret
*) 0 ;
6848 int arg2
= (int) true ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "show", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6857 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 arg2
= (int)(SWIG_As_int(obj1
));
6861 if (SWIG_arg_fail(2)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxCaret
*arg1
= (wxCaret
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 Py_INCREF(Py_None
); resultobj
= Py_None
;
6903 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (int)wxCaret::GetBlinkTime();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_From_int((int)(result
));
6927 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "milliseconds", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6937 arg1
= (int)(SWIG_As_int(obj0
));
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 wxCaret::SetBlinkTime(arg1
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 Py_INCREF(Py_None
); resultobj
= Py_None
;
6954 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6957 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6959 return Py_BuildValue((char *)"");
6961 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6964 wxBusyCursor
*result
;
6965 PyObject
* obj0
= 0 ;
6967 (char *) "cursor", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6973 if (SWIG_arg_fail(1)) SWIG_fail
;
6976 if (!wxPyCheckForApp()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6990 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "self", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
7000 if (SWIG_arg_fail(1)) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
7017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7018 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
7020 return Py_BuildValue((char *)"");
7022 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxWindow
*arg1
= (wxWindow
*) NULL
;
7025 wxWindowDisabler
*result
;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "winToSkip", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7034 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 if (!wxPyCheckForApp()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
7051 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
7060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
7061 if (SWIG_arg_fail(1)) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
7078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7079 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
7081 return Py_BuildValue((char *)"");
7083 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxString
*arg1
= 0 ;
7087 bool temp1
= false ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "message", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
7095 arg1
= wxString_in_helper(obj0
);
7096 if (arg1
== NULL
) SWIG_fail
;
7100 if (!wxPyCheckForApp()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
7122 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
7149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7150 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
7152 return Py_BuildValue((char *)"");
7154 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxStopWatch
*result
;
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (wxStopWatch
*)new wxStopWatch();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
7176 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7179 long arg2
= (long) 0 ;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7183 (char *) "self",(char *) "t0", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
7187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7188 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 arg2
= (long)(SWIG_As_long(obj1
));
7192 if (SWIG_arg_fail(2)) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 (arg1
)->Start(arg2
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 Py_INCREF(Py_None
); resultobj
= Py_None
;
7209 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7214 (char *) "self", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7244 if (SWIG_arg_fail(1)) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7265 (char *) "self", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_From_long((long)(result
));
7287 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7290 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7292 return Py_BuildValue((char *)"");
7294 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 int arg1
= (int) 9 ;
7297 int arg2
= (int) wxID_FILE1
;
7298 wxFileHistory
*result
;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "maxFiles",(char *) "idBase", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7308 arg1
= (int)(SWIG_As_int(obj0
));
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7314 arg2
= (int)(SWIG_As_int(obj1
));
7315 if (SWIG_arg_fail(2)) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7332 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "self", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7360 wxString
*arg2
= 0 ;
7361 bool temp2
= false ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7365 (char *) "self",(char *) "file", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",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
;
7372 arg2
= wxString_in_helper(obj1
);
7373 if (arg2
== NULL
) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 Py_INCREF(Py_None
); resultobj
= Py_None
;
7398 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7403 PyObject
* obj1
= 0 ;
7405 (char *) "self",(char *) "i", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 arg2
= (int)(SWIG_As_int(obj1
));
7413 if (SWIG_arg_fail(2)) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 (arg1
)->RemoveFileFromHistory(arg2
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7440 if (SWIG_arg_fail(1)) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_From_int((int)(result
));
7457 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7460 wxMenu
*arg2
= (wxMenu
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7464 (char *) "self",(char *) "menu", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7469 if (SWIG_arg_fail(1)) SWIG_fail
;
7470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7471 if (SWIG_arg_fail(2)) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 (arg1
)->UseMenu(arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 Py_INCREF(Py_None
); resultobj
= Py_None
;
7486 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7489 wxMenu
*arg2
= (wxMenu
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7493 (char *) "self",(char *) "menu", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7498 if (SWIG_arg_fail(1)) SWIG_fail
;
7499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7500 if (SWIG_arg_fail(2)) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 (arg1
)->RemoveMenu(arg2
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7515 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7518 wxConfigBase
*arg2
= 0 ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7522 (char *) "self",(char *) "config", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7527 if (SWIG_arg_fail(1)) SWIG_fail
;
7529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7530 if (SWIG_arg_fail(2)) SWIG_fail
;
7532 SWIG_null_ref("wxConfigBase");
7534 if (SWIG_arg_fail(2)) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 (arg1
)->Load(*arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7553 wxConfigBase
*arg2
= 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "config", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(2)) SWIG_fail
;
7567 SWIG_null_ref("wxConfigBase");
7569 if (SWIG_arg_fail(2)) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 (arg1
)->Save(*arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 Py_INCREF(Py_None
); resultobj
= Py_None
;
7585 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7588 PyObject
* obj0
= 0 ;
7590 (char *) "self", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7595 if (SWIG_arg_fail(1)) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 (arg1
)->AddFilesToMenu();
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 Py_INCREF(Py_None
); resultobj
= Py_None
;
7610 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7613 wxMenu
*arg2
= (wxMenu
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7617 (char *) "self",(char *) "menu", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail
;
7623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7624 if (SWIG_arg_fail(2)) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 (arg1
)->AddFilesToMenu(arg2
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 Py_INCREF(Py_None
); resultobj
= Py_None
;
7639 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "i", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7652 if (SWIG_arg_fail(1)) SWIG_fail
;
7654 arg2
= (int)(SWIG_As_int(obj1
));
7655 if (SWIG_arg_fail(2)) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7677 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_From_int((int)(result
));
7705 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7708 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7710 return Py_BuildValue((char *)"");
7712 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxString
*arg1
= 0 ;
7715 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7716 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7717 wxSingleInstanceChecker
*result
;
7718 bool temp1
= false ;
7719 bool temp2
= false ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "name",(char *) "path", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7728 arg1
= wxString_in_helper(obj0
);
7729 if (arg1
== NULL
) SWIG_fail
;
7734 arg2
= wxString_in_helper(obj1
);
7735 if (arg2
== NULL
) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7769 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxSingleInstanceChecker
*result
;
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7791 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 Py_INCREF(Py_None
); resultobj
= Py_None
;
7816 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7819 wxString
*arg2
= 0 ;
7820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7823 bool temp2
= false ;
7824 bool temp3
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7829 (char *) "self",(char *) "name",(char *) "path", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail
;
7836 arg2
= wxString_in_helper(obj1
);
7837 if (arg2
== NULL
) SWIG_fail
;
7842 arg3
= wxString_in_helper(obj2
);
7843 if (arg3
== NULL
) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7879 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7885 (char *) "self", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7890 if (SWIG_arg_fail(1)) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7910 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7912 return Py_BuildValue((char *)"");
7914 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxWindow
*arg1
= (wxWindow
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7922 (char *) "window",(char *) "dc", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) goto fail
;
7926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7927 if (SWIG_arg_fail(1)) SWIG_fail
;
7929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7930 if (SWIG_arg_fail(2)) SWIG_fail
;
7932 SWIG_null_ref("wxDC");
7934 if (SWIG_arg_fail(2)) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7952 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7955 PyObject
* obj0
= 0 ;
7957 (char *) "self", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7962 if (SWIG_arg_fail(1)) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 Py_INCREF(Py_None
); resultobj
= Py_None
;
7977 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (arg1
)->GetTip();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8009 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
8019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8020 if (SWIG_arg_fail(1)) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (size_t)(arg1
)->GetCurrentTip();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
8037 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
8040 wxString
*arg2
= 0 ;
8042 bool temp2
= false ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8046 (char *) "self",(char *) "tip", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8053 arg2
= wxString_in_helper(obj1
);
8054 if (arg2
== NULL
) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8085 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
8087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
8090 return Py_BuildValue((char *)"");
8092 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8095 wxPyTipProvider
*result
;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "currentTip", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
8103 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
8120 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
8123 PyObject
*arg2
= (PyObject
*) 0 ;
8124 PyObject
*arg3
= (PyObject
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8127 PyObject
* obj2
= 0 ;
8129 (char *) "self",(char *) "self",(char *) "_class", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8134 if (SWIG_arg_fail(1)) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
8153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8154 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
8156 return Py_BuildValue((char *)"");
8158 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxWindow
*arg1
= (wxWindow
*) 0 ;
8161 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
8162 bool arg3
= (bool) true ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8168 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8173 if (SWIG_arg_fail(1)) SWIG_fail
;
8174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
8175 if (SWIG_arg_fail(2)) SWIG_fail
;
8178 arg3
= (bool)(SWIG_As_bool(obj2
));
8179 if (SWIG_arg_fail(3)) SWIG_fail
;
8183 if (!wxPyCheckForApp()) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8199 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxString
*arg1
= 0 ;
8203 wxTipProvider
*result
;
8204 bool temp1
= false ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8208 (char *) "filename",(char *) "currentTip", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
8213 arg1
= wxString_in_helper(obj0
);
8214 if (arg1
== NULL
) SWIG_fail
;
8218 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
8219 if (SWIG_arg_fail(2)) SWIG_fail
;
8222 if (!wxPyCheckForApp()) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8244 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8247 int arg2
= (int) -1 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "owner",(char *) "id", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail
;
8262 arg2
= (int)(SWIG_As_int(obj1
));
8263 if (SWIG_arg_fail(2)) SWIG_fail
;
8267 if (!wxPyCheckForApp()) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8281 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 (char *) "self", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8309 PyObject
*arg2
= (PyObject
*) 0 ;
8310 PyObject
*arg3
= (PyObject
*) 0 ;
8311 int arg4
= (int) 1 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8315 PyObject
* obj3
= 0 ;
8317 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8322 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 arg4
= (int)(SWIG_As_int(obj3
));
8328 if (SWIG_arg_fail(4)) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8345 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8348 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8349 int arg3
= (int) -1 ;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8352 PyObject
* obj2
= 0 ;
8354 (char *) "self",(char *) "owner",(char *) "id", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8359 if (SWIG_arg_fail(1)) SWIG_fail
;
8360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(2)) SWIG_fail
;
8364 arg3
= (int)(SWIG_As_int(obj2
));
8365 if (SWIG_arg_fail(3)) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetOwner(arg2
,arg3
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8385 wxEvtHandler
*result
;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",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
= (wxEvtHandler
*)(arg1
)->GetOwner();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= wxPyMake_wxObject(result
, 0);
8410 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8413 int arg2
= (int) -1 ;
8414 bool arg3
= (bool) false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8420 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail
;
8428 arg2
= (int)(SWIG_As_int(obj1
));
8429 if (SWIG_arg_fail(2)) SWIG_fail
;
8434 arg3
= (bool)(SWIG_As_bool(obj2
));
8435 if (SWIG_arg_fail(3)) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8454 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "self", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8464 if (SWIG_arg_fail(1)) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 Py_INCREF(Py_None
); resultobj
= Py_None
;
8479 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8483 PyObject
* obj0
= 0 ;
8485 (char *) "self", NULL
8488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8490 if (SWIG_arg_fail(1)) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8507 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8511 PyObject
* obj0
= 0 ;
8513 (char *) "self", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8518 if (SWIG_arg_fail(1)) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= SWIG_From_int((int)(result
));
8535 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8539 PyObject
* obj0
= 0 ;
8541 (char *) "self", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8546 if (SWIG_arg_fail(1)) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8563 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_From_int((int)(result
));
8591 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8594 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8596 return Py_BuildValue((char *)"");
8598 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 int arg1
= (int) 0 ;
8601 int arg2
= (int) 0 ;
8602 wxTimerEvent
*result
;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8606 (char *) "timerid",(char *) "interval", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8612 arg1
= (int)(SWIG_As_int(obj0
));
8613 if (SWIG_arg_fail(1)) SWIG_fail
;
8618 arg2
= (int)(SWIG_As_int(obj1
));
8619 if (SWIG_arg_fail(2)) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8636 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8642 (char *) "self", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8647 if (SWIG_arg_fail(1)) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_From_int((int)(result
));
8664 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8667 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8669 return Py_BuildValue((char *)"");
8671 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8672 PyObject
*resultobj
;
8674 wxTimerRunner
*result
;
8675 PyObject
* obj0
= 0 ;
8677 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8680 if (SWIG_arg_fail(1)) SWIG_fail
;
8682 SWIG_null_ref("wxTimer");
8684 if (SWIG_arg_fail(1)) SWIG_fail
;
8687 if (!wxPyCheckForApp()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8701 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8702 PyObject
*resultobj
;
8705 bool arg3
= (bool) false ;
8706 wxTimerRunner
*result
;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 PyObject
* obj2
= 0 ;
8711 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8714 if (SWIG_arg_fail(1)) SWIG_fail
;
8716 SWIG_null_ref("wxTimer");
8718 if (SWIG_arg_fail(1)) SWIG_fail
;
8721 arg2
= (int)(SWIG_As_int(obj1
));
8722 if (SWIG_arg_fail(2)) SWIG_fail
;
8726 arg3
= (bool)(SWIG_As_bool(obj2
));
8727 if (SWIG_arg_fail(3)) SWIG_fail
;
8731 if (!wxPyCheckForApp()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8745 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8750 argc
= PyObject_Length(args
);
8751 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8752 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8758 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8766 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8769 if ((argc
>= 2) && (argc
<= 3)) {
8773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8781 _v
= SWIG_Check_int(argv
[1]);
8784 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8786 _v
= SWIG_Check_bool(argv
[2]);
8788 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8794 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8799 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8828 bool arg3
= (bool) false ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8831 PyObject
* obj2
= 0 ;
8833 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8838 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 arg2
= (int)(SWIG_As_int(obj1
));
8841 if (SWIG_arg_fail(2)) SWIG_fail
;
8845 arg3
= (bool)(SWIG_As_bool(obj2
));
8846 if (SWIG_arg_fail(3)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->Start(arg2
,arg3
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8866 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8868 return Py_BuildValue((char *)"");
8870 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxLog
*)new wxLog();
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8892 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (bool)wxLog::IsEnabled();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 bool arg1
= (bool) true ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "doIt", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8928 arg1
= (bool)(SWIG_As_bool(obj0
));
8929 if (SWIG_arg_fail(1)) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (bool)wxLog::EnableLogging(arg1
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8951 wxChar
*arg2
= (wxChar
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8957 (char *) "level",(char *) "szString",(char *) "t", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8962 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8963 if (SWIG_arg_fail(1)) SWIG_fail
;
8965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8966 if (SWIG_arg_fail(2)) SWIG_fail
;
8968 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8969 if (SWIG_arg_fail(3)) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8985 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxLog
*arg1
= (wxLog
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8990 (char *) "self", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8995 if (SWIG_arg_fail(1)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxLog::FlushActive();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (wxLog
*)wxLog::GetActiveTarget();
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9053 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxLog
*arg1
= (wxLog
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "pLogger", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
9063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9079 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 bool arg1
= (bool) true ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "bVerbose", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
9132 arg1
= (bool)(SWIG_As_bool(obj0
));
9133 if (SWIG_arg_fail(1)) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 wxLog::SetVerbose(arg1
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9153 PyObject
* obj0
= 0 ;
9155 (char *) "logLevel", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
9160 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 wxLog::SetLogLevel(arg1
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9177 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 wxLog::DontCreateOnDemand();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9201 PyObject
* obj0
= 0 ;
9203 (char *) "ulMask", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
9208 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
9209 if (SWIG_arg_fail(1)) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 wxLog::SetTraceMask(arg1
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9225 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxString
*arg1
= 0 ;
9228 bool temp1
= false ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "str", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
9236 arg1
= wxString_in_helper(obj0
);
9237 if (arg1
== NULL
) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 wxLog::AddTraceMask((wxString
const &)*arg1
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 Py_INCREF(Py_None
); resultobj
= Py_None
;
9262 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxString
*arg1
= 0 ;
9265 bool temp1
= false ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "str", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9273 arg1
= wxString_in_helper(obj0
);
9274 if (arg1
== NULL
) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 wxLog::ClearTraceMasks();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 Py_INCREF(Py_None
); resultobj
= Py_None
;
9320 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxArrayString
*result
;
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9332 result
= (wxArrayString
*) &_result_ref
;
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= wxArrayString2PyList_helper(*result
);
9347 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxChar
*arg1
= (wxChar
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 wxLog::SetTimestamp((wxChar
const *)arg1
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (bool)wxLog::GetVerbose();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9396 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (wxTraceMask
)wxLog::GetTraceMask();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9420 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxChar
*arg1
= (wxChar
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "mask", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9431 if (SWIG_arg_fail(1)) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9448 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (wxLogLevel
)wxLog::GetLogLevel();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9472 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (wxChar
*)wxLog::GetTimestamp();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9494 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= Log_TimeStamp();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9522 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxLog
*arg1
= (wxLog
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 wxLog_Destroy(arg1
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9550 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9552 return Py_BuildValue((char *)"");
9554 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxLogStderr
*result
;
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 result
= (wxLogStderr
*)new wxLogStderr();
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9576 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9579 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9581 return Py_BuildValue((char *)"");
9583 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9586 wxLogTextCtrl
*result
;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "pTextCtrl", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9609 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9614 return Py_BuildValue((char *)"");
9616 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (wxLogGui
*)new wxLogGui();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9638 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9641 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9643 return Py_BuildValue((char *)"");
9645 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxFrame
*arg1
= (wxFrame
*) 0 ;
9648 wxString
*arg2
= 0 ;
9649 bool arg3
= (bool) true ;
9650 bool arg4
= (bool) true ;
9651 wxLogWindow
*result
;
9652 bool temp2
= false ;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9655 PyObject
* obj2
= 0 ;
9656 PyObject
* obj3
= 0 ;
9658 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9663 if (SWIG_arg_fail(1)) SWIG_fail
;
9665 arg2
= wxString_in_helper(obj1
);
9666 if (arg2
== NULL
) SWIG_fail
;
9671 arg3
= (bool)(SWIG_As_bool(obj2
));
9672 if (SWIG_arg_fail(3)) SWIG_fail
;
9677 arg4
= (bool)(SWIG_As_bool(obj3
));
9678 if (SWIG_arg_fail(4)) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9703 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9706 bool arg2
= (bool) true ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9710 (char *) "self",(char *) "bShow", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 arg2
= (bool)(SWIG_As_bool(obj1
));
9719 if (SWIG_arg_fail(2)) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9736 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= wxPyMake_wxObject(result
, 0);
9764 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9770 (char *) "self", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9775 if (SWIG_arg_fail(1)) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9790 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9801 if (SWIG_arg_fail(1)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9818 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9825 (char *) "self",(char *) "bDoPass", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail
;
9832 arg2
= (bool)(SWIG_As_bool(obj1
));
9833 if (SWIG_arg_fail(2)) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 (arg1
)->PassMessages(arg2
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 Py_INCREF(Py_None
); resultobj
= Py_None
;
9849 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9852 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9854 return Py_BuildValue((char *)"");
9856 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxLog
*arg1
= (wxLog
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9862 (char *) "logger", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9867 if (SWIG_arg_fail(1)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (wxLogChain
*)new wxLogChain(arg1
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9882 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9885 wxLog
*arg2
= (wxLog
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9889 (char *) "self",(char *) "logger", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9894 if (SWIG_arg_fail(1)) SWIG_fail
;
9895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9896 if (SWIG_arg_fail(2)) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 (arg1
)->SetLog(arg2
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 Py_INCREF(Py_None
); resultobj
= Py_None
;
9911 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9913 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9918 (char *) "self",(char *) "bDoPass", NULL
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9923 if (SWIG_arg_fail(1)) SWIG_fail
;
9925 arg2
= (bool)(SWIG_As_bool(obj1
));
9926 if (SWIG_arg_fail(2)) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 (arg1
)->PassMessages(arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 Py_INCREF(Py_None
); resultobj
= Py_None
;
9942 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9948 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9953 if (SWIG_arg_fail(1)) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->IsPassingMessages();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9970 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (wxLog
*)(arg1
)->GetOldLog();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9996 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9999 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
10001 return Py_BuildValue((char *)"");
10003 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 unsigned long result
;
10006 char *kwnames
[] = {
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (unsigned long)wxSysErrorCode();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10027 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 unsigned long arg1
= (unsigned long) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "nErrCode", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
10039 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10040 if (SWIG_arg_fail(1)) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= wxSysErrorMsg(arg1
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10063 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxString
*arg1
= 0 ;
10066 bool temp1
= false ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "msg", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
10074 arg1
= wxString_in_helper(obj0
);
10075 if (arg1
== NULL
) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 wxPyLogFatalError((wxString
const &)*arg1
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 Py_INCREF(Py_None
); resultobj
= Py_None
;
10100 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxString
*arg1
= 0 ;
10103 bool temp1
= false ;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "msg", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
10111 arg1
= wxString_in_helper(obj0
);
10112 if (arg1
== NULL
) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 wxPyLogError((wxString
const &)*arg1
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxString
*arg1
= 0 ;
10140 bool temp1
= false ;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "msg", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
10148 arg1
= wxString_in_helper(obj0
);
10149 if (arg1
== NULL
) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 wxPyLogWarning((wxString
const &)*arg1
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxString
*arg1
= 0 ;
10177 bool temp1
= false ;
10178 PyObject
* obj0
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "msg", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
10185 arg1
= wxString_in_helper(obj0
);
10186 if (arg1
== NULL
) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 wxPyLogMessage((wxString
const &)*arg1
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 Py_INCREF(Py_None
); resultobj
= Py_None
;
10211 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxString
*arg1
= 0 ;
10214 bool temp1
= false ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "msg", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
10222 arg1
= wxString_in_helper(obj0
);
10223 if (arg1
== NULL
) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 wxPyLogInfo((wxString
const &)*arg1
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10248 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxString
*arg1
= 0 ;
10251 bool temp1
= false ;
10252 PyObject
* obj0
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "msg", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10259 arg1
= wxString_in_helper(obj0
);
10260 if (arg1
== NULL
) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 wxPyLogDebug((wxString
const &)*arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxString
*arg1
= 0 ;
10288 bool temp1
= false ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "msg", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10296 arg1
= wxString_in_helper(obj0
);
10297 if (arg1
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 wxPyLogVerbose((wxString
const &)*arg1
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 Py_INCREF(Py_None
); resultobj
= Py_None
;
10322 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxString
*arg1
= 0 ;
10325 bool temp1
= false ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "msg", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10333 arg1
= wxString_in_helper(obj0
);
10334 if (arg1
== NULL
) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 wxPyLogStatus((wxString
const &)*arg1
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxFrame
*arg1
= (wxFrame
*) 0 ;
10362 wxString
*arg2
= 0 ;
10363 bool temp2
= false ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "pFrame",(char *) "msg", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10372 if (SWIG_arg_fail(1)) SWIG_fail
;
10374 arg2
= wxString_in_helper(obj1
);
10375 if (arg2
== NULL
) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxString
*arg1
= 0 ;
10403 bool temp1
= false ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "msg", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10411 arg1
= wxString_in_helper(obj0
);
10412 if (arg1
== NULL
) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 wxPyLogSysError((wxString
const &)*arg1
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 Py_INCREF(Py_None
); resultobj
= Py_None
;
10437 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 unsigned long arg1
;
10440 wxString
*arg2
= 0 ;
10441 bool temp2
= false ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "level",(char *) "msg", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10450 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10454 arg2
= wxString_in_helper(obj1
);
10455 if (arg2
== NULL
) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10481 PyObject
*resultobj
;
10482 unsigned long arg1
;
10483 wxString
*arg2
= 0 ;
10484 bool temp2
= false ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10488 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10490 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10491 if (SWIG_arg_fail(1)) SWIG_fail
;
10494 arg2
= wxString_in_helper(obj1
);
10495 if (arg2
== NULL
) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10521 PyObject
*resultobj
;
10522 wxString
*arg1
= 0 ;
10523 wxString
*arg2
= 0 ;
10524 bool temp1
= false ;
10525 bool temp2
= false ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10529 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10531 arg1
= wxString_in_helper(obj0
);
10532 if (arg1
== NULL
) SWIG_fail
;
10536 arg2
= wxString_in_helper(obj1
);
10537 if (arg2
== NULL
) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 Py_INCREF(Py_None
); resultobj
= Py_None
;
10570 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10575 argc
= PyObject_Length(args
);
10576 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10577 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10582 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10586 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10589 return _wrap_LogTrace__SWIG_1(self
,args
);
10595 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10598 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10601 return _wrap_LogTrace__SWIG_0(self
,args
);
10606 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10611 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxString
*arg1
= 0 ;
10614 wxString
*arg2
= 0 ;
10615 bool temp1
= false ;
10616 bool temp2
= false ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "title",(char *) "text", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 arg1
= wxString_in_helper(obj0
);
10626 if (arg1
== NULL
) SWIG_fail
;
10630 arg2
= wxString_in_helper(obj1
);
10631 if (arg2
== NULL
) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10667 char *kwnames
[] = {
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (wxLogNull
*)new wxLogNull();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10686 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10714 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10716 return Py_BuildValue((char *)"");
10718 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10721 char *kwnames
[] = {
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (wxPyLog
*)new wxPyLog();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10740 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
;
10742 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10743 PyObject
*arg2
= (PyObject
*) 0 ;
10744 PyObject
*arg3
= (PyObject
*) 0 ;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 PyObject
* obj2
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "self",(char *) "_class", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10754 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10774 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10776 return Py_BuildValue((char *)"");
10778 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10781 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10782 int arg3
= (int) wxKILL_NOCHILDREN
;
10783 wxKillError result
;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 PyObject
* obj2
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10793 arg1
= (int)(SWIG_As_int(obj0
));
10794 if (SWIG_arg_fail(1)) SWIG_fail
;
10798 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10799 if (SWIG_arg_fail(2)) SWIG_fail
;
10804 arg3
= (int)(SWIG_As_int(obj2
));
10805 if (SWIG_arg_fail(3)) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_From_int((result
));
10822 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10826 PyObject
* obj0
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "pid", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10833 arg1
= (int)(SWIG_As_int(obj0
));
10834 if (SWIG_arg_fail(1)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (bool)wxPyProcess::Exists(arg1
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxString
*arg1
= 0 ;
10855 int arg2
= (int) wxEXEC_ASYNC
;
10856 wxPyProcess
*result
;
10857 bool temp1
= false ;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "cmd",(char *) "flags", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 arg1
= wxString_in_helper(obj0
);
10867 if (arg1
== NULL
) SWIG_fail
;
10872 arg2
= (int)(SWIG_As_int(obj1
));
10873 if (SWIG_arg_fail(2)) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10898 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10901 int arg2
= (int) -1 ;
10902 wxPyProcess
*result
;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "parent",(char *) "id", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail
;
10916 arg2
= (int)(SWIG_As_int(obj1
));
10917 if (SWIG_arg_fail(2)) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10934 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10937 PyObject
*arg2
= (PyObject
*) 0 ;
10938 PyObject
*arg3
= (PyObject
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 PyObject
* obj2
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self",(char *) "self",(char *) "_class", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 Py_INCREF(Py_None
); resultobj
= Py_None
;
10965 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 PyObject
* obj2
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "pid",(char *) "status", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail
;
10981 arg2
= (int)(SWIG_As_int(obj1
));
10982 if (SWIG_arg_fail(2)) SWIG_fail
;
10985 arg3
= (int)(SWIG_As_int(obj2
));
10986 if (SWIG_arg_fail(3)) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->base_OnTerminate(arg2
,arg3
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
11011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 (arg1
)->Redirect();
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 Py_INCREF(Py_None
); resultobj
= Py_None
;
11027 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
11037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11038 if (SWIG_arg_fail(1)) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (bool)(arg1
)->IsRedirected();
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
11064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11065 if (SWIG_arg_fail(1)) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 Py_INCREF(Py_None
); resultobj
= Py_None
;
11080 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11083 wxInputStream
*result
;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
11090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (wxInputStream
*)(arg1
)->GetInputStream();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 wxPyInputStream
* _ptr
= NULL
;
11103 _ptr
= new wxPyInputStream(result
);
11105 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11113 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11116 wxInputStream
*result
;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
11123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 wxPyInputStream
* _ptr
= NULL
;
11136 _ptr
= new wxPyInputStream(result
);
11138 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
11146 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11149 wxOutputStream
*result
;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
11156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11157 if (SWIG_arg_fail(1)) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
11172 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
11181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->CloseOutput();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
11207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11208 if (SWIG_arg_fail(1)) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11225 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
11235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11284 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11286 return Py_BuildValue((char *)"");
11288 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 int arg1
= (int) 0 ;
11291 int arg2
= (int) 0 ;
11292 int arg3
= (int) 0 ;
11293 wxProcessEvent
*result
;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11304 arg1
= (int)(SWIG_As_int(obj0
));
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11310 arg2
= (int)(SWIG_As_int(obj1
));
11311 if (SWIG_arg_fail(2)) SWIG_fail
;
11316 arg3
= (int)(SWIG_As_int(obj2
));
11317 if (SWIG_arg_fail(3)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11334 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (int)(arg1
)->GetPid();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_From_int((int)(result
));
11362 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (int)(arg1
)->GetExitCode();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_int((int)(result
));
11390 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "m_pid", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11402 if (SWIG_arg_fail(1)) SWIG_fail
;
11404 arg2
= (int)(SWIG_As_int(obj1
));
11405 if (SWIG_arg_fail(2)) SWIG_fail
;
11407 if (arg1
) (arg1
)->m_pid
= arg2
;
11409 Py_INCREF(Py_None
); resultobj
= Py_None
;
11416 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11420 PyObject
* obj0
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail
;
11428 result
= (int) ((arg1
)->m_pid
);
11431 resultobj
= SWIG_From_int((int)(result
));
11439 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self",(char *) "m_exitcode", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11451 if (SWIG_arg_fail(1)) SWIG_fail
;
11453 arg2
= (int)(SWIG_As_int(obj1
));
11454 if (SWIG_arg_fail(2)) SWIG_fail
;
11456 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11458 Py_INCREF(Py_None
); resultobj
= Py_None
;
11465 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11476 if (SWIG_arg_fail(1)) SWIG_fail
;
11477 result
= (int) ((arg1
)->m_exitcode
);
11480 resultobj
= SWIG_From_int((int)(result
));
11488 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11493 return Py_BuildValue((char *)"");
11495 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxString
*arg1
= 0 ;
11498 int arg2
= (int) wxEXEC_ASYNC
;
11499 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11501 bool temp1
= false ;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "command",(char *) "flags",(char *) "process", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11511 arg1
= wxString_in_helper(obj0
);
11512 if (arg1
== NULL
) SWIG_fail
;
11517 arg2
= (int)(SWIG_As_int(obj1
));
11518 if (SWIG_arg_fail(2)) SWIG_fail
;
11522 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11523 if (SWIG_arg_fail(3)) SWIG_fail
;
11526 if (!wxPyCheckForApp()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= SWIG_From_long((long)(result
));
11550 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11553 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11554 wxKillError
*arg3
= (wxKillError
*) 0 ;
11555 int arg4
= (int) wxKILL_NOCHILDREN
;
11557 wxKillError temp3
;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11570 arg1
= (long)(SWIG_As_long(obj0
));
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11575 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11576 if (SWIG_arg_fail(2)) SWIG_fail
;
11581 arg4
= (int)(SWIG_As_int(obj2
));
11582 if (SWIG_arg_fail(4)) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_From_int((int)(result
));
11597 o
= PyInt_FromLong((long) (*arg3
));
11598 resultobj
= t_output_helper(resultobj
, o
);
11606 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 int arg1
= (int) wxJOYSTICK1
;
11609 wxJoystick
*result
;
11610 PyObject
* obj0
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "joystick", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11618 arg1
= (int)(SWIG_As_int(obj0
));
11619 if (SWIG_arg_fail(1)) SWIG_fail
;
11623 if (!wxPyCheckForApp()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (wxJoystick
*)new wxJoystick(arg1
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11637 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11647 if (SWIG_arg_fail(1)) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 Py_INCREF(Py_None
); resultobj
= Py_None
;
11662 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11673 if (SWIG_arg_fail(1)) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (arg1
)->GetPosition();
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11682 wxPoint
* resultptr
;
11683 resultptr
= new wxPoint((wxPoint
&)(result
));
11684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11692 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11696 PyObject
* obj0
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11703 if (SWIG_arg_fail(1)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (int)(arg1
)->GetZPosition();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_From_int((int)(result
));
11720 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11724 PyObject
* obj0
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (int)(arg1
)->GetButtonState();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_From_int((int)(result
));
11748 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (int)(arg1
)->GetPOVPosition();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_From_int((int)(result
));
11776 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11780 PyObject
* obj0
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11787 if (SWIG_arg_fail(1)) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 result
= (int)(arg1
)->GetPOVCTSPosition();
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_From_int((int)(result
));
11804 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11808 PyObject
* obj0
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11815 if (SWIG_arg_fail(1)) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (int)(arg1
)->GetRudderPosition();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_From_int((int)(result
));
11832 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11836 PyObject
* obj0
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11843 if (SWIG_arg_fail(1)) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (int)(arg1
)->GetUPosition();
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_From_int((int)(result
));
11860 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 char *kwnames
[] = {
11866 (char *) "self", NULL
11869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11871 if (SWIG_arg_fail(1)) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (int)(arg1
)->GetVPosition();
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_From_int((int)(result
));
11888 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11892 PyObject
* obj0
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "self", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11899 if (SWIG_arg_fail(1)) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (int)(arg1
)->GetMovementThreshold();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_From_int((int)(result
));
11916 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "threshold", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11928 if (SWIG_arg_fail(1)) SWIG_fail
;
11930 arg2
= (int)(SWIG_As_int(obj1
));
11931 if (SWIG_arg_fail(2)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 (arg1
)->SetMovementThreshold(arg2
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11958 if (SWIG_arg_fail(1)) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (bool)(arg1
)->IsOk();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11975 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11979 PyObject
* obj0
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11986 if (SWIG_arg_fail(1)) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (int)(arg1
)->GetNumberJoysticks();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_From_int((int)(result
));
12003 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12007 PyObject
* obj0
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
12013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12014 if (SWIG_arg_fail(1)) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (int)(arg1
)->GetManufacturerId();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int((int)(result
));
12031 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
12041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12042 if (SWIG_arg_fail(1)) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (int)(arg1
)->GetProductId();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_From_int((int)(result
));
12059 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
12069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12070 if (SWIG_arg_fail(1)) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (arg1
)->GetProductName();
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12091 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
12101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12102 if (SWIG_arg_fail(1)) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (int)(arg1
)->GetXMin();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_From_int((int)(result
));
12119 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
12129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12130 if (SWIG_arg_fail(1)) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (int)(arg1
)->GetYMin();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_From_int((int)(result
));
12147 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
12157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12158 if (SWIG_arg_fail(1)) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (int)(arg1
)->GetZMin();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_From_int((int)(result
));
12175 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
12185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12186 if (SWIG_arg_fail(1)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (int)(arg1
)->GetXMax();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int((int)(result
));
12203 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
12213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (int)(arg1
)->GetYMax();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_From_int((int)(result
));
12231 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
12241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (int)(arg1
)->GetZMax();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_From_int((int)(result
));
12259 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12270 if (SWIG_arg_fail(1)) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (int)(arg1
)->GetNumberButtons();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_From_int((int)(result
));
12287 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12298 if (SWIG_arg_fail(1)) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (int)(arg1
)->GetNumberAxes();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_From_int((int)(result
));
12315 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12326 if (SWIG_arg_fail(1)) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (int)(arg1
)->GetMaxButtons();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_From_int((int)(result
));
12343 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12354 if (SWIG_arg_fail(1)) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (int)(arg1
)->GetMaxAxes();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_From_int((int)(result
));
12371 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (int)(arg1
)->GetPollingMin();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_From_int((int)(result
));
12399 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (int)(arg1
)->GetPollingMax();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_From_int((int)(result
));
12427 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
;
12429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12431 PyObject
* obj0
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12438 if (SWIG_arg_fail(1)) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (int)(arg1
)->GetRudderMin();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_From_int((int)(result
));
12455 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (int)(arg1
)->GetRudderMax();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_From_int((int)(result
));
12483 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (int)(arg1
)->GetUMin();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_From_int((int)(result
));
12511 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (int)(arg1
)->GetUMax();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_From_int((int)(result
));
12539 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (int)(arg1
)->GetVMin();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_From_int((int)(result
));
12567 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12578 if (SWIG_arg_fail(1)) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (int)(arg1
)->GetVMax();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_From_int((int)(result
));
12595 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12606 if (SWIG_arg_fail(1)) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (bool)(arg1
)->HasRudder();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12623 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12634 if (SWIG_arg_fail(1)) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (bool)(arg1
)->HasZ();
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12651 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12662 if (SWIG_arg_fail(1)) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (bool)(arg1
)->HasU();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12679 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "self", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12690 if (SWIG_arg_fail(1)) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= (bool)(arg1
)->HasV();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12707 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12718 if (SWIG_arg_fail(1)) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (bool)(arg1
)->HasPOV();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12735 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (bool)(arg1
)->HasPOV4Dir();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12763 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (bool)(arg1
)->HasPOVCTS();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12791 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12794 wxWindow
*arg2
= (wxWindow
*) 0 ;
12795 int arg3
= (int) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 PyObject
* obj2
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail
;
12807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12808 if (SWIG_arg_fail(2)) SWIG_fail
;
12811 arg3
= (int)(SWIG_As_int(obj2
));
12812 if (SWIG_arg_fail(3)) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12831 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12842 if (SWIG_arg_fail(1)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->ReleaseCapture();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12859 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12862 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12864 return Py_BuildValue((char *)"");
12866 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12869 int arg2
= (int) 0 ;
12870 int arg3
= (int) wxJOYSTICK1
;
12871 int arg4
= (int) 0 ;
12872 wxJoystickEvent
*result
;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 PyObject
* obj2
= 0 ;
12876 PyObject
* obj3
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12884 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12885 if (SWIG_arg_fail(1)) SWIG_fail
;
12890 arg2
= (int)(SWIG_As_int(obj1
));
12891 if (SWIG_arg_fail(2)) SWIG_fail
;
12896 arg3
= (int)(SWIG_As_int(obj2
));
12897 if (SWIG_arg_fail(3)) SWIG_fail
;
12902 arg4
= (int)(SWIG_As_int(obj3
));
12903 if (SWIG_arg_fail(4)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12920 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12931 if (SWIG_arg_fail(1)) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 wxPoint
* resultptr
;
12941 resultptr
= new wxPoint((wxPoint
&)(result
));
12942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12950 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_From_int((int)(result
));
12978 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12989 if (SWIG_arg_fail(1)) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= SWIG_From_int((int)(result
));
13006 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 char *kwnames
[] = {
13012 (char *) "self", NULL
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13017 if (SWIG_arg_fail(1)) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_From_int((int)(result
));
13034 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13045 if (SWIG_arg_fail(1)) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_From_int((int)(result
));
13062 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self",(char *) "stick", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13074 if (SWIG_arg_fail(1)) SWIG_fail
;
13076 arg2
= (int)(SWIG_As_int(obj1
));
13077 if (SWIG_arg_fail(2)) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 (arg1
)->SetJoystick(arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 Py_INCREF(Py_None
); resultobj
= Py_None
;
13093 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self",(char *) "state", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
13108 if (SWIG_arg_fail(2)) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 (arg1
)->SetButtonState(arg2
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "change", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail
;
13138 arg2
= (int)(SWIG_As_int(obj1
));
13139 if (SWIG_arg_fail(2)) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->SetButtonChange(arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13158 wxPoint
*arg2
= 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "pos", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail
;
13171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 Py_INCREF(Py_None
); resultobj
= Py_None
;
13187 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "zPos", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail
;
13201 arg2
= (int)(SWIG_As_int(obj1
));
13202 if (SWIG_arg_fail(2)) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 (arg1
)->SetZPosition(arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 Py_INCREF(Py_None
); resultobj
= Py_None
;
13218 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13229 if (SWIG_arg_fail(1)) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13246 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13257 if (SWIG_arg_fail(1)) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13274 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13285 if (SWIG_arg_fail(1)) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13305 int arg2
= (int) wxJOY_BUTTON_ANY
;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "but", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",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
;
13318 arg2
= (int)(SWIG_As_int(obj1
));
13319 if (SWIG_arg_fail(2)) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13341 int arg2
= (int) wxJOY_BUTTON_ANY
;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "but", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13351 if (SWIG_arg_fail(1)) SWIG_fail
;
13354 arg2
= (int)(SWIG_As_int(obj1
));
13355 if (SWIG_arg_fail(2)) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13374 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13377 int arg2
= (int) wxJOY_BUTTON_ANY
;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "but", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13387 if (SWIG_arg_fail(1)) SWIG_fail
;
13390 arg2
= (int)(SWIG_As_int(obj1
));
13391 if (SWIG_arg_fail(2)) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13410 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13413 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13415 return Py_BuildValue((char *)"");
13417 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13420 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13422 bool temp1
= false ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "fileName", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13431 arg1
= wxString_in_helper(obj0
);
13432 if (arg1
== NULL
) SWIG_fail
;
13437 if (!wxPyCheckForApp()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13459 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 PyObject
*arg1
= (PyObject
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "data", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13471 if (!wxPyCheckForApp()) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (wxSound
*)new_wxSound(arg1
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13485 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxSound
*arg1
= (wxSound
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13495 if (SWIG_arg_fail(1)) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 Py_INCREF(Py_None
); resultobj
= Py_None
;
13510 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxSound
*arg1
= (wxSound
*) 0 ;
13513 wxString
*arg2
= 0 ;
13515 bool temp2
= false ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "fileName", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13524 if (SWIG_arg_fail(1)) SWIG_fail
;
13526 arg2
= wxString_in_helper(obj1
);
13527 if (arg2
== NULL
) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxSound
*arg1
= (wxSound
*) 0 ;
13557 PyObject
*arg2
= (PyObject
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "data", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13567 if (SWIG_arg_fail(1)) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13585 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxSound
*arg1
= (wxSound
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (bool)(arg1
)->IsOk();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13613 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
;
13615 wxSound
*arg1
= (wxSound
*) 0 ;
13616 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "self",(char *) "flags", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13626 if (SWIG_arg_fail(1)) SWIG_fail
;
13629 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13630 if (SWIG_arg_fail(2)) SWIG_fail
;
13634 if (!wxPyCheckForApp()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13650 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxString
*arg1
= 0 ;
13653 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13655 bool temp1
= false ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "filename",(char *) "flags", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13664 arg1
= wxString_in_helper(obj0
);
13665 if (arg1
== NULL
) SWIG_fail
;
13670 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13671 if (SWIG_arg_fail(2)) SWIG_fail
;
13675 if (!wxPyCheckForApp()) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13699 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 char *kwnames
[] = {
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13707 if (!wxPyCheckForApp()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 Py_INCREF(Py_None
); resultobj
= Py_None
;
13721 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13724 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13726 return Py_BuildValue((char *)"");
13728 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxString
*arg1
= 0 ;
13731 wxString
*arg2
= 0 ;
13732 wxString
*arg3
= 0 ;
13733 wxString
*arg4
= 0 ;
13734 wxFileTypeInfo
*result
;
13735 bool temp1
= false ;
13736 bool temp2
= false ;
13737 bool temp3
= false ;
13738 bool temp4
= false ;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 PyObject
* obj2
= 0 ;
13742 PyObject
* obj3
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13749 arg1
= wxString_in_helper(obj0
);
13750 if (arg1
== NULL
) SWIG_fail
;
13754 arg2
= wxString_in_helper(obj1
);
13755 if (arg2
== NULL
) SWIG_fail
;
13759 arg3
= wxString_in_helper(obj2
);
13760 if (arg3
== NULL
) SWIG_fail
;
13764 arg4
= wxString_in_helper(obj3
);
13765 if (arg4
== NULL
) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13814 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxArrayString
*arg1
= 0 ;
13817 wxFileTypeInfo
*result
;
13818 bool temp1
= false ;
13819 PyObject
* obj0
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "sArray", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13826 if (! PySequence_Check(obj0
)) {
13827 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13830 arg1
= new wxArrayString
;
13832 int i
, len
=PySequence_Length(obj0
);
13833 for (i
=0; i
<len
; i
++) {
13834 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13835 wxString
* s
= wxString_in_helper(item
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13851 if (temp1
) delete arg1
;
13856 if (temp1
) delete arg1
;
13862 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxFileTypeInfo
*result
;
13865 char *kwnames
[] = {
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13884 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13895 if (SWIG_arg_fail(1)) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13912 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13915 wxString
*arg2
= 0 ;
13916 int arg3
= (int) 0 ;
13917 bool temp2
= false ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 PyObject
* obj2
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail
;
13929 arg2
= wxString_in_helper(obj1
);
13930 if (arg2
== NULL
) SWIG_fail
;
13935 arg3
= (int)(SWIG_As_int(obj2
));
13936 if (SWIG_arg_fail(3)) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 Py_INCREF(Py_None
); resultobj
= Py_None
;
13961 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13964 wxString
*arg2
= 0 ;
13965 bool temp2
= false ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "shortDesc", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13974 if (SWIG_arg_fail(1)) SWIG_fail
;
13976 arg2
= wxString_in_helper(obj1
);
13977 if (arg2
== NULL
) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 Py_INCREF(Py_None
); resultobj
= Py_None
;
14002 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14013 if (SWIG_arg_fail(1)) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14018 result
= (wxString
*) &_result_ref
;
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14037 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14048 if (SWIG_arg_fail(1)) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14053 result
= (wxString
*) &_result_ref
;
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14063 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14072 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14083 if (SWIG_arg_fail(1)) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14088 result
= (wxString
*) &_result_ref
;
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14107 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14118 if (SWIG_arg_fail(1)) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14123 result
= (wxString
*) &_result_ref
;
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14142 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14153 if (SWIG_arg_fail(1)) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14158 result
= (wxString
*) &_result_ref
;
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14168 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14177 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14180 wxArrayString
*result
;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14188 if (SWIG_arg_fail(1)) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14193 result
= (wxArrayString
*) &_result_ref
;
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= wxArrayString2PyList_helper(*result
);
14208 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_From_int((int)(result
));
14236 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14247 if (SWIG_arg_fail(1)) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14252 result
= (wxString
*) &_result_ref
;
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14262 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14271 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= SWIG_From_int((int)(result
));
14299 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14302 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14304 return Py_BuildValue((char *)"");
14306 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxFileTypeInfo
*arg1
= 0 ;
14309 wxFileType
*result
;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "ftInfo", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14318 if (SWIG_arg_fail(1)) SWIG_fail
;
14319 if (arg1
== NULL
) {
14320 SWIG_null_ref("wxFileTypeInfo");
14322 if (SWIG_arg_fail(1)) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14338 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxFileType
*arg1
= (wxFileType
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxFileType
*arg1
= (wxFileType
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= result
;
14389 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxFileType
*arg1
= (wxFileType
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14400 if (SWIG_arg_fail(1)) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
;
14415 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxFileType
*arg1
= (wxFileType
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
;
14441 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxFileType
*arg1
= (wxFileType
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14467 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxFileType
*arg1
= (wxFileType
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14478 if (SWIG_arg_fail(1)) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= result
;
14493 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxFileType
*arg1
= (wxFileType
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14504 if (SWIG_arg_fail(1)) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= result
;
14519 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxFileType
*arg1
= (wxFileType
*) 0 ;
14522 wxString
*arg2
= 0 ;
14523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14526 bool temp2
= false ;
14527 bool temp3
= false ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 PyObject
* obj2
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail
;
14539 arg2
= wxString_in_helper(obj1
);
14540 if (arg2
== NULL
) SWIG_fail
;
14545 arg3
= wxString_in_helper(obj2
);
14546 if (arg3
== NULL
) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
;
14580 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxFileType
*arg1
= (wxFileType
*) 0 ;
14583 wxString
*arg2
= 0 ;
14584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14587 bool temp2
= false ;
14588 bool temp3
= false ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 PyObject
* obj2
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
14601 if (arg2
== NULL
) SWIG_fail
;
14606 arg3
= wxString_in_helper(obj2
);
14607 if (arg3
== NULL
) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
;
14641 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxFileType
*arg1
= (wxFileType
*) 0 ;
14644 wxString
*arg2
= 0 ;
14645 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14646 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14648 bool temp2
= false ;
14649 bool temp3
= false ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 PyObject
* obj2
= 0 ;
14653 char *kwnames
[] = {
14654 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14659 if (SWIG_arg_fail(1)) SWIG_fail
;
14661 arg2
= wxString_in_helper(obj1
);
14662 if (arg2
== NULL
) SWIG_fail
;
14667 arg3
= wxString_in_helper(obj2
);
14668 if (arg3
== NULL
) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
;
14702 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxFileType
*arg1
= (wxFileType
*) 0 ;
14705 wxString
*arg2
= 0 ;
14706 wxString
*arg3
= 0 ;
14707 bool arg4
= (bool) true ;
14709 bool temp2
= false ;
14710 bool temp3
= false ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 PyObject
* obj3
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14721 if (SWIG_arg_fail(1)) SWIG_fail
;
14723 arg2
= wxString_in_helper(obj1
);
14724 if (arg2
== NULL
) SWIG_fail
;
14728 arg3
= wxString_in_helper(obj2
);
14729 if (arg3
== NULL
) SWIG_fail
;
14734 arg4
= (bool)(SWIG_As_bool(obj3
));
14735 if (SWIG_arg_fail(4)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14770 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxFileType
*arg1
= (wxFileType
*) 0 ;
14773 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14774 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14775 int arg3
= (int) 0 ;
14777 bool temp2
= false ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 PyObject
* obj2
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self",(char *) "cmd",(char *) "index", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14787 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 arg2
= wxString_in_helper(obj1
);
14791 if (arg2
== NULL
) SWIG_fail
;
14797 arg3
= (int)(SWIG_As_int(obj2
));
14798 if (SWIG_arg_fail(3)) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14825 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxFileType
*arg1
= (wxFileType
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14836 if (SWIG_arg_fail(1)) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= (bool)(arg1
)->Unassociate();
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14853 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
;
14855 wxString
*arg1
= 0 ;
14856 wxString
*arg2
= 0 ;
14857 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14858 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14860 bool temp1
= false ;
14861 bool temp2
= false ;
14862 bool temp3
= false ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 PyObject
* obj2
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14872 arg1
= wxString_in_helper(obj0
);
14873 if (arg1
== NULL
) SWIG_fail
;
14877 arg2
= wxString_in_helper(obj1
);
14878 if (arg2
== NULL
) SWIG_fail
;
14883 arg3
= wxString_in_helper(obj2
);
14884 if (arg3
== NULL
) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14932 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14935 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14937 return Py_BuildValue((char *)"");
14939 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14940 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14945 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14948 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14953 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxString
*arg1
= 0 ;
14956 wxString
*arg2
= 0 ;
14958 bool temp1
= false ;
14959 bool temp2
= false ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "mimeType",(char *) "wildcard", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14968 arg1
= wxString_in_helper(obj0
);
14969 if (arg1
== NULL
) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15009 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxMimeTypesManager
*result
;
15012 char *kwnames
[] = {
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15031 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15034 int arg2
= (int) wxMAILCAP_ALL
;
15035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15037 bool temp3
= false ;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 PyObject
* obj2
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15050 arg2
= (int)(SWIG_As_int(obj1
));
15051 if (SWIG_arg_fail(2)) SWIG_fail
;
15056 arg3
= wxString_in_helper(obj2
);
15057 if (arg3
== NULL
) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 Py_INCREF(Py_None
); resultobj
= Py_None
;
15083 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15093 if (SWIG_arg_fail(1)) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 (arg1
)->ClearData();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 Py_INCREF(Py_None
); resultobj
= Py_None
;
15108 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15111 wxString
*arg2
= 0 ;
15112 wxFileType
*result
;
15113 bool temp2
= false ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self",(char *) "ext", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 arg2
= wxString_in_helper(obj1
);
15125 if (arg2
== NULL
) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15150 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15153 wxString
*arg2
= 0 ;
15154 wxFileType
*result
;
15155 bool temp2
= false ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "mimeType", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15164 if (SWIG_arg_fail(1)) SWIG_fail
;
15166 arg2
= wxString_in_helper(obj1
);
15167 if (arg2
== NULL
) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15192 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15195 wxString
*arg2
= 0 ;
15196 bool arg3
= (bool) false ;
15198 bool temp2
= false ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 PyObject
* obj2
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail
;
15210 arg2
= wxString_in_helper(obj1
);
15211 if (arg2
== NULL
) SWIG_fail
;
15216 arg3
= (bool)(SWIG_As_bool(obj2
));
15217 if (SWIG_arg_fail(3)) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15244 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15247 wxString
*arg2
= 0 ;
15249 bool temp2
= false ;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "filename", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15258 if (SWIG_arg_fail(1)) SWIG_fail
;
15260 arg2
= wxString_in_helper(obj1
);
15261 if (arg2
== NULL
) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15288 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "self", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15299 if (SWIG_arg_fail(1)) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
;
15314 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15317 wxFileTypeInfo
*arg2
= 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "ft", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail
;
15328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15329 if (SWIG_arg_fail(2)) SWIG_fail
;
15330 if (arg2
== NULL
) {
15331 SWIG_null_ref("wxFileTypeInfo");
15333 if (SWIG_arg_fail(2)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 Py_INCREF(Py_None
); resultobj
= Py_None
;
15349 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15352 wxFileTypeInfo
*arg2
= 0 ;
15353 wxFileType
*result
;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self",(char *) "ftInfo", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail
;
15364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15365 if (SWIG_arg_fail(2)) SWIG_fail
;
15366 if (arg2
== NULL
) {
15367 SWIG_null_ref("wxFileTypeInfo");
15369 if (SWIG_arg_fail(2)) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15385 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15388 wxFileType
*arg2
= (wxFileType
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "ft", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15400 if (SWIG_arg_fail(2)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (bool)(arg1
)->Unassociate(arg2
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15417 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15445 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15447 return Py_BuildValue((char *)"");
15449 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15450 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15455 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15460 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15462 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15469 static int _wrap_ART_MENU_set(PyObject
*) {
15470 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15475 static PyObject
*_wrap_ART_MENU_get(void) {
15480 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15482 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15489 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15490 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15495 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15500 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15502 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15509 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15510 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15515 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15520 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15522 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15529 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15530 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15535 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15540 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15542 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15549 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15550 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15555 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15560 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15562 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15569 static int _wrap_ART_BUTTON_set(PyObject
*) {
15570 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15575 static PyObject
*_wrap_ART_BUTTON_get(void) {
15580 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15582 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15589 static int _wrap_ART_OTHER_set(PyObject
*) {
15590 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15595 static PyObject
*_wrap_ART_OTHER_get(void) {
15600 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15602 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15609 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15610 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15615 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15620 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15622 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15629 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15630 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15635 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15640 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15642 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15649 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15650 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15655 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15660 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15662 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15669 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15670 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15675 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15680 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15682 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15689 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15690 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15695 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15700 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15702 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15709 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15710 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15715 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15720 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15722 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15729 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15730 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15735 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15740 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15742 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15749 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15750 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15755 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15760 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15762 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15769 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15770 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15775 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15780 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15782 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15789 static int _wrap_ART_GO_UP_set(PyObject
*) {
15790 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15795 static PyObject
*_wrap_ART_GO_UP_get(void) {
15800 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15802 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15809 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15810 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15815 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15820 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15822 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15829 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15830 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15835 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15840 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15842 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15849 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15850 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15855 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15860 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15862 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15869 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15870 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15875 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15880 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15882 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15889 static int _wrap_ART_FILE_SAVE_set(PyObject
*) {
15890 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE is read-only.");
15895 static PyObject
*_wrap_ART_FILE_SAVE_get(void) {
15900 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15902 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
15909 static int _wrap_ART_FILE_SAVE_AS_set(PyObject
*) {
15910 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_SAVE_AS is read-only.");
15915 static PyObject
*_wrap_ART_FILE_SAVE_AS_get(void) {
15920 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15922 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
15929 static int _wrap_ART_PRINT_set(PyObject
*) {
15930 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15935 static PyObject
*_wrap_ART_PRINT_get(void) {
15940 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15942 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15949 static int _wrap_ART_HELP_set(PyObject
*) {
15950 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15955 static PyObject
*_wrap_ART_HELP_get(void) {
15960 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15962 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15969 static int _wrap_ART_TIP_set(PyObject
*) {
15970 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15975 static PyObject
*_wrap_ART_TIP_get(void) {
15980 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15982 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15989 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15990 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15995 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
16000 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16002 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
16009 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
16010 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
16015 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
16020 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16022 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
16029 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
16030 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
16035 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
16040 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16042 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16049 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16050 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16055 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16060 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16062 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16069 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16070 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16075 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16080 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16082 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16089 static int _wrap_ART_CDROM_set(PyObject
*) {
16090 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16095 static PyObject
*_wrap_ART_CDROM_get(void) {
16100 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16102 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16109 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16110 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16115 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16120 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16122 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16129 static int _wrap_ART_FOLDER_set(PyObject
*) {
16130 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16135 static PyObject
*_wrap_ART_FOLDER_get(void) {
16140 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16142 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16149 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16150 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16155 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16160 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16162 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16169 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16170 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16175 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16180 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16182 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16189 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16190 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16195 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16200 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16202 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16209 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16210 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16215 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16220 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16222 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16229 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16230 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16235 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16240 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16242 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16249 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16250 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16255 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16260 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16262 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16269 static int _wrap_ART_ERROR_set(PyObject
*) {
16270 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16275 static PyObject
*_wrap_ART_ERROR_get(void) {
16280 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16282 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16289 static int _wrap_ART_QUESTION_set(PyObject
*) {
16290 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16295 static PyObject
*_wrap_ART_QUESTION_get(void) {
16300 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16302 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16309 static int _wrap_ART_WARNING_set(PyObject
*) {
16310 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16315 static PyObject
*_wrap_ART_WARNING_get(void) {
16320 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16322 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16329 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16330 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16335 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16340 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16342 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16349 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16350 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16355 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16360 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16362 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16369 static int _wrap_ART_COPY_set(PyObject
*) {
16370 PyErr_SetString(PyExc_TypeError
,"Variable ART_COPY is read-only.");
16375 static PyObject
*_wrap_ART_COPY_get(void) {
16380 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16382 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
16389 static int _wrap_ART_CUT_set(PyObject
*) {
16390 PyErr_SetString(PyExc_TypeError
,"Variable ART_CUT is read-only.");
16395 static PyObject
*_wrap_ART_CUT_get(void) {
16400 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16402 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
16409 static int _wrap_ART_PASTE_set(PyObject
*) {
16410 PyErr_SetString(PyExc_TypeError
,"Variable ART_PASTE is read-only.");
16415 static PyObject
*_wrap_ART_PASTE_get(void) {
16420 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16422 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
16429 static int _wrap_ART_DELETE_set(PyObject
*) {
16430 PyErr_SetString(PyExc_TypeError
,"Variable ART_DELETE is read-only.");
16435 static PyObject
*_wrap_ART_DELETE_get(void) {
16440 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16442 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
16449 static int _wrap_ART_UNDO_set(PyObject
*) {
16450 PyErr_SetString(PyExc_TypeError
,"Variable ART_UNDO is read-only.");
16455 static PyObject
*_wrap_ART_UNDO_get(void) {
16460 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16462 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
16469 static int _wrap_ART_REDO_set(PyObject
*) {
16470 PyErr_SetString(PyExc_TypeError
,"Variable ART_REDO is read-only.");
16475 static PyObject
*_wrap_ART_REDO_get(void) {
16480 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16482 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
16489 static int _wrap_ART_QUIT_set(PyObject
*) {
16490 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUIT is read-only.");
16495 static PyObject
*_wrap_ART_QUIT_get(void) {
16500 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16502 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
16509 static int _wrap_ART_FIND_set(PyObject
*) {
16510 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND is read-only.");
16515 static PyObject
*_wrap_ART_FIND_get(void) {
16520 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16522 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
16529 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject
*) {
16530 PyErr_SetString(PyExc_TypeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
16535 static PyObject
*_wrap_ART_FIND_AND_REPLACE_get(void) {
16540 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16542 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
16549 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxPyArtProvider
*result
;
16552 char *kwnames
[] = {
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16558 if (!wxPyCheckForApp()) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16572 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16575 PyObject
*arg2
= (PyObject
*) 0 ;
16576 PyObject
*arg3
= (PyObject
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 PyObject
* obj2
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "self",(char *) "_class", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "provider", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 wxPyArtProvider::PushProvider(arg1
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 Py_INCREF(Py_None
); resultobj
= Py_None
;
16628 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16631 char *kwnames
[] = {
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (bool)wxPyArtProvider::PopProvider();
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16652 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "provider", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16663 if (SWIG_arg_fail(1)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16680 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxString
*arg1
= 0 ;
16683 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16684 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16685 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16686 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16688 bool temp1
= false ;
16689 bool temp2
= false ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 PyObject
* obj2
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "id",(char *) "client",(char *) "size", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16700 arg1
= wxString_in_helper(obj0
);
16701 if (arg1
== NULL
) SWIG_fail
;
16706 arg2
= wxString_in_helper(obj1
);
16707 if (arg2
== NULL
) SWIG_fail
;
16714 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16718 if (!wxPyCheckForApp()) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 wxBitmap
* resultptr
;
16727 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16752 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxString
*arg1
= 0 ;
16755 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16756 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16757 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16758 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16760 bool temp1
= false ;
16761 bool temp2
= false ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 PyObject
* obj2
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "id",(char *) "client",(char *) "size", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16772 arg1
= wxString_in_helper(obj0
);
16773 if (arg1
== NULL
) SWIG_fail
;
16778 arg2
= wxString_in_helper(obj1
);
16779 if (arg2
== NULL
) SWIG_fail
;
16786 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16790 if (!wxPyCheckForApp()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 wxIcon
* resultptr
;
16799 resultptr
= new wxIcon((wxIcon
&)(result
));
16800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16824 static PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxString
*arg1
= 0 ;
16827 bool arg2
= (bool) false ;
16829 bool temp1
= false ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "client",(char *) "platform_dependent", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) goto fail
;
16838 arg1
= wxString_in_helper(obj0
);
16839 if (arg1
== NULL
) SWIG_fail
;
16844 arg2
= (bool)(SWIG_As_bool(obj1
));
16845 if (SWIG_arg_fail(2)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 wxSize
* resultptr
;
16857 resultptr
= new wxSize((wxSize
&)(result
));
16858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16874 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16884 if (SWIG_arg_fail(1)) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 wxPyArtProvider_Destroy(arg1
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16899 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16902 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16904 return Py_BuildValue((char *)"");
16906 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16916 if (SWIG_arg_fail(1)) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16934 wxConfigBase
*result
;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "config", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16942 if (SWIG_arg_fail(1)) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16957 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 bool arg1
= (bool) true ;
16960 wxConfigBase
*result
;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "createOnDemand", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16969 arg1
= (bool)(SWIG_As_bool(obj0
));
16970 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16987 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxConfigBase
*result
;
16990 char *kwnames
[] = {
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (wxConfigBase
*)wxConfigBase::Create();
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
17009 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 char *kwnames
[] = {
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 wxConfigBase::DontCreateOnDemand();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 Py_INCREF(Py_None
); resultobj
= Py_None
;
17030 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17033 wxString
*arg2
= 0 ;
17034 bool temp2
= false ;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self",(char *) "path", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 arg2
= wxString_in_helper(obj1
);
17046 if (arg2
== NULL
) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 (arg1
)->SetPath((wxString
const &)*arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 Py_INCREF(Py_None
); resultobj
= Py_None
;
17071 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
17081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17082 if (SWIG_arg_fail(1)) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
17087 result
= (wxString
*) &_result_ref
;
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17106 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
;
17132 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "index", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 arg2
= (long)(SWIG_As_long(obj1
));
17148 if (SWIG_arg_fail(2)) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= result
;
17164 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17168 PyObject
* obj0
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
17174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17175 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= result
;
17190 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self",(char *) "index", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17203 if (SWIG_arg_fail(1)) SWIG_fail
;
17205 arg2
= (long)(SWIG_As_long(obj1
));
17206 if (SWIG_arg_fail(2)) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= result
;
17222 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17225 bool arg2
= (bool) false ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "recursive", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
17234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17235 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 arg2
= (bool)(SWIG_As_bool(obj1
));
17239 if (SWIG_arg_fail(2)) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17258 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17261 bool arg2
= (bool) false ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "recursive", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17271 if (SWIG_arg_fail(1)) SWIG_fail
;
17274 arg2
= (bool)(SWIG_As_bool(obj1
));
17275 if (SWIG_arg_fail(2)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17294 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17297 wxString
*arg2
= 0 ;
17299 bool temp2
= false ;
17300 PyObject
* obj0
= 0 ;
17301 PyObject
* obj1
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self",(char *) "name", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17308 if (SWIG_arg_fail(1)) SWIG_fail
;
17310 arg2
= wxString_in_helper(obj1
);
17311 if (arg2
== NULL
) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17338 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17341 wxString
*arg2
= 0 ;
17343 bool temp2
= false ;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj1
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self",(char *) "name", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17352 if (SWIG_arg_fail(1)) SWIG_fail
;
17354 arg2
= wxString_in_helper(obj1
);
17355 if (arg2
== NULL
) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17382 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17385 wxString
*arg2
= 0 ;
17387 bool temp2
= false ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "name", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17398 arg2
= wxString_in_helper(obj1
);
17399 if (arg2
== NULL
) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17426 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
;
17428 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17429 wxString
*arg2
= 0 ;
17430 wxConfigBase::EntryType result
;
17431 bool temp2
= false ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self",(char *) "name", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 arg2
= wxString_in_helper(obj1
);
17443 if (arg2
== NULL
) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_From_int((result
));
17468 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17471 wxString
*arg2
= 0 ;
17472 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17473 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17475 bool temp2
= false ;
17476 bool temp3
= false ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 PyObject
* obj2
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17486 if (SWIG_arg_fail(1)) SWIG_fail
;
17488 arg2
= wxString_in_helper(obj1
);
17489 if (arg2
== NULL
) SWIG_fail
;
17494 arg3
= wxString_in_helper(obj2
);
17495 if (arg3
== NULL
) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17535 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17538 wxString
*arg2
= 0 ;
17539 long arg3
= (long) 0 ;
17541 bool temp2
= false ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 PyObject
* obj2
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17551 if (SWIG_arg_fail(1)) SWIG_fail
;
17553 arg2
= wxString_in_helper(obj1
);
17554 if (arg2
== NULL
) SWIG_fail
;
17559 arg3
= (long)(SWIG_As_long(obj2
));
17560 if (SWIG_arg_fail(3)) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= SWIG_From_long((long)(result
));
17587 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17590 wxString
*arg2
= 0 ;
17591 double arg3
= (double) 0.0 ;
17593 bool temp2
= false ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail
;
17605 arg2
= wxString_in_helper(obj1
);
17606 if (arg2
== NULL
) SWIG_fail
;
17611 arg3
= (double)(SWIG_As_double(obj2
));
17612 if (SWIG_arg_fail(3)) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_From_double((double)(result
));
17639 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17642 wxString
*arg2
= 0 ;
17643 bool arg3
= (bool) false ;
17645 bool temp2
= false ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 PyObject
* obj2
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17655 if (SWIG_arg_fail(1)) SWIG_fail
;
17657 arg2
= wxString_in_helper(obj1
);
17658 if (arg2
== NULL
) SWIG_fail
;
17663 arg3
= (bool)(SWIG_As_bool(obj2
));
17664 if (SWIG_arg_fail(3)) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17691 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17694 wxString
*arg2
= 0 ;
17695 wxString
*arg3
= 0 ;
17697 bool temp2
= false ;
17698 bool temp3
= false ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "key",(char *) "value", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17710 arg2
= wxString_in_helper(obj1
);
17711 if (arg2
== NULL
) SWIG_fail
;
17715 arg3
= wxString_in_helper(obj2
);
17716 if (arg3
== NULL
) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17751 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17754 wxString
*arg2
= 0 ;
17757 bool temp2
= false ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 PyObject
* obj2
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self",(char *) "key",(char *) "value", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17767 if (SWIG_arg_fail(1)) SWIG_fail
;
17769 arg2
= wxString_in_helper(obj1
);
17770 if (arg2
== NULL
) SWIG_fail
;
17774 arg3
= (long)(SWIG_As_long(obj2
));
17775 if (SWIG_arg_fail(3)) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17801 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17804 wxString
*arg2
= 0 ;
17807 bool temp2
= false ;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 PyObject
* obj2
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "key",(char *) "value", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17817 if (SWIG_arg_fail(1)) SWIG_fail
;
17819 arg2
= wxString_in_helper(obj1
);
17820 if (arg2
== NULL
) SWIG_fail
;
17824 arg3
= (double)(SWIG_As_double(obj2
));
17825 if (SWIG_arg_fail(3)) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17851 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17854 wxString
*arg2
= 0 ;
17857 bool temp2
= false ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 PyObject
* obj2
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "key",(char *) "value", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17867 if (SWIG_arg_fail(1)) SWIG_fail
;
17869 arg2
= wxString_in_helper(obj1
);
17870 if (arg2
== NULL
) SWIG_fail
;
17874 arg3
= (bool)(SWIG_As_bool(obj2
));
17875 if (SWIG_arg_fail(3)) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17901 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17904 bool arg2
= (bool) false ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "currentOnly", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17914 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 arg2
= (bool)(SWIG_As_bool(obj1
));
17918 if (SWIG_arg_fail(2)) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (bool)(arg1
)->Flush(arg2
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17937 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17940 wxString
*arg2
= 0 ;
17941 wxString
*arg3
= 0 ;
17943 bool temp2
= false ;
17944 bool temp3
= false ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 PyObject
* obj2
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17954 if (SWIG_arg_fail(1)) SWIG_fail
;
17956 arg2
= wxString_in_helper(obj1
);
17957 if (arg2
== NULL
) SWIG_fail
;
17961 arg3
= wxString_in_helper(obj2
);
17962 if (arg3
== NULL
) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17997 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18000 wxString
*arg2
= 0 ;
18001 wxString
*arg3
= 0 ;
18003 bool temp2
= false ;
18004 bool temp3
= false ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 PyObject
* obj2
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
18017 if (arg2
== NULL
) SWIG_fail
;
18021 arg3
= wxString_in_helper(obj2
);
18022 if (arg3
== NULL
) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18057 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18060 wxString
*arg2
= 0 ;
18061 bool arg3
= (bool) true ;
18063 bool temp2
= false ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 PyObject
* obj2
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18073 if (SWIG_arg_fail(1)) SWIG_fail
;
18075 arg2
= wxString_in_helper(obj1
);
18076 if (arg2
== NULL
) SWIG_fail
;
18081 arg3
= (bool)(SWIG_As_bool(obj2
));
18082 if (SWIG_arg_fail(3)) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18109 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18112 wxString
*arg2
= 0 ;
18114 bool temp2
= false ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "key", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18123 if (SWIG_arg_fail(1)) SWIG_fail
;
18125 arg2
= wxString_in_helper(obj1
);
18126 if (arg2
== NULL
) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18153 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
18163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18164 if (SWIG_arg_fail(1)) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (bool)(arg1
)->DeleteAll();
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18181 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18184 bool arg2
= (bool) true ;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self",(char *) "doIt", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail
;
18196 arg2
= (bool)(SWIG_As_bool(obj1
));
18197 if (SWIG_arg_fail(2)) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->SetExpandEnvVars(arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 Py_INCREF(Py_None
); resultobj
= Py_None
;
18214 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
18224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18242 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18245 bool arg2
= (bool) true ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "doIt", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
18253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail
;
18257 arg2
= (bool)(SWIG_As_bool(obj1
));
18258 if (SWIG_arg_fail(2)) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 (arg1
)->SetRecordDefaults(arg2
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 Py_INCREF(Py_None
); resultobj
= Py_None
;
18275 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18286 if (SWIG_arg_fail(1)) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18303 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18306 wxString
*arg2
= 0 ;
18308 bool temp2
= false ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self",(char *) "str", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18319 arg2
= wxString_in_helper(obj1
);
18320 if (arg2
== NULL
) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18351 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18383 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18394 if (SWIG_arg_fail(1)) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18415 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18418 wxString
*arg2
= 0 ;
18419 bool temp2
= false ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "appName", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18428 if (SWIG_arg_fail(1)) SWIG_fail
;
18430 arg2
= wxString_in_helper(obj1
);
18431 if (arg2
== NULL
) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->SetAppName((wxString
const &)*arg2
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 Py_INCREF(Py_None
); resultobj
= Py_None
;
18456 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18459 wxString
*arg2
= 0 ;
18460 bool temp2
= false ;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "vendorName", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18469 if (SWIG_arg_fail(1)) SWIG_fail
;
18471 arg2
= wxString_in_helper(obj1
);
18472 if (arg2
== NULL
) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18497 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
;
18499 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "style", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18509 if (SWIG_arg_fail(1)) SWIG_fail
;
18511 arg2
= (long)(SWIG_As_long(obj1
));
18512 if (SWIG_arg_fail(2)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->SetStyle(arg2
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18528 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18539 if (SWIG_arg_fail(1)) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_From_long((long)(result
));
18556 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18559 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18561 return Py_BuildValue((char *)"");
18563 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18566 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18567 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18568 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18573 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18575 bool temp1
= false ;
18576 bool temp2
= false ;
18577 bool temp3
= false ;
18578 bool temp4
= false ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 PyObject
* obj2
= 0 ;
18582 PyObject
* obj3
= 0 ;
18583 PyObject
* obj4
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18591 arg1
= wxString_in_helper(obj0
);
18592 if (arg1
== NULL
) SWIG_fail
;
18598 arg2
= wxString_in_helper(obj1
);
18599 if (arg2
== NULL
) SWIG_fail
;
18605 arg3
= wxString_in_helper(obj2
);
18606 if (arg3
== NULL
) SWIG_fail
;
18612 arg4
= wxString_in_helper(obj3
);
18613 if (arg4
== NULL
) SWIG_fail
;
18619 arg5
= (long)(SWIG_As_long(obj4
));
18620 if (SWIG_arg_fail(5)) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18669 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxConfig
*arg1
= (wxConfig
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18679 if (SWIG_arg_fail(1)) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 Py_INCREF(Py_None
); resultobj
= Py_None
;
18694 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18697 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18699 return Py_BuildValue((char *)"");
18701 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18704 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18705 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18706 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18707 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18708 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18709 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18710 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18711 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18712 wxFileConfig
*result
;
18713 bool temp1
= false ;
18714 bool temp2
= false ;
18715 bool temp3
= false ;
18716 bool temp4
= false ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 PyObject
* obj2
= 0 ;
18720 PyObject
* obj3
= 0 ;
18721 PyObject
* obj4
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18729 arg1
= wxString_in_helper(obj0
);
18730 if (arg1
== NULL
) SWIG_fail
;
18736 arg2
= wxString_in_helper(obj1
);
18737 if (arg2
== NULL
) SWIG_fail
;
18743 arg3
= wxString_in_helper(obj2
);
18744 if (arg3
== NULL
) SWIG_fail
;
18750 arg4
= wxString_in_helper(obj3
);
18751 if (arg4
== NULL
) SWIG_fail
;
18757 arg5
= (long)(SWIG_As_long(obj4
));
18758 if (SWIG_arg_fail(5)) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18807 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 Py_INCREF(Py_None
); resultobj
= Py_None
;
18832 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18835 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18837 return Py_BuildValue((char *)"");
18839 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18842 wxString
*arg2
= 0 ;
18843 wxConfigPathChanger
*result
;
18844 bool temp2
= false ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "config",(char *) "entry", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail
;
18855 arg2
= wxString_in_helper(obj1
);
18856 if (arg2
== NULL
) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18881 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18891 if (SWIG_arg_fail(1)) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 Py_INCREF(Py_None
); resultobj
= Py_None
;
18906 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18917 if (SWIG_arg_fail(1)) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18922 result
= (wxString
*) &_result_ref
;
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18932 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18941 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18944 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18946 return Py_BuildValue((char *)"");
18948 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxString
*arg1
= 0 ;
18952 bool temp1
= false ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "sz", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18960 arg1
= wxString_in_helper(obj0
);
18961 if (arg1
== NULL
) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18992 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18993 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18998 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
19003 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19005 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
19012 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
19013 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
19018 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
19023 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19025 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
19032 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxDateTime::Country arg1
;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "country", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
19042 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19043 if (SWIG_arg_fail(1)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxDateTime::Country result
;
19062 char *kwnames
[] = {
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_From_int((result
));
19081 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "country", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
19093 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
19094 if (SWIG_arg_fail(1)) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19113 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19117 PyObject
* obj0
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "cal", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
19125 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19126 if (SWIG_arg_fail(1)) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_From_int((int)(result
));
19145 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19149 PyObject
* obj0
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "year", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
19156 arg1
= (int)(SWIG_As_int(obj0
));
19157 if (SWIG_arg_fail(1)) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_From_int((int)(result
));
19175 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19178 wxDateTime::Month result
;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "cal", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
19187 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
19188 if (SWIG_arg_fail(1)) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_From_int((result
));
19205 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 int arg1
= (int) wxDateTime::Inv_Year
;
19208 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19210 PyObject
* obj0
= 0 ;
19211 PyObject
* obj1
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "year",(char *) "cal", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 arg1
= (int)(SWIG_As_int(obj0
));
19220 if (SWIG_arg_fail(1)) SWIG_fail
;
19225 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19226 if (SWIG_arg_fail(2)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19245 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 int arg1
= (int) wxDateTime::Inv_Year
;
19249 PyObject
* obj0
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "year", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
19257 arg1
= (int)(SWIG_As_int(obj0
));
19258 if (SWIG_arg_fail(1)) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (int)wxDateTime::GetCentury(arg1
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_From_int((int)(result
));
19277 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19280 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "year",(char *) "cal", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19290 arg1
= (int)(SWIG_As_int(obj0
));
19291 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19296 if (SWIG_arg_fail(2)) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_From_int((int)(result
));
19315 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxDateTime::Month arg1
;
19318 int arg2
= (int) wxDateTime::Inv_Year
;
19319 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19321 PyObject
* obj0
= 0 ;
19322 PyObject
* obj1
= 0 ;
19323 PyObject
* obj2
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "month",(char *) "year",(char *) "cal", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19330 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19331 if (SWIG_arg_fail(1)) SWIG_fail
;
19335 arg2
= (int)(SWIG_As_int(obj1
));
19336 if (SWIG_arg_fail(2)) SWIG_fail
;
19341 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19342 if (SWIG_arg_fail(3)) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_From_int((int)(result
));
19361 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxDateTime::Month arg1
;
19364 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "month",(char *) "flags", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19374 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19375 if (SWIG_arg_fail(1)) SWIG_fail
;
19379 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19380 if (SWIG_arg_fail(2)) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19403 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxDateTime::WeekDay arg1
;
19406 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "weekday",(char *) "flags", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19417 if (SWIG_arg_fail(1)) SWIG_fail
;
19421 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19422 if (SWIG_arg_fail(2)) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19445 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19448 char *kwnames
[] = {
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetAmPmStrings",kwnames
)) goto fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (PyObject
*)DateTime_GetAmPmStrings();
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= result
;
19467 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 int arg1
= (int) wxDateTime::Inv_Year
;
19470 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "year",(char *) "country", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19481 arg1
= (int)(SWIG_As_int(obj0
));
19482 if (SWIG_arg_fail(1)) SWIG_fail
;
19487 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19488 if (SWIG_arg_fail(2)) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19507 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 int arg1
= (int) wxDateTime::Inv_Year
;
19510 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "year",(char *) "country", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19521 arg1
= (int)(SWIG_As_int(obj0
));
19522 if (SWIG_arg_fail(1)) SWIG_fail
;
19527 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19528 if (SWIG_arg_fail(2)) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 wxDateTime
* resultptr
;
19540 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19549 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 int arg1
= (int) wxDateTime::Inv_Year
;
19552 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "year",(char *) "country", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19563 arg1
= (int)(SWIG_As_int(obj0
));
19564 if (SWIG_arg_fail(1)) SWIG_fail
;
19569 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19570 if (SWIG_arg_fail(2)) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 wxDateTime
* resultptr
;
19582 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19591 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19594 char *kwnames
[] = {
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= wxDateTime::Now();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 wxDateTime
* resultptr
;
19608 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19617 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19620 char *kwnames
[] = {
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= wxDateTime::UNow();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 wxDateTime
* resultptr
;
19634 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19643 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19646 char *kwnames
[] = {
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= wxDateTime::Today();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19659 wxDateTime
* resultptr
;
19660 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19669 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxDateTime
*result
;
19672 char *kwnames
[] = {
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (wxDateTime
*)new wxDateTime();
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19691 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19694 wxDateTime
*result
;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "timet", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19702 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19703 if (SWIG_arg_fail(1)) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (wxDateTime
*)new wxDateTime(arg1
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19719 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19722 wxDateTime
*result
;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "jdn", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19730 arg1
= (double)(SWIG_As_double(obj0
));
19731 if (SWIG_arg_fail(1)) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (wxDateTime
*)new wxDateTime(arg1
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19747 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19750 int arg2
= (int) 0 ;
19751 int arg3
= (int) 0 ;
19752 int arg4
= (int) 0 ;
19753 wxDateTime
*result
;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 PyObject
* obj2
= 0 ;
19757 PyObject
* obj3
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19764 arg1
= (int)(SWIG_As_int(obj0
));
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19769 arg2
= (int)(SWIG_As_int(obj1
));
19770 if (SWIG_arg_fail(2)) SWIG_fail
;
19775 arg3
= (int)(SWIG_As_int(obj2
));
19776 if (SWIG_arg_fail(3)) SWIG_fail
;
19781 arg4
= (int)(SWIG_As_int(obj3
));
19782 if (SWIG_arg_fail(4)) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19799 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19802 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19803 int arg3
= (int) wxDateTime::Inv_Year
;
19804 int arg4
= (int) 0 ;
19805 int arg5
= (int) 0 ;
19806 int arg6
= (int) 0 ;
19807 int arg7
= (int) 0 ;
19808 wxDateTime
*result
;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 PyObject
* obj2
= 0 ;
19812 PyObject
* obj3
= 0 ;
19813 PyObject
* obj4
= 0 ;
19814 PyObject
* obj5
= 0 ;
19815 PyObject
* obj6
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19822 arg1
= (int)(SWIG_As_int(obj0
));
19823 if (SWIG_arg_fail(1)) SWIG_fail
;
19827 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19828 if (SWIG_arg_fail(2)) SWIG_fail
;
19833 arg3
= (int)(SWIG_As_int(obj2
));
19834 if (SWIG_arg_fail(3)) SWIG_fail
;
19839 arg4
= (int)(SWIG_As_int(obj3
));
19840 if (SWIG_arg_fail(4)) SWIG_fail
;
19845 arg5
= (int)(SWIG_As_int(obj4
));
19846 if (SWIG_arg_fail(5)) SWIG_fail
;
19851 arg6
= (int)(SWIG_As_int(obj5
));
19852 if (SWIG_arg_fail(6)) SWIG_fail
;
19857 arg7
= (int)(SWIG_As_int(obj6
));
19858 if (SWIG_arg_fail(7)) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19875 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 Py_INCREF(Py_None
); resultobj
= Py_None
;
19900 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19903 wxDateTime
*result
;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19916 result
= (wxDateTime
*) &_result_ref
;
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19929 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19933 wxDateTime
*result
;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "timet", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail
;
19944 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19945 if (SWIG_arg_fail(2)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19951 result
= (wxDateTime
*) &_result_ref
;
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19964 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19968 wxDateTime
*result
;
19969 PyObject
* obj0
= 0 ;
19970 PyObject
* obj1
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self",(char *) "jdn", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19977 if (SWIG_arg_fail(1)) SWIG_fail
;
19979 arg2
= (double)(SWIG_As_double(obj1
));
19980 if (SWIG_arg_fail(2)) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19986 result
= (wxDateTime
*) &_result_ref
;
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19999 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20003 int arg3
= (int) 0 ;
20004 int arg4
= (int) 0 ;
20005 int arg5
= (int) 0 ;
20006 wxDateTime
*result
;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 PyObject
* obj2
= 0 ;
20010 PyObject
* obj3
= 0 ;
20011 PyObject
* obj4
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20018 if (SWIG_arg_fail(1)) SWIG_fail
;
20020 arg2
= (int)(SWIG_As_int(obj1
));
20021 if (SWIG_arg_fail(2)) SWIG_fail
;
20025 arg3
= (int)(SWIG_As_int(obj2
));
20026 if (SWIG_arg_fail(3)) SWIG_fail
;
20031 arg4
= (int)(SWIG_As_int(obj3
));
20032 if (SWIG_arg_fail(4)) SWIG_fail
;
20037 arg5
= (int)(SWIG_As_int(obj4
));
20038 if (SWIG_arg_fail(5)) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20045 result
= (wxDateTime
*) &_result_ref
;
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20058 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20062 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20063 int arg4
= (int) wxDateTime::Inv_Year
;
20064 int arg5
= (int) 0 ;
20065 int arg6
= (int) 0 ;
20066 int arg7
= (int) 0 ;
20067 int arg8
= (int) 0 ;
20068 wxDateTime
*result
;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 PyObject
* obj2
= 0 ;
20072 PyObject
* obj3
= 0 ;
20073 PyObject
* obj4
= 0 ;
20074 PyObject
* obj5
= 0 ;
20075 PyObject
* obj6
= 0 ;
20076 PyObject
* obj7
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 arg2
= (int)(SWIG_As_int(obj1
));
20086 if (SWIG_arg_fail(2)) SWIG_fail
;
20090 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20091 if (SWIG_arg_fail(3)) SWIG_fail
;
20096 arg4
= (int)(SWIG_As_int(obj3
));
20097 if (SWIG_arg_fail(4)) SWIG_fail
;
20102 arg5
= (int)(SWIG_As_int(obj4
));
20103 if (SWIG_arg_fail(5)) SWIG_fail
;
20108 arg6
= (int)(SWIG_As_int(obj5
));
20109 if (SWIG_arg_fail(6)) SWIG_fail
;
20114 arg7
= (int)(SWIG_As_int(obj6
));
20115 if (SWIG_arg_fail(7)) SWIG_fail
;
20120 arg8
= (int)(SWIG_As_int(obj7
));
20121 if (SWIG_arg_fail(8)) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
20128 result
= (wxDateTime
*) &_result_ref
;
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20141 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20144 wxDateTime
*result
;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
20151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20152 if (SWIG_arg_fail(1)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
20157 result
= (wxDateTime
*) &_result_ref
;
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20170 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20174 wxDateTime
*result
;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "year", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail
;
20185 arg2
= (int)(SWIG_As_int(obj1
));
20186 if (SWIG_arg_fail(2)) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
20192 result
= (wxDateTime
*) &_result_ref
;
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20205 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20208 wxDateTime::Month arg2
;
20209 wxDateTime
*result
;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "month", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20221 if (SWIG_arg_fail(2)) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
20227 result
= (wxDateTime
*) &_result_ref
;
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20240 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20244 wxDateTime
*result
;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self",(char *) "day", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20255 arg2
= (int)(SWIG_As_int(obj1
));
20256 if (SWIG_arg_fail(2)) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20262 result
= (wxDateTime
*) &_result_ref
;
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20275 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20279 wxDateTime
*result
;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self",(char *) "hour", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20288 if (SWIG_arg_fail(1)) SWIG_fail
;
20290 arg2
= (int)(SWIG_As_int(obj1
));
20291 if (SWIG_arg_fail(2)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20297 result
= (wxDateTime
*) &_result_ref
;
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20310 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20314 wxDateTime
*result
;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self",(char *) "minute", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 arg2
= (int)(SWIG_As_int(obj1
));
20326 if (SWIG_arg_fail(2)) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20332 result
= (wxDateTime
*) &_result_ref
;
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20345 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20349 wxDateTime
*result
;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "second", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 arg2
= (int)(SWIG_As_int(obj1
));
20361 if (SWIG_arg_fail(2)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20367 result
= (wxDateTime
*) &_result_ref
;
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20380 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20384 wxDateTime
*result
;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "millisecond", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail
;
20395 arg2
= (int)(SWIG_As_int(obj1
));
20396 if (SWIG_arg_fail(2)) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20402 result
= (wxDateTime
*) &_result_ref
;
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20415 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20418 wxDateTime::WeekDay arg2
;
20419 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20420 wxDateTime
*result
;
20421 PyObject
* obj0
= 0 ;
20422 PyObject
* obj1
= 0 ;
20423 PyObject
* obj2
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20430 if (SWIG_arg_fail(1)) SWIG_fail
;
20432 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20433 if (SWIG_arg_fail(2)) SWIG_fail
;
20437 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20438 if (SWIG_arg_fail(3)) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20445 result
= (wxDateTime
*) &_result_ref
;
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20458 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20461 wxDateTime::WeekDay arg2
;
20462 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 PyObject
* obj2
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20476 if (SWIG_arg_fail(2)) SWIG_fail
;
20480 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20481 if (SWIG_arg_fail(3)) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 wxDateTime
* resultptr
;
20493 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20502 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20505 wxDateTime::WeekDay arg2
;
20506 wxDateTime
*result
;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "weekday", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail
;
20517 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20518 if (SWIG_arg_fail(2)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20524 result
= (wxDateTime
*) &_result_ref
;
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20537 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20540 wxDateTime::WeekDay arg2
;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "self",(char *) "weekday", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail
;
20552 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20553 if (SWIG_arg_fail(2)) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20563 wxDateTime
* resultptr
;
20564 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20573 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20576 wxDateTime::WeekDay arg2
;
20577 wxDateTime
*result
;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "weekday", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20589 if (SWIG_arg_fail(2)) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20595 result
= (wxDateTime
*) &_result_ref
;
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20608 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20611 wxDateTime::WeekDay arg2
;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self",(char *) "weekday", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail
;
20623 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20624 if (SWIG_arg_fail(2)) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 wxDateTime
* resultptr
;
20635 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20644 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20647 wxDateTime::WeekDay arg2
;
20648 int arg3
= (int) 1 ;
20649 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20650 int arg5
= (int) wxDateTime::Inv_Year
;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 PyObject
* obj2
= 0 ;
20655 PyObject
* obj3
= 0 ;
20656 PyObject
* obj4
= 0 ;
20657 char *kwnames
[] = {
20658 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail
;
20665 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20666 if (SWIG_arg_fail(2)) SWIG_fail
;
20670 arg3
= (int)(SWIG_As_int(obj2
));
20671 if (SWIG_arg_fail(3)) SWIG_fail
;
20676 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20677 if (SWIG_arg_fail(4)) SWIG_fail
;
20682 arg5
= (int)(SWIG_As_int(obj4
));
20683 if (SWIG_arg_fail(5)) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20702 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
;
20704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20705 wxDateTime::WeekDay arg2
;
20706 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20707 int arg4
= (int) wxDateTime::Inv_Year
;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 PyObject
* obj2
= 0 ;
20712 PyObject
* obj3
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20719 if (SWIG_arg_fail(1)) SWIG_fail
;
20721 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20722 if (SWIG_arg_fail(2)) SWIG_fail
;
20726 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20727 if (SWIG_arg_fail(3)) SWIG_fail
;
20732 arg4
= (int)(SWIG_As_int(obj3
));
20733 if (SWIG_arg_fail(4)) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20752 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20755 wxDateTime::WeekDay arg2
;
20756 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20757 int arg4
= (int) wxDateTime::Inv_Year
;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 PyObject
* obj2
= 0 ;
20762 PyObject
* obj3
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20769 if (SWIG_arg_fail(1)) SWIG_fail
;
20771 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20772 if (SWIG_arg_fail(2)) SWIG_fail
;
20776 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20777 if (SWIG_arg_fail(3)) SWIG_fail
;
20782 arg4
= (int)(SWIG_As_int(obj3
));
20783 if (SWIG_arg_fail(4)) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20794 wxDateTime
* resultptr
;
20795 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20804 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20808 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20809 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 PyObject
* obj2
= 0 ;
20814 PyObject
* obj3
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20823 arg2
= (int)(SWIG_As_int(obj1
));
20824 if (SWIG_arg_fail(2)) SWIG_fail
;
20828 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20829 if (SWIG_arg_fail(3)) SWIG_fail
;
20834 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20835 if (SWIG_arg_fail(4)) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20854 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20859 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 PyObject
* obj2
= 0 ;
20864 PyObject
* obj3
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail
;
20873 arg2
= (int)(SWIG_As_int(obj1
));
20874 if (SWIG_arg_fail(2)) SWIG_fail
;
20878 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20879 if (SWIG_arg_fail(3)) SWIG_fail
;
20884 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20885 if (SWIG_arg_fail(4)) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 wxDateTime
* resultptr
;
20897 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20906 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20910 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 PyObject
* obj2
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20921 arg1
= (int)(SWIG_As_int(obj0
));
20922 if (SWIG_arg_fail(1)) SWIG_fail
;
20925 arg2
= (int)(SWIG_As_int(obj1
));
20926 if (SWIG_arg_fail(2)) SWIG_fail
;
20930 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20931 if (SWIG_arg_fail(3)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20942 wxDateTime
* resultptr
;
20943 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20952 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20955 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20956 int arg3
= (int) wxDateTime::Inv_Year
;
20957 wxDateTime
*result
;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 PyObject
* obj2
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "month",(char *) "year", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20967 if (SWIG_arg_fail(1)) SWIG_fail
;
20970 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20971 if (SWIG_arg_fail(2)) SWIG_fail
;
20976 arg3
= (int)(SWIG_As_int(obj2
));
20977 if (SWIG_arg_fail(3)) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20984 result
= (wxDateTime
*) &_result_ref
;
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20997 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
;
20999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21000 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
21001 int arg3
= (int) wxDateTime::Inv_Year
;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 PyObject
* obj2
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self",(char *) "month",(char *) "year", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21012 if (SWIG_arg_fail(1)) SWIG_fail
;
21015 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
21016 if (SWIG_arg_fail(2)) SWIG_fail
;
21021 arg3
= (int)(SWIG_As_int(obj2
));
21022 if (SWIG_arg_fail(3)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21033 wxDateTime
* resultptr
;
21034 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21043 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21047 wxDateTime
*result
;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self",(char *) "yday", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 arg2
= (int)(SWIG_As_int(obj1
));
21059 if (SWIG_arg_fail(2)) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
21065 result
= (wxDateTime
*) &_result_ref
;
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21078 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21083 PyObject
* obj0
= 0 ;
21084 PyObject
* obj1
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self",(char *) "yday", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21091 if (SWIG_arg_fail(1)) SWIG_fail
;
21093 arg2
= (int)(SWIG_As_int(obj1
));
21094 if (SWIG_arg_fail(2)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (arg1
)->GetYearDay(arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 wxDateTime
* resultptr
;
21105 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21114 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21118 PyObject
* obj0
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21125 if (SWIG_arg_fail(1)) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= (double)(arg1
)->GetJulianDayNumber();
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_From_double((double)(result
));
21142 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
21152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (double)(arg1
)->GetJDN();
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= SWIG_From_double((double)(result
));
21170 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
21180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21181 if (SWIG_arg_fail(1)) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= SWIG_From_double((double)(result
));
21198 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
21208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21209 if (SWIG_arg_fail(1)) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 result
= (double)(arg1
)->GetMJD();
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_From_double((double)(result
));
21226 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
21236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (double)(arg1
)->GetRataDie();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_double((double)(result
));
21254 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21257 wxDateTime::TimeZone
*arg2
= 0 ;
21258 bool arg3
= (bool) false ;
21260 bool temp2
= false ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 PyObject
* obj2
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21270 if (SWIG_arg_fail(1)) SWIG_fail
;
21272 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21277 arg3
= (bool)(SWIG_As_bool(obj2
));
21278 if (SWIG_arg_fail(3)) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21289 wxDateTime
* resultptr
;
21290 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21294 if (temp2
) delete arg2
;
21299 if (temp2
) delete arg2
;
21305 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21308 wxDateTime::TimeZone
*arg2
= 0 ;
21309 bool arg3
= (bool) false ;
21310 wxDateTime
*result
;
21311 bool temp2
= false ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 PyObject
* obj2
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21321 if (SWIG_arg_fail(1)) SWIG_fail
;
21323 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21328 arg3
= (bool)(SWIG_As_bool(obj2
));
21329 if (SWIG_arg_fail(3)) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21335 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21336 result
= (wxDateTime
*) &_result_ref
;
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21344 if (temp2
) delete arg2
;
21349 if (temp2
) delete arg2
;
21355 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21358 bool arg2
= (bool) false ;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "noDST", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21368 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 arg2
= (bool)(SWIG_As_bool(obj1
));
21372 if (SWIG_arg_fail(2)) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (arg1
)->ToGMT(arg2
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 wxDateTime
* resultptr
;
21384 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21393 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21396 bool arg2
= (bool) false ;
21397 wxDateTime
*result
;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self",(char *) "noDST", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail
;
21409 arg2
= (bool)(SWIG_As_bool(obj1
));
21410 if (SWIG_arg_fail(2)) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21417 result
= (wxDateTime
*) &_result_ref
;
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21430 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21433 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21435 PyObject
* obj0
= 0 ;
21436 PyObject
* obj1
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self",(char *) "country", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21443 if (SWIG_arg_fail(1)) SWIG_fail
;
21446 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21447 if (SWIG_arg_fail(2)) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= SWIG_From_int((int)(result
));
21466 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21477 if (SWIG_arg_fail(1)) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21494 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21522 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21525 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21526 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21528 bool temp2
= false ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "tz", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail
;
21540 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_From_int((int)(result
));
21555 if (temp2
) delete arg2
;
21560 if (temp2
) delete arg2
;
21566 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21569 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21570 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21571 wxDateTime::Month result
;
21572 bool temp2
= false ;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self",(char *) "tz", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21581 if (SWIG_arg_fail(1)) SWIG_fail
;
21584 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_From_int((result
));
21597 if (temp2
) delete arg2
;
21602 if (temp2
) delete arg2
;
21608 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21611 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21612 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21614 bool temp2
= false ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "tz", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21623 if (SWIG_arg_fail(1)) SWIG_fail
;
21626 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= SWIG_From_int((int)(result
));
21641 if (temp2
) delete arg2
;
21646 if (temp2
) delete arg2
;
21652 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21655 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21656 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21657 wxDateTime::WeekDay result
;
21658 bool temp2
= false ;
21659 PyObject
* obj0
= 0 ;
21660 PyObject
* obj1
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "tz", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21667 if (SWIG_arg_fail(1)) SWIG_fail
;
21670 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_From_int((result
));
21683 if (temp2
) delete arg2
;
21688 if (temp2
) delete arg2
;
21694 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21697 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21698 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21700 bool temp2
= false ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "tz", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail
;
21712 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_From_int((int)(result
));
21727 if (temp2
) delete arg2
;
21732 if (temp2
) delete arg2
;
21738 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21741 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21742 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21744 bool temp2
= false ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "tz", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21756 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= SWIG_From_int((int)(result
));
21771 if (temp2
) delete arg2
;
21776 if (temp2
) delete arg2
;
21782 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21785 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21786 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21788 bool temp2
= false ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self",(char *) "tz", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21797 if (SWIG_arg_fail(1)) SWIG_fail
;
21800 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_From_int((int)(result
));
21815 if (temp2
) delete arg2
;
21820 if (temp2
) delete arg2
;
21826 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21829 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21830 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21832 bool temp2
= false ;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "tz", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail
;
21844 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_From_int((int)(result
));
21859 if (temp2
) delete arg2
;
21864 if (temp2
) delete arg2
;
21870 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21873 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21874 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21876 bool temp2
= false ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "tz", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21885 if (SWIG_arg_fail(1)) SWIG_fail
;
21888 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= SWIG_From_int((int)(result
));
21903 if (temp2
) delete arg2
;
21908 if (temp2
) delete arg2
;
21914 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21917 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21918 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21919 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21921 bool temp3
= false ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "flags",(char *) "tz", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21934 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21935 if (SWIG_arg_fail(2)) SWIG_fail
;
21940 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= SWIG_From_int((int)(result
));
21955 if (temp3
) delete arg3
;
21960 if (temp3
) delete arg3
;
21966 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21969 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21970 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21971 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21973 bool temp3
= false ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 PyObject
* obj2
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "self",(char *) "flags",(char *) "tz", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21987 if (SWIG_arg_fail(2)) SWIG_fail
;
21992 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_From_int((int)(result
));
22007 if (temp3
) delete arg3
;
22012 if (temp3
) delete arg3
;
22018 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22021 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "country", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22031 if (SWIG_arg_fail(1)) SWIG_fail
;
22034 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
22035 if (SWIG_arg_fail(2)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22054 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22057 wxDateTime
*arg2
= 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self",(char *) "datetime", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail
;
22069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22070 if (SWIG_arg_fail(2)) SWIG_fail
;
22071 if (arg2
== NULL
) {
22072 SWIG_null_ref("wxDateTime");
22074 if (SWIG_arg_fail(2)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22092 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22095 wxDateTime
*arg2
= 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "datetime", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail
;
22107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(2)) SWIG_fail
;
22109 if (arg2
== NULL
) {
22110 SWIG_null_ref("wxDateTime");
22112 if (SWIG_arg_fail(2)) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22130 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22133 wxDateTime
*arg2
= 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "datetime", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail
;
22145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22146 if (SWIG_arg_fail(2)) SWIG_fail
;
22147 if (arg2
== NULL
) {
22148 SWIG_null_ref("wxDateTime");
22150 if (SWIG_arg_fail(2)) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22168 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22171 wxDateTime
*arg2
= 0 ;
22172 wxDateTime
*arg3
= 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 PyObject
* obj2
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "t1",(char *) "t2", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail
;
22185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(2)) SWIG_fail
;
22187 if (arg2
== NULL
) {
22188 SWIG_null_ref("wxDateTime");
22190 if (SWIG_arg_fail(2)) SWIG_fail
;
22193 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22194 if (SWIG_arg_fail(3)) SWIG_fail
;
22195 if (arg3
== NULL
) {
22196 SWIG_null_ref("wxDateTime");
22198 if (SWIG_arg_fail(3)) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22216 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22219 wxDateTime
*arg2
= 0 ;
22220 wxDateTime
*arg3
= 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 PyObject
* obj2
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self",(char *) "t1",(char *) "t2", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail
;
22233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22234 if (SWIG_arg_fail(2)) SWIG_fail
;
22235 if (arg2
== NULL
) {
22236 SWIG_null_ref("wxDateTime");
22238 if (SWIG_arg_fail(2)) SWIG_fail
;
22241 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(3)) SWIG_fail
;
22243 if (arg3
== NULL
) {
22244 SWIG_null_ref("wxDateTime");
22246 if (SWIG_arg_fail(3)) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22264 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22267 wxDateTime
*arg2
= 0 ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "dt", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail
;
22279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22280 if (SWIG_arg_fail(2)) SWIG_fail
;
22281 if (arg2
== NULL
) {
22282 SWIG_null_ref("wxDateTime");
22284 if (SWIG_arg_fail(2)) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22305 wxDateTime
*arg2
= 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self",(char *) "dt", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(2)) SWIG_fail
;
22319 if (arg2
== NULL
) {
22320 SWIG_null_ref("wxDateTime");
22322 if (SWIG_arg_fail(2)) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22343 wxDateTime
*arg2
= 0 ;
22344 wxTimeSpan
*arg3
= 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 PyObject
* obj2
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self",(char *) "dt",(char *) "ts", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22355 if (SWIG_arg_fail(1)) SWIG_fail
;
22357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22359 if (arg2
== NULL
) {
22360 SWIG_null_ref("wxDateTime");
22362 if (SWIG_arg_fail(2)) SWIG_fail
;
22365 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22366 if (SWIG_arg_fail(3)) SWIG_fail
;
22367 if (arg3
== NULL
) {
22368 SWIG_null_ref("wxTimeSpan");
22370 if (SWIG_arg_fail(3)) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22388 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22391 wxTimeSpan
*arg2
= 0 ;
22392 wxDateTime
*result
;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "diff", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail
;
22403 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22404 if (SWIG_arg_fail(2)) SWIG_fail
;
22405 if (arg2
== NULL
) {
22406 SWIG_null_ref("wxTimeSpan");
22408 if (SWIG_arg_fail(2)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22414 result
= (wxDateTime
*) &_result_ref
;
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22427 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22430 wxDateSpan
*arg2
= 0 ;
22431 wxDateTime
*result
;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "diff", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22440 if (SWIG_arg_fail(1)) SWIG_fail
;
22442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22443 if (SWIG_arg_fail(2)) SWIG_fail
;
22444 if (arg2
== NULL
) {
22445 SWIG_null_ref("wxDateSpan");
22447 if (SWIG_arg_fail(2)) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22453 result
= (wxDateTime
*) &_result_ref
;
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22466 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22469 wxTimeSpan
*arg2
= 0 ;
22470 wxDateTime
*result
;
22471 PyObject
* obj0
= 0 ;
22472 PyObject
* obj1
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self",(char *) "diff", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail
;
22481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(2)) SWIG_fail
;
22483 if (arg2
== NULL
) {
22484 SWIG_null_ref("wxTimeSpan");
22486 if (SWIG_arg_fail(2)) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22492 result
= (wxDateTime
*) &_result_ref
;
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22505 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22508 wxDateSpan
*arg2
= 0 ;
22509 wxDateTime
*result
;
22510 PyObject
* obj0
= 0 ;
22511 PyObject
* obj1
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self",(char *) "diff", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22518 if (SWIG_arg_fail(1)) SWIG_fail
;
22520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22521 if (SWIG_arg_fail(2)) SWIG_fail
;
22522 if (arg2
== NULL
) {
22523 SWIG_null_ref("wxDateSpan");
22525 if (SWIG_arg_fail(2)) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22531 result
= (wxDateTime
*) &_result_ref
;
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22544 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22547 wxDateTime
*arg2
= 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "dt", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22560 if (SWIG_arg_fail(2)) SWIG_fail
;
22561 if (arg2
== NULL
) {
22562 SWIG_null_ref("wxDateTime");
22564 if (SWIG_arg_fail(2)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 wxTimeSpan
* resultptr
;
22575 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22584 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22585 PyObject
*resultobj
;
22586 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22587 wxTimeSpan
*arg2
= 0 ;
22588 wxDateTime
*result
;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22592 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22594 if (SWIG_arg_fail(1)) SWIG_fail
;
22596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22597 if (SWIG_arg_fail(2)) SWIG_fail
;
22598 if (arg2
== NULL
) {
22599 SWIG_null_ref("wxTimeSpan");
22601 if (SWIG_arg_fail(2)) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22607 result
= (wxDateTime
*) &_result_ref
;
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22620 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22621 PyObject
*resultobj
;
22622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22623 wxDateSpan
*arg2
= 0 ;
22624 wxDateTime
*result
;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22628 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22630 if (SWIG_arg_fail(1)) SWIG_fail
;
22632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22633 if (SWIG_arg_fail(2)) SWIG_fail
;
22634 if (arg2
== NULL
) {
22635 SWIG_null_ref("wxDateSpan");
22637 if (SWIG_arg_fail(2)) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22643 result
= (wxDateTime
*) &_result_ref
;
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22656 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22661 argc
= PyObject_Length(args
);
22662 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22663 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22669 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22679 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22687 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22695 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22705 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22713 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22718 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22723 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22724 PyObject
*resultobj
;
22725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22726 wxTimeSpan
*arg2
= 0 ;
22727 wxDateTime
*result
;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22731 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22733 if (SWIG_arg_fail(1)) SWIG_fail
;
22735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(2)) SWIG_fail
;
22737 if (arg2
== NULL
) {
22738 SWIG_null_ref("wxTimeSpan");
22740 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22746 result
= (wxDateTime
*) &_result_ref
;
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22759 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22760 PyObject
*resultobj
;
22761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22762 wxDateSpan
*arg2
= 0 ;
22763 wxDateTime
*result
;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22767 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22772 if (SWIG_arg_fail(2)) SWIG_fail
;
22773 if (arg2
== NULL
) {
22774 SWIG_null_ref("wxDateSpan");
22776 if (SWIG_arg_fail(2)) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22782 result
= (wxDateTime
*) &_result_ref
;
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22795 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22800 argc
= PyObject_Length(args
);
22801 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22802 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22808 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22818 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22826 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22834 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22844 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22852 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22857 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22862 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22863 PyObject
*resultobj
;
22864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22865 wxTimeSpan
*arg2
= 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22870 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22875 if (SWIG_arg_fail(2)) SWIG_fail
;
22876 if (arg2
== NULL
) {
22877 SWIG_null_ref("wxTimeSpan");
22879 if (SWIG_arg_fail(2)) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22889 wxDateTime
* resultptr
;
22890 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22899 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22900 PyObject
*resultobj
;
22901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22902 wxDateSpan
*arg2
= 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22907 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22909 if (SWIG_arg_fail(1)) SWIG_fail
;
22911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22912 if (SWIG_arg_fail(2)) SWIG_fail
;
22913 if (arg2
== NULL
) {
22914 SWIG_null_ref("wxDateSpan");
22916 if (SWIG_arg_fail(2)) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22926 wxDateTime
* resultptr
;
22927 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22936 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22941 argc
= PyObject_Length(args
);
22942 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22943 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22959 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22967 return _wrap_DateTime___add____SWIG_0(self
,args
);
22975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22993 return _wrap_DateTime___add____SWIG_1(self
,args
);
22998 Py_INCREF(Py_NotImplemented
);
22999 return Py_NotImplemented
;
23003 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
23004 PyObject
*resultobj
;
23005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23006 wxDateTime
*arg2
= 0 ;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23011 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23013 if (SWIG_arg_fail(1)) SWIG_fail
;
23015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23016 if (SWIG_arg_fail(2)) SWIG_fail
;
23017 if (arg2
== NULL
) {
23018 SWIG_null_ref("wxDateTime");
23020 if (SWIG_arg_fail(2)) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 wxTimeSpan
* resultptr
;
23031 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23040 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
23041 PyObject
*resultobj
;
23042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23043 wxTimeSpan
*arg2
= 0 ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23048 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23050 if (SWIG_arg_fail(1)) SWIG_fail
;
23052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(2)) SWIG_fail
;
23054 if (arg2
== NULL
) {
23055 SWIG_null_ref("wxTimeSpan");
23057 if (SWIG_arg_fail(2)) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 wxDateTime
* resultptr
;
23068 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23077 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
23078 PyObject
*resultobj
;
23079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23080 wxDateSpan
*arg2
= 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23085 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
23086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
23090 if (SWIG_arg_fail(2)) SWIG_fail
;
23091 if (arg2
== NULL
) {
23092 SWIG_null_ref("wxDateSpan");
23094 if (SWIG_arg_fail(2)) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 wxDateTime
* resultptr
;
23105 resultptr
= new wxDateTime((wxDateTime
&)(result
));
23106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
23114 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
23119 argc
= PyObject_Length(args
);
23120 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23121 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23137 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23145 return _wrap_DateTime___sub____SWIG_0(self
,args
);
23153 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23163 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
23171 return _wrap_DateTime___sub____SWIG_1(self
,args
);
23179 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
23189 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
23197 return _wrap_DateTime___sub____SWIG_2(self
,args
);
23202 Py_INCREF(Py_NotImplemented
);
23203 return Py_NotImplemented
;
23207 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23210 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self",(char *) "other", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23220 if (SWIG_arg_fail(1)) SWIG_fail
;
23221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23222 if (SWIG_arg_fail(2)) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23239 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23242 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self",(char *) "other", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
23251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23252 if (SWIG_arg_fail(1)) SWIG_fail
;
23253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23254 if (SWIG_arg_fail(2)) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23271 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23274 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23276 PyObject
* obj0
= 0 ;
23277 PyObject
* obj1
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self",(char *) "other", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
23283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23284 if (SWIG_arg_fail(1)) SWIG_fail
;
23285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23286 if (SWIG_arg_fail(2)) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23303 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23306 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "other", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
23315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23316 if (SWIG_arg_fail(1)) SWIG_fail
;
23317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(2)) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23335 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23338 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "other", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail
;
23349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23350 if (SWIG_arg_fail(2)) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23367 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23370 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self",(char *) "other", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23380 if (SWIG_arg_fail(1)) SWIG_fail
;
23381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23382 if (SWIG_arg_fail(2)) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23399 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23402 wxString
*arg2
= 0 ;
23404 bool temp2
= false ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "date", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 arg2
= wxString_in_helper(obj1
);
23416 if (arg2
== NULL
) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_From_int((int)(result
));
23443 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23446 wxString
*arg2
= 0 ;
23447 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
23448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23449 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23450 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23452 bool temp2
= false ;
23453 bool temp3
= false ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 PyObject
* obj2
= 0 ;
23457 PyObject
* obj3
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23464 if (SWIG_arg_fail(1)) SWIG_fail
;
23466 arg2
= wxString_in_helper(obj1
);
23467 if (arg2
== NULL
) SWIG_fail
;
23472 arg3
= wxString_in_helper(obj2
);
23473 if (arg3
== NULL
) SWIG_fail
;
23479 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23480 if (SWIG_arg_fail(4)) SWIG_fail
;
23481 if (arg4
== NULL
) {
23482 SWIG_null_ref("wxDateTime");
23484 if (SWIG_arg_fail(4)) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_From_int((int)(result
));
23519 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23522 wxString
*arg2
= 0 ;
23524 bool temp2
= false ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "datetime", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23535 arg2
= wxString_in_helper(obj1
);
23536 if (arg2
== NULL
) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= SWIG_From_int((int)(result
));
23563 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23566 wxString
*arg2
= 0 ;
23568 bool temp2
= false ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "date", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail
;
23579 arg2
= wxString_in_helper(obj1
);
23580 if (arg2
== NULL
) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_From_int((int)(result
));
23607 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23610 wxString
*arg2
= 0 ;
23612 bool temp2
= false ;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "time", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail
;
23623 arg2
= wxString_in_helper(obj1
);
23624 if (arg2
== NULL
) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_From_int((int)(result
));
23651 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23654 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23655 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23656 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23657 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23659 bool temp2
= false ;
23660 bool temp3
= false ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 PyObject
* obj2
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "format",(char *) "tz", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 arg2
= wxString_in_helper(obj1
);
23674 if (arg2
== NULL
) SWIG_fail
;
23680 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23703 if (temp3
) delete arg3
;
23712 if (temp3
) delete arg3
;
23718 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23722 PyObject
* obj0
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23729 if (SWIG_arg_fail(1)) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23750 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23761 if (SWIG_arg_fail(1)) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23782 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23814 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23846 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23849 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23851 return Py_BuildValue((char *)"");
23853 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23857 PyObject
* obj0
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "sec", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23864 arg1
= (long)(SWIG_As_long(obj0
));
23865 if (SWIG_arg_fail(1)) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= wxTimeSpan::Seconds(arg1
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23875 wxTimeSpan
* resultptr
;
23876 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23885 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23888 char *kwnames
[] = {
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= wxTimeSpan::Second();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 wxTimeSpan
* resultptr
;
23902 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23911 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23915 PyObject
* obj0
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "min", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23922 arg1
= (long)(SWIG_As_long(obj0
));
23923 if (SWIG_arg_fail(1)) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= wxTimeSpan::Minutes(arg1
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23933 wxTimeSpan
* resultptr
;
23934 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23943 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
;
23946 char *kwnames
[] = {
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= wxTimeSpan::Minute();
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 wxTimeSpan
* resultptr
;
23960 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23969 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23973 PyObject
* obj0
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "hours", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23980 arg1
= (long)(SWIG_As_long(obj0
));
23981 if (SWIG_arg_fail(1)) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= wxTimeSpan::Hours(arg1
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 wxTimeSpan
* resultptr
;
23992 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24001 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24004 char *kwnames
[] = {
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= wxTimeSpan::Hour();
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24017 wxTimeSpan
* resultptr
;
24018 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24027 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24031 PyObject
* obj0
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "days", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
24038 arg1
= (long)(SWIG_As_long(obj0
));
24039 if (SWIG_arg_fail(1)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= wxTimeSpan::Days(arg1
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 wxTimeSpan
* resultptr
;
24050 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24059 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24062 char *kwnames
[] = {
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= wxTimeSpan::Day();
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 wxTimeSpan
* resultptr
;
24076 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24085 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24089 PyObject
* obj0
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "days", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24096 arg1
= (long)(SWIG_As_long(obj0
));
24097 if (SWIG_arg_fail(1)) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= wxTimeSpan::Weeks(arg1
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 wxTimeSpan
* resultptr
;
24108 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24117 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24120 char *kwnames
[] = {
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 result
= wxTimeSpan::Week();
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 wxTimeSpan
* resultptr
;
24134 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24143 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 long arg1
= (long) 0 ;
24146 long arg2
= (long) 0 ;
24147 long arg3
= (long) 0 ;
24148 long arg4
= (long) 0 ;
24149 wxTimeSpan
*result
;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 PyObject
* obj2
= 0 ;
24153 PyObject
* obj3
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24161 arg1
= (long)(SWIG_As_long(obj0
));
24162 if (SWIG_arg_fail(1)) SWIG_fail
;
24167 arg2
= (long)(SWIG_As_long(obj1
));
24168 if (SWIG_arg_fail(2)) SWIG_fail
;
24173 arg3
= (long)(SWIG_As_long(obj2
));
24174 if (SWIG_arg_fail(3)) SWIG_fail
;
24179 arg4
= (long)(SWIG_As_long(obj3
));
24180 if (SWIG_arg_fail(4)) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24197 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
24206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 Py_INCREF(Py_None
); resultobj
= Py_None
;
24222 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24225 wxTimeSpan
*arg2
= 0 ;
24226 wxTimeSpan
*result
;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "diff", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
24234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail
;
24237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(2)) SWIG_fail
;
24239 if (arg2
== NULL
) {
24240 SWIG_null_ref("wxTimeSpan");
24242 if (SWIG_arg_fail(2)) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
24248 result
= (wxTimeSpan
*) &_result_ref
;
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24261 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24264 wxTimeSpan
*arg2
= 0 ;
24265 wxTimeSpan
*result
;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "diff", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24274 if (SWIG_arg_fail(1)) SWIG_fail
;
24276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24277 if (SWIG_arg_fail(2)) SWIG_fail
;
24278 if (arg2
== NULL
) {
24279 SWIG_null_ref("wxTimeSpan");
24281 if (SWIG_arg_fail(2)) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24287 result
= (wxTimeSpan
*) &_result_ref
;
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24300 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24304 wxTimeSpan
*result
;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "n", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24313 if (SWIG_arg_fail(1)) SWIG_fail
;
24315 arg2
= (int)(SWIG_As_int(obj1
));
24316 if (SWIG_arg_fail(2)) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24322 result
= (wxTimeSpan
*) &_result_ref
;
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24335 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24338 wxTimeSpan
*result
;
24339 PyObject
* obj0
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24351 result
= (wxTimeSpan
*) &_result_ref
;
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24364 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24368 PyObject
* obj0
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24375 if (SWIG_arg_fail(1)) SWIG_fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24384 wxTimeSpan
* resultptr
;
24385 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24394 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24397 wxTimeSpan
*arg2
= 0 ;
24398 wxTimeSpan
*result
;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "diff", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24407 if (SWIG_arg_fail(1)) SWIG_fail
;
24409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24410 if (SWIG_arg_fail(2)) SWIG_fail
;
24411 if (arg2
== NULL
) {
24412 SWIG_null_ref("wxTimeSpan");
24414 if (SWIG_arg_fail(2)) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24420 result
= (wxTimeSpan
*) &_result_ref
;
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24433 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24436 wxTimeSpan
*arg2
= 0 ;
24437 wxTimeSpan
*result
;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "diff", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24446 if (SWIG_arg_fail(1)) SWIG_fail
;
24448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24449 if (SWIG_arg_fail(2)) SWIG_fail
;
24450 if (arg2
== NULL
) {
24451 SWIG_null_ref("wxTimeSpan");
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24459 result
= (wxTimeSpan
*) &_result_ref
;
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24472 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24476 wxTimeSpan
*result
;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "n", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24485 if (SWIG_arg_fail(1)) SWIG_fail
;
24487 arg2
= (int)(SWIG_As_int(obj1
));
24488 if (SWIG_arg_fail(2)) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24494 result
= (wxTimeSpan
*) &_result_ref
;
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24507 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24510 wxTimeSpan
*result
;
24511 PyObject
* obj0
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24518 if (SWIG_arg_fail(1)) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24523 result
= (wxTimeSpan
*) &_result_ref
;
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24536 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24539 wxTimeSpan
*arg2
= 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self",(char *) "other", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail
;
24551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24552 if (SWIG_arg_fail(2)) SWIG_fail
;
24553 if (arg2
== NULL
) {
24554 SWIG_null_ref("wxTimeSpan");
24556 if (SWIG_arg_fail(2)) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 wxTimeSpan
* resultptr
;
24567 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24576 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24579 wxTimeSpan
*arg2
= 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self",(char *) "other", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24589 if (SWIG_arg_fail(1)) SWIG_fail
;
24591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(2)) SWIG_fail
;
24593 if (arg2
== NULL
) {
24594 SWIG_null_ref("wxTimeSpan");
24596 if (SWIG_arg_fail(2)) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 wxTimeSpan
* resultptr
;
24607 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24616 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self",(char *) "n", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24629 if (SWIG_arg_fail(1)) SWIG_fail
;
24631 arg2
= (int)(SWIG_As_int(obj1
));
24632 if (SWIG_arg_fail(2)) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= wxTimeSpan___mul__(arg1
,arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 wxTimeSpan
* resultptr
;
24643 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24652 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self",(char *) "n", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24665 if (SWIG_arg_fail(1)) SWIG_fail
;
24667 arg2
= (int)(SWIG_As_int(obj1
));
24668 if (SWIG_arg_fail(2)) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 wxTimeSpan
* resultptr
;
24679 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24688 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24691 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "other", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail
;
24702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24703 if (SWIG_arg_fail(2)) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24720 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24723 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "other", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail
;
24734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24735 if (SWIG_arg_fail(2)) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24752 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24755 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self",(char *) "other", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail
;
24766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(2)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24784 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24787 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self",(char *) "other", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24797 if (SWIG_arg_fail(1)) SWIG_fail
;
24798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24799 if (SWIG_arg_fail(2)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24816 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24819 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self",(char *) "other", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24829 if (SWIG_arg_fail(1)) SWIG_fail
;
24830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24831 if (SWIG_arg_fail(2)) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24848 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24851 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self",(char *) "other", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24863 if (SWIG_arg_fail(2)) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24880 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24908 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24919 if (SWIG_arg_fail(1)) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24936 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24964 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24967 wxTimeSpan
*arg2
= 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "ts", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24977 if (SWIG_arg_fail(1)) SWIG_fail
;
24979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24980 if (SWIG_arg_fail(2)) SWIG_fail
;
24981 if (arg2
== NULL
) {
24982 SWIG_null_ref("wxTimeSpan");
24984 if (SWIG_arg_fail(2)) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25002 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25005 wxTimeSpan
*arg2
= 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "ts", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25015 if (SWIG_arg_fail(1)) SWIG_fail
;
25017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25018 if (SWIG_arg_fail(2)) SWIG_fail
;
25019 if (arg2
== NULL
) {
25020 SWIG_null_ref("wxTimeSpan");
25022 if (SWIG_arg_fail(2)) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25040 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
;
25042 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25043 wxTimeSpan
*arg2
= 0 ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self",(char *) "t", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
25052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25053 if (SWIG_arg_fail(1)) SWIG_fail
;
25055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25056 if (SWIG_arg_fail(2)) SWIG_fail
;
25057 if (arg2
== NULL
) {
25058 SWIG_null_ref("wxTimeSpan");
25060 if (SWIG_arg_fail(2)) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25078 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25089 if (SWIG_arg_fail(1)) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_From_int((int)(result
));
25106 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25110 PyObject
* obj0
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25117 if (SWIG_arg_fail(1)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_From_int((int)(result
));
25134 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25138 PyObject
* obj0
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
25144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25145 if (SWIG_arg_fail(1)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= SWIG_From_int((int)(result
));
25162 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
25172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25173 if (SWIG_arg_fail(1)) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_From_int((int)(result
));
25190 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
25200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25210 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25211 hi
= PyLong_FromLong( (&result
)->GetHi() );
25212 lo
= PyLong_FromLong( (&result
)->GetLo() );
25213 shifter
= PyLong_FromLong(32);
25214 shifted
= PyNumber_Lshift(hi
, shifter
);
25215 resultobj
= PyNumber_Or(shifted
, lo
);
25218 Py_DECREF(shifter
);
25219 Py_DECREF(shifted
);
25227 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
25237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25238 if (SWIG_arg_fail(1)) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 PyObject
*hi
, *lo
, *shifter
, *shifted
;
25248 hi
= PyLong_FromLong( (&result
)->GetHi() );
25249 lo
= PyLong_FromLong( (&result
)->GetLo() );
25250 shifter
= PyLong_FromLong(32);
25251 shifted
= PyNumber_Lshift(hi
, shifter
);
25252 resultobj
= PyNumber_Or(shifted
, lo
);
25255 Py_DECREF(shifter
);
25256 Py_DECREF(shifted
);
25264 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25267 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
25268 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25270 bool temp2
= false ;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self",(char *) "format", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25279 if (SWIG_arg_fail(1)) SWIG_fail
;
25282 arg2
= wxString_in_helper(obj1
);
25283 if (arg2
== NULL
) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25315 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25318 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25320 return Py_BuildValue((char *)"");
25322 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 int arg1
= (int) 0 ;
25325 int arg2
= (int) 0 ;
25326 int arg3
= (int) 0 ;
25327 int arg4
= (int) 0 ;
25328 wxDateSpan
*result
;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 PyObject
* obj3
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25340 arg1
= (int)(SWIG_As_int(obj0
));
25341 if (SWIG_arg_fail(1)) SWIG_fail
;
25346 arg2
= (int)(SWIG_As_int(obj1
));
25347 if (SWIG_arg_fail(2)) SWIG_fail
;
25352 arg3
= (int)(SWIG_As_int(obj2
));
25353 if (SWIG_arg_fail(3)) SWIG_fail
;
25358 arg4
= (int)(SWIG_As_int(obj3
));
25359 if (SWIG_arg_fail(4)) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25376 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25386 if (SWIG_arg_fail(1)) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 Py_INCREF(Py_None
); resultobj
= Py_None
;
25401 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25405 PyObject
* obj0
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "days", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25412 arg1
= (int)(SWIG_As_int(obj0
));
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= wxDateSpan::Days(arg1
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25423 wxDateSpan
* resultptr
;
25424 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25433 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25436 char *kwnames
[] = {
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= wxDateSpan::Day();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 wxDateSpan
* resultptr
;
25450 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25459 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25463 PyObject
* obj0
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "weeks", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25470 arg1
= (int)(SWIG_As_int(obj0
));
25471 if (SWIG_arg_fail(1)) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= wxDateSpan::Weeks(arg1
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25481 wxDateSpan
* resultptr
;
25482 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25491 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25494 char *kwnames
[] = {
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= wxDateSpan::Week();
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25507 wxDateSpan
* resultptr
;
25508 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25517 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "mon", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25528 arg1
= (int)(SWIG_As_int(obj0
));
25529 if (SWIG_arg_fail(1)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= wxDateSpan::Months(arg1
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 wxDateSpan
* resultptr
;
25540 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25549 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25552 char *kwnames
[] = {
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= wxDateSpan::Month();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25565 wxDateSpan
* resultptr
;
25566 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25575 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "years", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25586 arg1
= (int)(SWIG_As_int(obj0
));
25587 if (SWIG_arg_fail(1)) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= wxDateSpan::Years(arg1
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25597 wxDateSpan
* resultptr
;
25598 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25607 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25610 char *kwnames
[] = {
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= wxDateSpan::Year();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 wxDateSpan
* resultptr
;
25624 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25633 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25637 wxDateSpan
*result
;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 char *kwnames
[] = {
25641 (char *) "self",(char *) "n", NULL
25644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25646 if (SWIG_arg_fail(1)) SWIG_fail
;
25648 arg2
= (int)(SWIG_As_int(obj1
));
25649 if (SWIG_arg_fail(2)) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25655 result
= (wxDateSpan
*) &_result_ref
;
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25668 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25672 wxDateSpan
*result
;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self",(char *) "n", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25683 arg2
= (int)(SWIG_As_int(obj1
));
25684 if (SWIG_arg_fail(2)) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25690 result
= (wxDateSpan
*) &_result_ref
;
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25703 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
;
25705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25707 wxDateSpan
*result
;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "n", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25716 if (SWIG_arg_fail(1)) SWIG_fail
;
25718 arg2
= (int)(SWIG_As_int(obj1
));
25719 if (SWIG_arg_fail(2)) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25725 result
= (wxDateSpan
*) &_result_ref
;
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25738 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25742 wxDateSpan
*result
;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self",(char *) "n", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25751 if (SWIG_arg_fail(1)) SWIG_fail
;
25753 arg2
= (int)(SWIG_As_int(obj1
));
25754 if (SWIG_arg_fail(2)) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25760 result
= (wxDateSpan
*) &_result_ref
;
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25773 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25777 PyObject
* obj0
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25784 if (SWIG_arg_fail(1)) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_From_int((int)(result
));
25801 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25812 if (SWIG_arg_fail(1)) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= SWIG_From_int((int)(result
));
25829 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_From_int((int)(result
));
25857 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25868 if (SWIG_arg_fail(1)) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_From_int((int)(result
));
25885 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25889 PyObject
* obj0
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= SWIG_From_int((int)(result
));
25913 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25916 wxDateSpan
*arg2
= 0 ;
25917 wxDateSpan
*result
;
25918 PyObject
* obj0
= 0 ;
25919 PyObject
* obj1
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "self",(char *) "other", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25926 if (SWIG_arg_fail(1)) SWIG_fail
;
25928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(2)) SWIG_fail
;
25930 if (arg2
== NULL
) {
25931 SWIG_null_ref("wxDateSpan");
25933 if (SWIG_arg_fail(2)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25939 result
= (wxDateSpan
*) &_result_ref
;
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25952 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25955 wxDateSpan
*arg2
= 0 ;
25956 wxDateSpan
*result
;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "other", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25968 if (SWIG_arg_fail(2)) SWIG_fail
;
25969 if (arg2
== NULL
) {
25970 SWIG_null_ref("wxDateSpan");
25972 if (SWIG_arg_fail(2)) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25978 result
= (wxDateSpan
*) &_result_ref
;
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25991 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25994 wxDateSpan
*result
;
25995 PyObject
* obj0
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
26001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26002 if (SWIG_arg_fail(1)) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 wxDateSpan
&_result_ref
= (arg1
)->Neg();
26007 result
= (wxDateSpan
*) &_result_ref
;
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26020 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26024 wxDateSpan
*result
;
26025 PyObject
* obj0
= 0 ;
26026 PyObject
* obj1
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "factor", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
26032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail
;
26035 arg2
= (int)(SWIG_As_int(obj1
));
26036 if (SWIG_arg_fail(2)) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
26042 result
= (wxDateSpan
*) &_result_ref
;
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26055 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26056 PyObject
*resultobj
;
26057 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26058 wxDateSpan
*arg2
= 0 ;
26059 wxDateSpan
*result
;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj1
= 0 ;
26062 char *kwnames
[] = {
26063 (char *) "self",(char *) "other", NULL
26066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
26067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26068 if (SWIG_arg_fail(1)) SWIG_fail
;
26070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26071 if (SWIG_arg_fail(2)) SWIG_fail
;
26072 if (arg2
== NULL
) {
26073 SWIG_null_ref("wxDateSpan");
26075 if (SWIG_arg_fail(2)) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26081 result
= (wxDateSpan
*) &_result_ref
;
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26094 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26097 wxDateSpan
*arg2
= 0 ;
26098 wxDateSpan
*result
;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 char *kwnames
[] = {
26102 (char *) "self",(char *) "other", NULL
26105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26107 if (SWIG_arg_fail(1)) SWIG_fail
;
26109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26110 if (SWIG_arg_fail(2)) SWIG_fail
;
26111 if (arg2
== NULL
) {
26112 SWIG_null_ref("wxDateSpan");
26114 if (SWIG_arg_fail(2)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26120 result
= (wxDateSpan
*) &_result_ref
;
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26133 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26136 wxDateSpan
*result
;
26137 PyObject
* obj0
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
26143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26144 if (SWIG_arg_fail(1)) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 wxDateSpan
&_result_ref
= (arg1
)->operator -();
26149 result
= (wxDateSpan
*) &_result_ref
;
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
26162 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26166 wxDateSpan
*result
;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self",(char *) "factor", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 arg2
= (int)(SWIG_As_int(obj1
));
26178 if (SWIG_arg_fail(2)) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
26184 result
= (wxDateSpan
*) &_result_ref
;
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
26197 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26200 wxDateSpan
*arg2
= 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self",(char *) "other", NULL
26208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
26209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26210 if (SWIG_arg_fail(1)) SWIG_fail
;
26212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(2)) SWIG_fail
;
26214 if (arg2
== NULL
) {
26215 SWIG_null_ref("wxDateSpan");
26217 if (SWIG_arg_fail(2)) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26227 wxDateSpan
* resultptr
;
26228 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26237 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26240 wxDateSpan
*arg2
= 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self",(char *) "other", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
26249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26250 if (SWIG_arg_fail(1)) SWIG_fail
;
26252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26253 if (SWIG_arg_fail(2)) SWIG_fail
;
26254 if (arg2
== NULL
) {
26255 SWIG_null_ref("wxDateSpan");
26257 if (SWIG_arg_fail(2)) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26267 wxDateSpan
* resultptr
;
26268 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26277 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "n", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 arg2
= (int)(SWIG_As_int(obj1
));
26293 if (SWIG_arg_fail(2)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= wxDateSpan___mul__(arg1
,arg2
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 wxDateSpan
* resultptr
;
26304 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26313 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "n", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(1)) SWIG_fail
;
26328 arg2
= (int)(SWIG_As_int(obj1
));
26329 if (SWIG_arg_fail(2)) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= wxDateSpan___rmul__(arg1
,arg2
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26339 wxDateSpan
* resultptr
;
26340 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26349 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
;
26351 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26352 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self",(char *) "other", NULL
26360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26362 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26364 if (SWIG_arg_fail(2)) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26381 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26384 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "other", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26396 if (SWIG_arg_fail(2)) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26413 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26416 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26418 return Py_BuildValue((char *)"");
26420 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26423 char *kwnames
[] = {
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (long)wxGetLocalTime();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_From_long((long)(result
));
26444 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26447 char *kwnames
[] = {
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (long)wxGetUTCTime();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= SWIG_From_long((long)(result
));
26468 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26471 char *kwnames
[] = {
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (long)wxGetCurrentTime();
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_From_long((long)(result
));
26492 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26495 char *kwnames
[] = {
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= wxGetLocalTimeMillis();
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26508 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26509 hi
= PyLong_FromLong( (&result
)->GetHi() );
26510 lo
= PyLong_FromLong( (&result
)->GetLo() );
26511 shifter
= PyLong_FromLong(32);
26512 shifted
= PyNumber_Lshift(hi
, shifter
);
26513 resultobj
= PyNumber_Or(shifted
, lo
);
26516 Py_DECREF(shifter
);
26517 Py_DECREF(shifted
);
26525 static int _wrap_DefaultDateTime_set(PyObject
*) {
26526 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26531 static PyObject
*_wrap_DefaultDateTime_get(void) {
26534 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26539 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
;
26541 wxDataFormatId arg1
;
26542 wxDataFormat
*result
;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "type", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26550 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26551 if (SWIG_arg_fail(1)) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26567 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxString
*arg1
= 0 ;
26570 wxDataFormat
*result
;
26571 bool temp1
= false ;
26572 PyObject
* obj0
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "format", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26579 arg1
= wxString_in_helper(obj0
);
26580 if (arg1
== NULL
) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26605 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26615 if (SWIG_arg_fail(1)) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 Py_INCREF(Py_None
); resultobj
= Py_None
;
26630 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26631 PyObject
*resultobj
;
26632 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26633 wxDataFormatId arg2
;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26638 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail
;
26642 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26643 if (SWIG_arg_fail(2)) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26661 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26662 PyObject
*resultobj
;
26663 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26664 wxDataFormatId arg2
;
26666 PyObject
* obj0
= 0 ;
26667 PyObject
* obj1
= 0 ;
26669 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26671 if (SWIG_arg_fail(1)) SWIG_fail
;
26673 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26674 if (SWIG_arg_fail(2)) SWIG_fail
;
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26692 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26693 PyObject
*resultobj
;
26694 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26695 wxDataFormat
*arg2
= 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26700 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(2)) SWIG_fail
;
26706 if (arg2
== NULL
) {
26707 SWIG_null_ref("wxDataFormat");
26709 if (SWIG_arg_fail(2)) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26727 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26732 argc
= PyObject_Length(args
);
26733 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26734 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26740 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26750 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26758 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26774 _v
= SWIG_Check_int(argv
[1]);
26776 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26781 Py_INCREF(Py_NotImplemented
);
26782 return Py_NotImplemented
;
26786 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26787 PyObject
*resultobj
;
26788 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26789 wxDataFormat
*arg2
= 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26794 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26796 if (SWIG_arg_fail(1)) SWIG_fail
;
26798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(2)) SWIG_fail
;
26800 if (arg2
== NULL
) {
26801 SWIG_null_ref("wxDataFormat");
26803 if (SWIG_arg_fail(2)) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26826 argc
= PyObject_Length(args
);
26827 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26828 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26834 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26844 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26852 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26860 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26868 _v
= SWIG_Check_int(argv
[1]);
26870 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26875 Py_INCREF(Py_NotImplemented
);
26876 return Py_NotImplemented
;
26880 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26883 wxDataFormatId arg2
;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self",(char *) "format", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26892 if (SWIG_arg_fail(1)) SWIG_fail
;
26894 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26895 if (SWIG_arg_fail(2)) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->SetType((wxDataFormatId
)arg2
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 Py_INCREF(Py_None
); resultobj
= Py_None
;
26911 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26914 wxDataFormatId result
;
26915 PyObject
* obj0
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26922 if (SWIG_arg_fail(1)) SWIG_fail
;
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= SWIG_From_int((result
));
26937 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26948 if (SWIG_arg_fail(1)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= ((wxDataFormat
const *)arg1
)->GetId();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26969 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26972 wxString
*arg2
= 0 ;
26973 bool temp2
= false ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "format", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 arg2
= wxString_in_helper(obj1
);
26985 if (arg2
== NULL
) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->SetId((wxString
const &)*arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 Py_INCREF(Py_None
); resultobj
= Py_None
;
27010 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
27012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27013 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
27015 return Py_BuildValue((char *)"");
27017 static int _wrap_FormatInvalid_set(PyObject
*) {
27018 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
27023 static PyObject
*_wrap_FormatInvalid_get(void) {
27026 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
27031 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27034 PyObject
* obj0
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
27040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 Py_INCREF(Py_None
); resultobj
= Py_None
;
27056 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27059 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27060 SwigValueWrapper
<wxDataFormat
> result
;
27061 PyObject
* obj0
= 0 ;
27062 PyObject
* obj1
= 0 ;
27063 char *kwnames
[] = {
27064 (char *) "self",(char *) "dir", NULL
27067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27069 if (SWIG_arg_fail(1)) SWIG_fail
;
27072 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27073 if (SWIG_arg_fail(2)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27084 wxDataFormat
* resultptr
;
27085 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
27086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
27094 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27097 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "dir", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27110 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27111 if (SWIG_arg_fail(2)) SWIG_fail
;
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27122 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27130 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27133 wxDataFormat
*arg2
= 0 ;
27134 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
27136 PyObject
* obj0
= 0 ;
27137 PyObject
* obj1
= 0 ;
27138 PyObject
* obj2
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "self",(char *) "format",(char *) "dir", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27145 if (SWIG_arg_fail(1)) SWIG_fail
;
27147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27148 if (SWIG_arg_fail(2)) SWIG_fail
;
27149 if (arg2
== NULL
) {
27150 SWIG_null_ref("wxDataFormat");
27152 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
27157 if (SWIG_arg_fail(3)) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27176 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27179 wxDataFormat
*arg2
= 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self",(char *) "format", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27192 if (SWIG_arg_fail(2)) SWIG_fail
;
27193 if (arg2
== NULL
) {
27194 SWIG_null_ref("wxDataFormat");
27196 if (SWIG_arg_fail(2)) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27214 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27217 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self",(char *) "dir", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
27226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27227 if (SWIG_arg_fail(1)) SWIG_fail
;
27230 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
27231 if (SWIG_arg_fail(2)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= result
;
27248 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27251 wxDataFormat
*arg2
= 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self",(char *) "format", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
27260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail
;
27263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(2)) SWIG_fail
;
27265 if (arg2
== NULL
) {
27266 SWIG_null_ref("wxDataFormat");
27268 if (SWIG_arg_fail(2)) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= result
;
27284 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27287 wxDataFormat
*arg2
= 0 ;
27288 PyObject
*arg3
= (PyObject
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 PyObject
* obj2
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self",(char *) "format",(char *) "data", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27299 if (SWIG_arg_fail(1)) SWIG_fail
;
27301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27302 if (SWIG_arg_fail(2)) SWIG_fail
;
27303 if (arg2
== NULL
) {
27304 SWIG_null_ref("wxDataFormat");
27306 if (SWIG_arg_fail(2)) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27325 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27328 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27330 return Py_BuildValue((char *)"");
27332 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27335 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27336 wxDataObjectSimple
*result
;
27337 PyObject
* obj0
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "format", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27346 if (SWIG_arg_fail(1)) SWIG_fail
;
27347 if (arg1
== NULL
) {
27348 SWIG_null_ref("wxDataFormat");
27350 if (SWIG_arg_fail(1)) SWIG_fail
;
27354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27367 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27370 wxDataFormat
*result
;
27371 PyObject
* obj0
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27383 result
= (wxDataFormat
*) &_result_ref
;
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27396 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27399 wxDataFormat
*arg2
= 0 ;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "format", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27411 if (SWIG_arg_fail(2)) SWIG_fail
;
27412 if (arg2
== NULL
) {
27413 SWIG_null_ref("wxDataFormat");
27415 if (SWIG_arg_fail(2)) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 Py_INCREF(Py_None
); resultobj
= Py_None
;
27431 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27459 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27463 PyObject
* obj0
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27470 if (SWIG_arg_fail(1)) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= result
;
27485 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27488 PyObject
*arg2
= (PyObject
*) 0 ;
27490 PyObject
* obj0
= 0 ;
27491 PyObject
* obj1
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self",(char *) "data", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27498 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27516 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27519 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27521 return Py_BuildValue((char *)"");
27523 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27526 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27527 wxPyDataObjectSimple
*result
;
27528 PyObject
* obj0
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "format", NULL
27533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail
;
27538 if (arg1
== NULL
) {
27539 SWIG_null_ref("wxDataFormat");
27541 if (SWIG_arg_fail(1)) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27558 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27561 PyObject
*arg2
= (PyObject
*) 0 ;
27562 PyObject
*arg3
= (PyObject
*) 0 ;
27563 PyObject
* obj0
= 0 ;
27564 PyObject
* obj1
= 0 ;
27565 PyObject
* obj2
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self",(char *) "self",(char *) "_class", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27572 if (SWIG_arg_fail(1)) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 Py_INCREF(Py_None
); resultobj
= Py_None
;
27589 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27592 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27594 return Py_BuildValue((char *)"");
27596 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxDataObjectComposite
*result
;
27599 char *kwnames
[] = {
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27618 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27621 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27622 bool arg3
= (bool) false ;
27623 PyObject
* obj0
= 0 ;
27624 PyObject
* obj1
= 0 ;
27625 PyObject
* obj2
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27632 if (SWIG_arg_fail(1)) SWIG_fail
;
27633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27634 if (SWIG_arg_fail(2)) SWIG_fail
;
27637 arg3
= (bool)(SWIG_As_bool(obj2
));
27638 if (SWIG_arg_fail(3)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 (arg1
)->Add(arg2
,arg3
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 Py_INCREF(Py_None
); resultobj
= Py_None
;
27655 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27658 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27660 return Py_BuildValue((char *)"");
27662 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27665 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27666 wxTextDataObject
*result
;
27667 bool temp1
= false ;
27668 PyObject
* obj0
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "text", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27676 arg1
= wxString_in_helper(obj0
);
27677 if (arg1
== NULL
) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27703 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27714 if (SWIG_arg_fail(1)) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= (size_t)(arg1
)->GetTextLength();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27731 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27742 if (SWIG_arg_fail(1)) SWIG_fail
;
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= (arg1
)->GetText();
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27763 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27766 wxString
*arg2
= 0 ;
27767 bool temp2
= false ;
27768 PyObject
* obj0
= 0 ;
27769 PyObject
* obj1
= 0 ;
27770 char *kwnames
[] = {
27771 (char *) "self",(char *) "text", NULL
27774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27776 if (SWIG_arg_fail(1)) SWIG_fail
;
27778 arg2
= wxString_in_helper(obj1
);
27779 if (arg2
== NULL
) SWIG_fail
;
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 (arg1
)->SetText((wxString
const &)*arg2
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 Py_INCREF(Py_None
); resultobj
= Py_None
;
27804 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27807 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27809 return Py_BuildValue((char *)"");
27811 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27814 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27815 wxPyTextDataObject
*result
;
27816 bool temp1
= false ;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "text", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27825 arg1
= wxString_in_helper(obj0
);
27826 if (arg1
== NULL
) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27852 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
;
27854 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27855 PyObject
*arg2
= (PyObject
*) 0 ;
27856 PyObject
*arg3
= (PyObject
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 PyObject
* obj1
= 0 ;
27859 PyObject
* obj2
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "self",(char *) "self",(char *) "_class", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27866 if (SWIG_arg_fail(1)) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27876 Py_INCREF(Py_None
); resultobj
= Py_None
;
27883 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27886 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27888 return Py_BuildValue((char *)"");
27890 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27893 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27894 wxBitmapDataObject
*result
;
27895 PyObject
* obj0
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "bitmap", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27904 if (SWIG_arg_fail(1)) SWIG_fail
;
27905 if (arg1
== NULL
) {
27906 SWIG_null_ref("wxBitmap");
27908 if (SWIG_arg_fail(1)) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27925 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27929 PyObject
* obj0
= 0 ;
27930 char *kwnames
[] = {
27931 (char *) "self", NULL
27934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27936 if (SWIG_arg_fail(1)) SWIG_fail
;
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27945 wxBitmap
* resultptr
;
27946 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27955 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27958 wxBitmap
*arg2
= 0 ;
27959 PyObject
* obj0
= 0 ;
27960 PyObject
* obj1
= 0 ;
27961 char *kwnames
[] = {
27962 (char *) "self",(char *) "bitmap", NULL
27965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27967 if (SWIG_arg_fail(1)) SWIG_fail
;
27969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27970 if (SWIG_arg_fail(2)) SWIG_fail
;
27971 if (arg2
== NULL
) {
27972 SWIG_null_ref("wxBitmap");
27974 if (SWIG_arg_fail(2)) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 Py_INCREF(Py_None
); resultobj
= Py_None
;
27990 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27993 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27995 return Py_BuildValue((char *)"");
27997 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
28000 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
28001 wxPyBitmapDataObject
*result
;
28002 PyObject
* obj0
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "bitmap", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
28010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
28011 if (SWIG_arg_fail(1)) SWIG_fail
;
28012 if (arg1
== NULL
) {
28013 SWIG_null_ref("wxBitmap");
28015 if (SWIG_arg_fail(1)) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
28032 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
28035 PyObject
*arg2
= (PyObject
*) 0 ;
28036 PyObject
*arg3
= (PyObject
*) 0 ;
28037 PyObject
* obj0
= 0 ;
28038 PyObject
* obj1
= 0 ;
28039 PyObject
* obj2
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self",(char *) "self",(char *) "_class", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 Py_INCREF(Py_None
); resultobj
= Py_None
;
28063 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
28065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28066 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
28068 return Py_BuildValue((char *)"");
28070 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxFileDataObject
*result
;
28073 char *kwnames
[] = {
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (wxFileDataObject
*)new wxFileDataObject();
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
28092 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28095 wxArrayString
*result
;
28096 PyObject
* obj0
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
28102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28103 if (SWIG_arg_fail(1)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
28108 result
= (wxArrayString
*) &_result_ref
;
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= wxArrayString2PyList_helper(*result
);
28123 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
28126 wxString
*arg2
= 0 ;
28127 bool temp2
= false ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self",(char *) "filename", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 arg2
= wxString_in_helper(obj1
);
28139 if (arg2
== NULL
) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 (arg1
)->AddFile((wxString
const &)*arg2
);
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28149 Py_INCREF(Py_None
); resultobj
= Py_None
;
28164 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28167 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
28169 return Py_BuildValue((char *)"");
28171 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
28172 PyObject
*resultobj
;
28173 wxDataFormat
*arg1
= 0 ;
28174 wxCustomDataObject
*result
;
28175 PyObject
* obj0
= 0 ;
28177 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail
;
28181 if (arg1
== NULL
) {
28182 SWIG_null_ref("wxDataFormat");
28184 if (SWIG_arg_fail(1)) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28200 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
28201 PyObject
*resultobj
;
28202 wxString
*arg1
= 0 ;
28203 wxCustomDataObject
*result
;
28204 bool temp1
= false ;
28205 PyObject
* obj0
= 0 ;
28207 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
28209 arg1
= wxString_in_helper(obj0
);
28210 if (arg1
== NULL
) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28235 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
28236 PyObject
*resultobj
;
28237 wxCustomDataObject
*result
;
28239 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 result
= (wxCustomDataObject
*)new wxCustomDataObject();
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
28254 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
28259 argc
= PyObject_Length(args
);
28260 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
28261 argv
[ii
] = PyTuple_GetItem(args
,ii
);
28264 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
28269 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
28272 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
28279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
28287 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
28291 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
28296 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28299 PyObject
*arg2
= (PyObject
*) 0 ;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self",(char *) "data", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(1)) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28327 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28331 PyObject
* obj0
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
28337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (size_t)(arg1
)->GetSize();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28355 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
;
28357 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 char *kwnames
[] = {
28361 (char *) "self", NULL
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28366 if (SWIG_arg_fail(1)) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= result
;
28381 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28384 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28386 return Py_BuildValue((char *)"");
28388 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxURLDataObject
*result
;
28391 char *kwnames
[] = {
28395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (wxURLDataObject
*)new wxURLDataObject();
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28410 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (arg1
)->GetURL();
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28442 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28445 wxString
*arg2
= 0 ;
28446 bool temp2
= false ;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self",(char *) "url", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28455 if (SWIG_arg_fail(1)) SWIG_fail
;
28457 arg2
= wxString_in_helper(obj1
);
28458 if (arg2
== NULL
) SWIG_fail
;
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 (arg1
)->SetURL((wxString
const &)*arg2
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 Py_INCREF(Py_None
); resultobj
= Py_None
;
28483 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28486 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28488 return Py_BuildValue((char *)"");
28490 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxMetafileDataObject
*result
;
28493 char *kwnames
[] = {
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28512 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28515 wxMetafile
*arg2
= 0 ;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self",(char *) "metafile", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28524 if (SWIG_arg_fail(1)) SWIG_fail
;
28526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28527 if (SWIG_arg_fail(2)) SWIG_fail
;
28528 if (arg2
== NULL
) {
28529 SWIG_null_ref("wxMetafile");
28531 if (SWIG_arg_fail(2)) SWIG_fail
;
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 Py_INCREF(Py_None
); resultobj
= Py_None
;
28547 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28551 PyObject
* obj0
= 0 ;
28552 char *kwnames
[] = {
28553 (char *) "self", NULL
28556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28558 if (SWIG_arg_fail(1)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28567 wxMetafile
* resultptr
;
28568 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28577 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28580 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28582 return Py_BuildValue((char *)"");
28584 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxDragResult arg1
;
28588 PyObject
* obj0
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "res", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28595 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28596 if (SWIG_arg_fail(1)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28614 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxWindow
*arg1
= (wxWindow
*) 0 ;
28617 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28618 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28619 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28620 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28621 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28622 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28623 wxPyDropSource
*result
;
28624 PyObject
* obj0
= 0 ;
28625 PyObject
* obj1
= 0 ;
28626 PyObject
* obj2
= 0 ;
28627 PyObject
* obj3
= 0 ;
28628 char *kwnames
[] = {
28629 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28634 if (SWIG_arg_fail(1)) SWIG_fail
;
28637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28638 if (SWIG_arg_fail(2)) SWIG_fail
;
28639 if (arg2
== NULL
) {
28640 SWIG_null_ref("wxCursor");
28642 if (SWIG_arg_fail(2)) SWIG_fail
;
28647 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28648 if (SWIG_arg_fail(3)) SWIG_fail
;
28649 if (arg3
== NULL
) {
28650 SWIG_null_ref("wxCursor");
28652 if (SWIG_arg_fail(3)) SWIG_fail
;
28657 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28658 if (SWIG_arg_fail(4)) SWIG_fail
;
28659 if (arg4
== NULL
) {
28660 SWIG_null_ref("wxCursor");
28662 if (SWIG_arg_fail(4)) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28679 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
;
28681 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28682 PyObject
*arg2
= (PyObject
*) 0 ;
28683 PyObject
*arg3
= (PyObject
*) 0 ;
28685 PyObject
* obj0
= 0 ;
28686 PyObject
* obj1
= 0 ;
28687 PyObject
* obj2
= 0 ;
28688 PyObject
* obj3
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28695 if (SWIG_arg_fail(1)) SWIG_fail
;
28699 arg4
= (int)(SWIG_As_int(obj3
));
28700 if (SWIG_arg_fail(4)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 Py_INCREF(Py_None
); resultobj
= Py_None
;
28716 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
;
28718 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28726 if (SWIG_arg_fail(1)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28744 wxDataObject
*arg2
= 0 ;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "data", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28753 if (SWIG_arg_fail(1)) SWIG_fail
;
28755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28756 if (SWIG_arg_fail(2)) SWIG_fail
;
28757 if (arg2
== NULL
) {
28758 SWIG_null_ref("wxDataObject");
28760 if (SWIG_arg_fail(2)) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->SetData(*arg2
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 Py_INCREF(Py_None
); resultobj
= Py_None
;
28776 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28779 wxDataObject
*result
;
28780 PyObject
* obj0
= 0 ;
28781 char *kwnames
[] = {
28782 (char *) "self", NULL
28785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28787 if (SWIG_arg_fail(1)) SWIG_fail
;
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28802 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28805 wxDragResult arg2
;
28806 wxCursor
*arg3
= 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 PyObject
* obj2
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self",(char *) "res",(char *) "cursor", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28816 if (SWIG_arg_fail(1)) SWIG_fail
;
28818 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28819 if (SWIG_arg_fail(2)) SWIG_fail
;
28822 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28823 if (SWIG_arg_fail(3)) SWIG_fail
;
28824 if (arg3
== NULL
) {
28825 SWIG_null_ref("wxCursor");
28827 if (SWIG_arg_fail(3)) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 Py_INCREF(Py_None
); resultobj
= Py_None
;
28843 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28846 int arg2
= (int) wxDrag_CopyOnly
;
28847 wxDragResult result
;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 char *kwnames
[] = {
28851 (char *) "self",(char *) "flags", NULL
28854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28856 if (SWIG_arg_fail(1)) SWIG_fail
;
28859 arg2
= (int)(SWIG_As_int(obj1
));
28860 if (SWIG_arg_fail(2)) SWIG_fail
;
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= SWIG_From_int((result
));
28877 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28878 PyObject
*resultobj
;
28879 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28880 wxDragResult arg2
;
28882 PyObject
* obj0
= 0 ;
28883 PyObject
* obj1
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "effect", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail
;
28892 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28893 if (SWIG_arg_fail(2)) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28911 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28914 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28916 return Py_BuildValue((char *)"");
28918 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28920 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28921 wxPyDropTarget
*result
;
28922 PyObject
* obj0
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "dataObject", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28930 if (SWIG_arg_fail(1)) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28946 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
;
28948 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28949 PyObject
*arg2
= (PyObject
*) 0 ;
28950 PyObject
*arg3
= (PyObject
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 char *kwnames
[] = {
28955 (char *) "self",(char *) "self",(char *) "_class", NULL
28958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28960 if (SWIG_arg_fail(1)) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 Py_INCREF(Py_None
); resultobj
= Py_None
;
28977 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28980 PyObject
* obj0
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "self", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28987 if (SWIG_arg_fail(1)) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 Py_INCREF(Py_None
); resultobj
= Py_None
;
29002 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29005 wxDataObject
*result
;
29006 PyObject
* obj0
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
29012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(1)) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= (wxDataObject
*)(arg1
)->GetDataObject();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
29028 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29031 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 char *kwnames
[] = {
29035 (char *) "self",(char *) "dataObject", NULL
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
29039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29040 if (SWIG_arg_fail(1)) SWIG_fail
;
29041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29042 if (SWIG_arg_fail(2)) SWIG_fail
;
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29045 (arg1
)->SetDataObject(arg2
);
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 Py_INCREF(Py_None
); resultobj
= Py_None
;
29057 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
;
29059 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29062 wxDragResult arg4
;
29063 wxDragResult result
;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 PyObject
* obj2
= 0 ;
29067 PyObject
* obj3
= 0 ;
29068 char *kwnames
[] = {
29069 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29074 if (SWIG_arg_fail(1)) SWIG_fail
;
29076 arg2
= (int)(SWIG_As_int(obj1
));
29077 if (SWIG_arg_fail(2)) SWIG_fail
;
29080 arg3
= (int)(SWIG_As_int(obj2
));
29081 if (SWIG_arg_fail(3)) SWIG_fail
;
29084 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29085 if (SWIG_arg_fail(4)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 resultobj
= SWIG_From_int((result
));
29101 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29106 wxDragResult arg4
;
29107 wxDragResult result
;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 PyObject
* obj2
= 0 ;
29111 PyObject
* obj3
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29118 if (SWIG_arg_fail(1)) SWIG_fail
;
29120 arg2
= (int)(SWIG_As_int(obj1
));
29121 if (SWIG_arg_fail(2)) SWIG_fail
;
29124 arg3
= (int)(SWIG_As_int(obj2
));
29125 if (SWIG_arg_fail(3)) SWIG_fail
;
29128 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29129 if (SWIG_arg_fail(4)) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 resultobj
= SWIG_From_int((result
));
29145 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
;
29147 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29148 PyObject
* obj0
= 0 ;
29149 char *kwnames
[] = {
29150 (char *) "self", NULL
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29155 if (SWIG_arg_fail(1)) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 (arg1
)->base_OnLeave();
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 Py_INCREF(Py_None
); resultobj
= Py_None
;
29170 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
;
29172 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 PyObject
* obj2
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self",(char *) "x",(char *) "y", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29185 if (SWIG_arg_fail(1)) SWIG_fail
;
29187 arg2
= (int)(SWIG_As_int(obj1
));
29188 if (SWIG_arg_fail(2)) SWIG_fail
;
29191 arg3
= (int)(SWIG_As_int(obj2
));
29192 if (SWIG_arg_fail(3)) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29210 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29214 PyObject
* obj0
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
29220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (bool)(arg1
)->GetData();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29238 static PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29241 wxDragResult arg2
;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self",(char *) "action", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) goto fail
;
29249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29250 if (SWIG_arg_fail(1)) SWIG_fail
;
29252 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
29253 if (SWIG_arg_fail(2)) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 (arg1
)->SetDefaultAction((wxDragResult
)arg2
);
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 Py_INCREF(Py_None
); resultobj
= Py_None
;
29269 static PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
;
29271 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
29272 wxDragResult result
;
29273 PyObject
* obj0
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDefaultAction",kwnames
,&obj0
)) goto fail
;
29279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29280 if (SWIG_arg_fail(1)) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_From_int((result
));
29295 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
29297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29298 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
29300 return Py_BuildValue((char *)"");
29302 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxPyTextDropTarget
*result
;
29305 char *kwnames
[] = {
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
29324 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29327 PyObject
*arg2
= (PyObject
*) 0 ;
29328 PyObject
*arg3
= (PyObject
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self",(char *) "self",(char *) "_class", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 Py_INCREF(Py_None
); resultobj
= Py_None
;
29355 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29360 wxDragResult arg4
;
29361 wxDragResult result
;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 PyObject
* obj2
= 0 ;
29365 PyObject
* obj3
= 0 ;
29366 char *kwnames
[] = {
29367 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29372 if (SWIG_arg_fail(1)) SWIG_fail
;
29374 arg2
= (int)(SWIG_As_int(obj1
));
29375 if (SWIG_arg_fail(2)) SWIG_fail
;
29378 arg3
= (int)(SWIG_As_int(obj2
));
29379 if (SWIG_arg_fail(3)) SWIG_fail
;
29382 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29383 if (SWIG_arg_fail(4)) SWIG_fail
;
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= SWIG_From_int((result
));
29399 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29404 wxDragResult arg4
;
29405 wxDragResult result
;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 PyObject
* obj2
= 0 ;
29409 PyObject
* obj3
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail
;
29418 arg2
= (int)(SWIG_As_int(obj1
));
29419 if (SWIG_arg_fail(2)) SWIG_fail
;
29422 arg3
= (int)(SWIG_As_int(obj2
));
29423 if (SWIG_arg_fail(3)) SWIG_fail
;
29426 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29427 if (SWIG_arg_fail(4)) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_From_int((result
));
29443 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
;
29445 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29446 PyObject
* obj0
= 0 ;
29447 char *kwnames
[] = {
29448 (char *) "self", NULL
29451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29453 if (SWIG_arg_fail(1)) SWIG_fail
;
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 (arg1
)->base_OnLeave();
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 Py_INCREF(Py_None
); resultobj
= Py_None
;
29468 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
;
29470 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 PyObject
* obj2
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self",(char *) "x",(char *) "y", NULL
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29483 if (SWIG_arg_fail(1)) SWIG_fail
;
29485 arg2
= (int)(SWIG_As_int(obj1
));
29486 if (SWIG_arg_fail(2)) SWIG_fail
;
29489 arg3
= (int)(SWIG_As_int(obj2
));
29490 if (SWIG_arg_fail(3)) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29508 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29510 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29513 wxDragResult arg4
;
29514 wxDragResult result
;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 PyObject
* obj3
= 0 ;
29519 char *kwnames
[] = {
29520 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29525 if (SWIG_arg_fail(1)) SWIG_fail
;
29527 arg2
= (int)(SWIG_As_int(obj1
));
29528 if (SWIG_arg_fail(2)) SWIG_fail
;
29531 arg3
= (int)(SWIG_As_int(obj2
));
29532 if (SWIG_arg_fail(3)) SWIG_fail
;
29535 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29536 if (SWIG_arg_fail(4)) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_From_int((result
));
29552 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29555 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29557 return Py_BuildValue((char *)"");
29559 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxPyFileDropTarget
*result
;
29562 char *kwnames
[] = {
29566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29581 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
;
29583 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29584 PyObject
*arg2
= (PyObject
*) 0 ;
29585 PyObject
*arg3
= (PyObject
*) 0 ;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 PyObject
* obj2
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "self",(char *) "_class", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 Py_INCREF(Py_None
); resultobj
= Py_None
;
29612 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29617 wxDragResult arg4
;
29618 wxDragResult result
;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 PyObject
* obj3
= 0 ;
29623 char *kwnames
[] = {
29624 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29629 if (SWIG_arg_fail(1)) SWIG_fail
;
29631 arg2
= (int)(SWIG_As_int(obj1
));
29632 if (SWIG_arg_fail(2)) SWIG_fail
;
29635 arg3
= (int)(SWIG_As_int(obj2
));
29636 if (SWIG_arg_fail(3)) SWIG_fail
;
29639 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29640 if (SWIG_arg_fail(4)) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 resultobj
= SWIG_From_int((result
));
29656 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29661 wxDragResult arg4
;
29662 wxDragResult result
;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 PyObject
* obj2
= 0 ;
29666 PyObject
* obj3
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29673 if (SWIG_arg_fail(1)) SWIG_fail
;
29675 arg2
= (int)(SWIG_As_int(obj1
));
29676 if (SWIG_arg_fail(2)) SWIG_fail
;
29679 arg3
= (int)(SWIG_As_int(obj2
));
29680 if (SWIG_arg_fail(3)) SWIG_fail
;
29683 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29684 if (SWIG_arg_fail(4)) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= SWIG_From_int((result
));
29700 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
;
29702 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29703 PyObject
* obj0
= 0 ;
29704 char *kwnames
[] = {
29705 (char *) "self", NULL
29708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29710 if (SWIG_arg_fail(1)) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 (arg1
)->base_OnLeave();
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 Py_INCREF(Py_None
); resultobj
= Py_None
;
29725 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 PyObject
* obj2
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self",(char *) "x",(char *) "y", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29740 if (SWIG_arg_fail(1)) SWIG_fail
;
29742 arg2
= (int)(SWIG_As_int(obj1
));
29743 if (SWIG_arg_fail(2)) SWIG_fail
;
29746 arg3
= (int)(SWIG_As_int(obj2
));
29747 if (SWIG_arg_fail(3)) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29765 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29770 wxDragResult arg4
;
29771 wxDragResult result
;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 PyObject
* obj2
= 0 ;
29775 PyObject
* obj3
= 0 ;
29776 char *kwnames
[] = {
29777 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29782 if (SWIG_arg_fail(1)) SWIG_fail
;
29784 arg2
= (int)(SWIG_As_int(obj1
));
29785 if (SWIG_arg_fail(2)) SWIG_fail
;
29788 arg3
= (int)(SWIG_As_int(obj2
));
29789 if (SWIG_arg_fail(3)) SWIG_fail
;
29792 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29793 if (SWIG_arg_fail(4)) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= SWIG_From_int((result
));
29809 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29812 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29814 return Py_BuildValue((char *)"");
29816 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxClipboard
*result
;
29819 char *kwnames
[] = {
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (wxClipboard
*)new wxClipboard();
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29838 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 Py_INCREF(Py_None
); resultobj
= Py_None
;
29863 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
;
29865 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29867 PyObject
* obj0
= 0 ;
29868 char *kwnames
[] = {
29869 (char *) "self", NULL
29872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29874 if (SWIG_arg_fail(1)) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (bool)(arg1
)->Open();
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29891 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29901 if (SWIG_arg_fail(1)) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 Py_INCREF(Py_None
); resultobj
= Py_None
;
29916 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
;
29918 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29920 PyObject
* obj0
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail
;
29929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29930 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29932 wxPyEndAllowThreads(__tstate
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29944 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29945 PyObject
*resultobj
;
29946 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29947 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 char *kwnames
[] = {
29952 (char *) "self",(char *) "data", NULL
29955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29957 if (SWIG_arg_fail(1)) SWIG_fail
;
29958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29959 if (SWIG_arg_fail(2)) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (bool)(arg1
)->AddData(arg2
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29976 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
;
29978 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29979 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "data", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29991 if (SWIG_arg_fail(2)) SWIG_fail
;
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 result
= (bool)(arg1
)->SetData(arg2
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30008 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
;
30010 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30011 wxDataFormat
*arg2
= 0 ;
30013 PyObject
* obj0
= 0 ;
30014 PyObject
* obj1
= 0 ;
30015 char *kwnames
[] = {
30016 (char *) "self",(char *) "format", NULL
30019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
30020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30021 if (SWIG_arg_fail(1)) SWIG_fail
;
30023 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
30024 if (SWIG_arg_fail(2)) SWIG_fail
;
30025 if (arg2
== NULL
) {
30026 SWIG_null_ref("wxDataFormat");
30028 if (SWIG_arg_fail(2)) SWIG_fail
;
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30046 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
;
30048 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30049 wxDataObject
*arg2
= 0 ;
30051 PyObject
* obj0
= 0 ;
30052 PyObject
* obj1
= 0 ;
30053 char *kwnames
[] = {
30054 (char *) "self",(char *) "data", NULL
30057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
30058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30059 if (SWIG_arg_fail(1)) SWIG_fail
;
30061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 if (arg2
== NULL
) {
30064 SWIG_null_ref("wxDataObject");
30066 if (SWIG_arg_fail(2)) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (bool)(arg1
)->GetData(*arg2
);
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30084 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
30093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30094 if (SWIG_arg_fail(1)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 Py_INCREF(Py_None
); resultobj
= Py_None
;
30109 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 char *kwnames
[] = {
30115 (char *) "self", NULL
30118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
30119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30120 if (SWIG_arg_fail(1)) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= (bool)(arg1
)->Flush();
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30137 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
;
30139 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
30140 bool arg2
= (bool) true ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "primary", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(1)) SWIG_fail
;
30152 arg2
= (bool)(SWIG_As_bool(obj1
));
30153 if (SWIG_arg_fail(2)) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 (arg1
)->UsePrimarySelection(arg2
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 Py_INCREF(Py_None
); resultobj
= Py_None
;
30170 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxClipboard
*result
;
30173 char *kwnames
[] = {
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (wxClipboard
*)wxClipboard::Get();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
30192 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
30194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30195 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
30197 return Py_BuildValue((char *)"");
30199 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
30202 wxClipboardLocker
*result
;
30203 PyObject
* obj0
= 0 ;
30204 char *kwnames
[] = {
30205 (char *) "clipboard", NULL
30208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
30211 if (SWIG_arg_fail(1)) SWIG_fail
;
30214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30215 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
30227 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30228 PyObject
*resultobj
;
30229 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 char *kwnames
[] = {
30232 (char *) "self", NULL
30235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
30236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30237 if (SWIG_arg_fail(1)) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 Py_INCREF(Py_None
); resultobj
= Py_None
;
30252 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
30256 PyObject
* obj0
= 0 ;
30257 char *kwnames
[] = {
30258 (char *) "self", NULL
30261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
30262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
30263 if (SWIG_arg_fail(1)) SWIG_fail
;
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30280 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
30282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30283 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
30285 return Py_BuildValue((char *)"");
30287 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 int arg1
= (int) 0 ;
30290 int arg2
= (int) 0 ;
30291 int arg3
= (int) 0 ;
30292 int arg4
= (int) 0 ;
30293 wxVideoMode
*result
;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 PyObject
* obj2
= 0 ;
30297 PyObject
* obj3
= 0 ;
30298 char *kwnames
[] = {
30299 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30305 arg1
= (int)(SWIG_As_int(obj0
));
30306 if (SWIG_arg_fail(1)) SWIG_fail
;
30311 arg2
= (int)(SWIG_As_int(obj1
));
30312 if (SWIG_arg_fail(2)) SWIG_fail
;
30317 arg3
= (int)(SWIG_As_int(obj2
));
30318 if (SWIG_arg_fail(3)) SWIG_fail
;
30323 arg4
= (int)(SWIG_As_int(obj3
));
30324 if (SWIG_arg_fail(4)) SWIG_fail
;
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
30341 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30344 PyObject
* obj0
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
30350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30351 if (SWIG_arg_fail(1)) SWIG_fail
;
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 Py_INCREF(Py_None
); resultobj
= Py_None
;
30366 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30367 PyObject
*resultobj
;
30368 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30369 wxVideoMode
*arg2
= 0 ;
30371 PyObject
* obj0
= 0 ;
30372 PyObject
* obj1
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self",(char *) "other", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
30378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(1)) SWIG_fail
;
30381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30382 if (SWIG_arg_fail(2)) SWIG_fail
;
30383 if (arg2
== NULL
) {
30384 SWIG_null_ref("wxVideoMode");
30386 if (SWIG_arg_fail(2)) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30404 static PyObject
*_wrap_VideoMode_GetWidth(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_GetWidth",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
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= SWIG_From_int((int)(result
));
30432 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30436 PyObject
* obj0
= 0 ;
30437 char *kwnames
[] = {
30438 (char *) "self", NULL
30441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
30442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30443 if (SWIG_arg_fail(1)) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30452 resultobj
= SWIG_From_int((int)(result
));
30460 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
;
30462 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
30470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30471 if (SWIG_arg_fail(1)) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= SWIG_From_int((int)(result
));
30488 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 char *kwnames
[] = {
30494 (char *) "self", NULL
30497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30499 if (SWIG_arg_fail(1)) SWIG_fail
;
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30516 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
;
30518 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30519 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self",(char *) "other", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30529 if (SWIG_arg_fail(1)) SWIG_fail
;
30530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30531 if (SWIG_arg_fail(2)) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30548 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30551 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 char *kwnames
[] = {
30556 (char *) "self",(char *) "other", NULL
30559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30561 if (SWIG_arg_fail(1)) SWIG_fail
;
30562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(2)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30580 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "w", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30594 arg2
= (int)(SWIG_As_int(obj1
));
30595 if (SWIG_arg_fail(2)) SWIG_fail
;
30597 if (arg1
) (arg1
)->w
= arg2
;
30599 Py_INCREF(Py_None
); resultobj
= Py_None
;
30606 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
;
30608 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30610 PyObject
* obj0
= 0 ;
30611 char *kwnames
[] = {
30612 (char *) "self", NULL
30615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30617 if (SWIG_arg_fail(1)) SWIG_fail
;
30618 result
= (int) ((arg1
)->w
);
30621 resultobj
= SWIG_From_int((int)(result
));
30629 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30630 PyObject
*resultobj
;
30631 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30633 PyObject
* obj0
= 0 ;
30634 PyObject
* obj1
= 0 ;
30635 char *kwnames
[] = {
30636 (char *) "self",(char *) "h", NULL
30639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30641 if (SWIG_arg_fail(1)) SWIG_fail
;
30643 arg2
= (int)(SWIG_As_int(obj1
));
30644 if (SWIG_arg_fail(2)) SWIG_fail
;
30646 if (arg1
) (arg1
)->h
= arg2
;
30648 Py_INCREF(Py_None
); resultobj
= Py_None
;
30655 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30656 PyObject
*resultobj
;
30657 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30659 PyObject
* obj0
= 0 ;
30660 char *kwnames
[] = {
30661 (char *) "self", NULL
30664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30666 if (SWIG_arg_fail(1)) SWIG_fail
;
30667 result
= (int) ((arg1
)->h
);
30670 resultobj
= SWIG_From_int((int)(result
));
30678 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
;
30680 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self",(char *) "bpp", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail
;
30692 arg2
= (int)(SWIG_As_int(obj1
));
30693 if (SWIG_arg_fail(2)) SWIG_fail
;
30695 if (arg1
) (arg1
)->bpp
= arg2
;
30697 Py_INCREF(Py_None
); resultobj
= Py_None
;
30704 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30708 PyObject
* obj0
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30715 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 result
= (int) ((arg1
)->bpp
);
30719 resultobj
= SWIG_From_int((int)(result
));
30727 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
;
30729 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30731 PyObject
* obj0
= 0 ;
30732 PyObject
* obj1
= 0 ;
30733 char *kwnames
[] = {
30734 (char *) "self",(char *) "refresh", NULL
30737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30739 if (SWIG_arg_fail(1)) SWIG_fail
;
30741 arg2
= (int)(SWIG_As_int(obj1
));
30742 if (SWIG_arg_fail(2)) SWIG_fail
;
30744 if (arg1
) (arg1
)->refresh
= arg2
;
30746 Py_INCREF(Py_None
); resultobj
= Py_None
;
30753 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30757 PyObject
* obj0
= 0 ;
30758 char *kwnames
[] = {
30759 (char *) "self", NULL
30762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30764 if (SWIG_arg_fail(1)) SWIG_fail
;
30765 result
= (int) ((arg1
)->refresh
);
30768 resultobj
= SWIG_From_int((int)(result
));
30776 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30779 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30781 return Py_BuildValue((char *)"");
30783 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30784 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30789 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30792 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30797 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
;
30799 size_t arg1
= (size_t) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 char *kwnames
[] = {
30803 (char *) "index", NULL
30806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30809 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30810 if (SWIG_arg_fail(1)) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (wxDisplay
*)new wxDisplay(arg1
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30827 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30828 PyObject
*resultobj
;
30829 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30830 PyObject
* obj0
= 0 ;
30831 char *kwnames
[] = {
30832 (char *) "self", NULL
30835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30837 if (SWIG_arg_fail(1)) SWIG_fail
;
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30845 Py_INCREF(Py_None
); resultobj
= Py_None
;
30852 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30853 PyObject
*resultobj
;
30855 char *kwnames
[] = {
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (size_t)wxDisplay::GetCount();
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30876 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxPoint
*arg1
= 0 ;
30881 PyObject
* obj0
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "pt", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30889 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30899 resultobj
= SWIG_From_int((int)(result
));
30907 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
;
30909 wxWindow
*arg1
= (wxWindow
*) 0 ;
30911 PyObject
* obj0
= 0 ;
30912 char *kwnames
[] = {
30913 (char *) "window", NULL
30916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30918 if (SWIG_arg_fail(1)) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (int)Display_GetFromWindow(arg1
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= SWIG_From_int((int)(result
));
30935 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
;
30937 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30939 PyObject
* obj0
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30946 if (SWIG_arg_fail(1)) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30963 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
;
30965 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30967 PyObject
* obj0
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "self", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30974 if (SWIG_arg_fail(1)) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30983 wxRect
* resultptr
;
30984 resultptr
= new wxRect((wxRect
&)(result
));
30985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30993 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 char *kwnames
[] = {
30999 (char *) "self", NULL
31002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
31003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31004 if (SWIG_arg_fail(1)) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= ((wxDisplay
const *)arg1
)->GetName();
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31025 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
;
31027 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31029 PyObject
* obj0
= 0 ;
31030 char *kwnames
[] = {
31031 (char *) "self", NULL
31034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
31035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31036 if (SWIG_arg_fail(1)) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31053 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31056 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31057 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "mode", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
31066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31067 if (SWIG_arg_fail(1)) SWIG_fail
;
31070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31071 if (SWIG_arg_fail(2)) SWIG_fail
;
31072 if (arg2
== NULL
) {
31073 SWIG_null_ref("wxVideoMode");
31075 if (SWIG_arg_fail(2)) SWIG_fail
;
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= result
;
31092 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
;
31094 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31095 wxVideoMode result
;
31096 PyObject
* obj0
= 0 ;
31097 char *kwnames
[] = {
31098 (char *) "self", NULL
31101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
31102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31103 if (SWIG_arg_fail(1)) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31112 wxVideoMode
* resultptr
;
31113 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
31114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
31122 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31125 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
31126 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self",(char *) "mode", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31136 if (SWIG_arg_fail(1)) SWIG_fail
;
31139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
31140 if (SWIG_arg_fail(2)) SWIG_fail
;
31141 if (arg2
== NULL
) {
31142 SWIG_null_ref("wxVideoMode");
31144 if (SWIG_arg_fail(2)) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31163 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
31166 PyObject
* obj0
= 0 ;
31167 char *kwnames
[] = {
31168 (char *) "self", NULL
31171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
31172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
31173 if (SWIG_arg_fail(1)) SWIG_fail
;
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31176 (arg1
)->ResetMode();
31178 wxPyEndAllowThreads(__tstate
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 Py_INCREF(Py_None
); resultobj
= Py_None
;
31188 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
31190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31191 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
31193 return Py_BuildValue((char *)"");
31195 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
;
31197 wxStandardPaths
*result
;
31198 char *kwnames
[] = {
31202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (wxStandardPaths
*)StandardPaths_Get();
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
31217 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 char *kwnames
[] = {
31223 (char *) "self", NULL
31226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
31227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31228 if (SWIG_arg_fail(1)) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31249 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
;
31251 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31253 PyObject
* obj0
= 0 ;
31254 char *kwnames
[] = {
31255 (char *) "self", NULL
31258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
31259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31260 if (SWIG_arg_fail(1)) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31281 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
;
31283 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31285 PyObject
* obj0
= 0 ;
31286 char *kwnames
[] = {
31287 (char *) "self", NULL
31290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
31291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31292 if (SWIG_arg_fail(1)) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31313 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31317 PyObject
* obj0
= 0 ;
31318 char *kwnames
[] = {
31319 (char *) "self", NULL
31322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
31323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31324 if (SWIG_arg_fail(1)) SWIG_fail
;
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31345 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31349 PyObject
* obj0
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
31355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31377 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
;
31379 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31381 PyObject
* obj0
= 0 ;
31382 char *kwnames
[] = {
31383 (char *) "self", NULL
31386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
31387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31388 if (SWIG_arg_fail(1)) SWIG_fail
;
31390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31391 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
31393 wxPyEndAllowThreads(__tstate
);
31394 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31409 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
;
31411 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31413 PyObject
* obj0
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
31419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31420 if (SWIG_arg_fail(1)) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31441 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31444 wxString
*arg2
= 0 ;
31445 bool temp2
= false ;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self",(char *) "prefix", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
31453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31454 if (SWIG_arg_fail(1)) SWIG_fail
;
31456 arg2
= wxString_in_helper(obj1
);
31457 if (arg2
== NULL
) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 Py_INCREF(Py_None
); resultobj
= Py_None
;
31482 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31486 PyObject
* obj0
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31493 if (SWIG_arg_fail(1)) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= wxStandardPaths_GetInstallPrefix(arg1
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31514 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31517 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31519 return Py_BuildValue((char *)"");
31521 static PyMethodDef SwigMethods
[] = {
31522 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31529 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31537 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31602 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31610 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31628 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31631 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31634 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31637 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31643 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31657 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31672 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31690 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31693 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31720 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31726 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31733 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31739 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31753 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31757 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31760 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31777 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31785 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31832 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31850 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31860 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31876 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31892 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31959 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31962 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31969 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
32062 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
32063 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
32064 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
32065 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
32082 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
32127 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
32161 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
32169 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
32170 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
32175 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
32184 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32191 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
32194 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
32197 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
32202 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
32205 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32209 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
32212 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
32216 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
32217 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
32221 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
32225 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
32229 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
32239 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
) _wrap_DropTarget_GetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
32252 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
32260 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
32268 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
32282 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
32286 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
32304 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
32318 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
32329 { NULL
, NULL
, 0, NULL
}
32333 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32335 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32338 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32339 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32341 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32342 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32344 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32347 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32348 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32350 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32351 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32353 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
32354 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
32356 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32357 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32359 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32362 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32363 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32365 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32368 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
32369 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
32371 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32372 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32374 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32375 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32377 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32378 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32380 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32381 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32383 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32384 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32386 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32387 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32389 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32390 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32392 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32393 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32395 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32398 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32399 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32401 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32402 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32404 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32407 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32408 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32410 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32411 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32413 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32414 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32416 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32417 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32419 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32420 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32422 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32423 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32425 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32428 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
32429 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
32431 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32432 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32434 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32435 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32437 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32438 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32440 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32443 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32444 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32446 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32447 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32449 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32450 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32452 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
32453 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
32455 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
32456 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
32458 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
32459 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32461 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
32462 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32464 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
32465 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
32467 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
32468 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32470 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
32471 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
32473 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32474 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32476 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32477 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32479 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32480 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32482 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32483 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32485 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32486 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32488 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32489 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32491 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32492 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32494 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32495 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32497 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32498 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32500 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32501 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32503 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32504 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32506 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32507 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32509 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32510 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32512 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32513 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32515 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32516 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32518 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32519 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32521 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32522 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32524 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32527 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32530 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32533 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32536 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32539 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32542 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32545 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32548 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32551 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32554 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32555 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32557 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32560 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32563 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32566 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32569 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32572 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32575 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32578 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxSizer
*) x
));
32581 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32584 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32587 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32590 static void *_p_wxEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) ((wxEvent
*) x
));
32593 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32596 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32599 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32602 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32605 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32608 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32611 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32614 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32617 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32620 static void *_p_wxControlTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32623 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32626 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32629 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32632 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32635 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32638 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32641 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32644 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32647 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32650 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32653 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32656 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32659 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32662 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32665 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32668 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32671 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32674 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32677 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32680 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32683 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32686 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32689 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32692 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32695 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32698 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32701 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32704 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32707 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32710 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32713 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32716 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32719 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32722 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32725 static void *_p_wxImageTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) ((wxImage
*) x
));
32728 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32731 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32734 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32737 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32740 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32743 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32746 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32749 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32752 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32755 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32758 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32761 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32764 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32767 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32770 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32773 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32776 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32779 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32782 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32785 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32788 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32791 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32794 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32797 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32800 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32803 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32806 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32809 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32812 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32813 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32815 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32816 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32818 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32819 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32821 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32822 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32824 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32825 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32827 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32828 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32830 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32831 return (void *)((wxWindow
*) ((wxControl
*) x
));
32833 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32834 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32836 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32837 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32839 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32840 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32842 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32843 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32845 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}};
32846 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}};
32847 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32848 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}};
32849 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}};
32850 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}};
32851 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32943 static swig_type_info
*swig_types_initial
[] = {
32944 _swigt__p_wxLogChain
,
32945 _swigt__p_wxMutexGuiLocker
,
32946 _swigt__p_wxMetafile
,
32947 _swigt__p_wxFileHistory
,
32951 _swigt__p_wxDateTime__TimeZone
,
32952 _swigt__p_wxConfigBase
,
32953 _swigt__p_wxDisplay
,
32954 _swigt__p_wxFileType
,
32955 _swigt__p_wxLogGui
,
32957 _swigt__p_wxDataFormat
,
32958 _swigt__p_wxTimerEvent
,
32961 _swigt__std__ptrdiff_t
,
32964 _swigt__p_wxClipboard
,
32965 _swigt__p_wxStopWatch
,
32967 _swigt__p_wxClipboardLocker
,
32969 _swigt__p_wxLogStderr
,
32970 _swigt__p_wxLogTextCtrl
,
32971 _swigt__p_wxTextCtrl
,
32972 _swigt__p_wxBusyCursor
,
32973 _swigt__p_wxBitmapDataObject
,
32974 _swigt__p_wxTextDataObject
,
32975 _swigt__p_wxDataObject
,
32976 _swigt__p_wxPyTextDataObject
,
32977 _swigt__p_wxPyBitmapDataObject
,
32978 _swigt__p_wxFileDataObject
,
32979 _swigt__p_wxCustomDataObject
,
32980 _swigt__p_wxURLDataObject
,
32981 _swigt__p_wxMetafileDataObject
,
32983 _swigt__p_wxTimerRunner
,
32984 _swigt__p_wxLogWindow
,
32985 _swigt__p_wxTimeSpan
,
32986 _swigt__p_wxArrayString
,
32987 _swigt__p_wxWindowDisabler
,
32988 _swigt__p_form_ops_t
,
32989 _swigt__p_wxToolTip
,
32990 _swigt__p_wxDataObjectComposite
,
32991 _swigt__p_wxSystemSettings
,
32992 _swigt__p_wxFileConfig
,
32993 _swigt__p_wxVideoMode
,
32994 _swigt__p_wxDataObjectSimple
,
32995 _swigt__p_wxPyDataObjectSimple
,
32996 _swigt__p_wxDuplexMode
,
32997 _swigt__p_wxEvtHandler
,
33000 _swigt__p_wxSingleInstanceChecker
,
33001 _swigt__p_wxStandardPaths
,
33002 _swigt__p_wxFileTypeInfo
,
33005 _swigt__p_wxPaperSize
,
33006 _swigt__p_wxMimeTypesManager
,
33007 _swigt__p_wxPyArtProvider
,
33008 _swigt__p_wxPyTipProvider
,
33009 _swigt__p_wxTipProvider
,
33010 _swigt__p_wxJoystick
,
33011 _swigt__p_wxSystemOptions
,
33013 _swigt__p_wxJoystickEvent
,
33014 _swigt__p_wxCursor
,
33015 _swigt__p_wxObject
,
33016 _swigt__p_wxOutputStream
,
33017 _swigt__p_wxDateTime
,
33018 _swigt__p_wxPyDropSource
,
33019 _swigt__p_unsigned_long
,
33020 _swigt__p_wxKillError
,
33021 _swigt__p_wxWindow
,
33022 _swigt__p_wxString
,
33023 _swigt__p_wxPyProcess
,
33024 _swigt__p_wxBitmap
,
33025 _swigt__p_wxConfig
,
33026 _swigt__unsigned_int
,
33027 _swigt__p_unsigned_int
,
33028 _swigt__p_unsigned_char
,
33030 _swigt__p_wxBusyInfo
,
33031 _swigt__p_wxPyDropTarget
,
33032 _swigt__p_wxPyTextDropTarget
,
33033 _swigt__p_wxPyFileDropTarget
,
33034 _swigt__p_wxProcessEvent
,
33036 _swigt__p_wxLogNull
,
33037 _swigt__p_wxColour
,
33038 _swigt__p_wxPyTimer
,
33039 _swigt__p_wxConfigPathChanger
,
33040 _swigt__p_wxDateSpan
,
33045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33047 static swig_const_info swig_const_table
[] = {
33048 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
33049 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
33050 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
33051 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
33052 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
33053 {0, 0, 0, 0.0, 0, 0}};
33064 /* Python-specific SWIG API */
33065 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33066 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33067 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33069 /* -----------------------------------------------------------------------------
33070 * global variable support code.
33071 * ----------------------------------------------------------------------------- */
33073 typedef struct swig_globalvar
{
33074 char *name
; /* Name of global variable */
33075 PyObject
*(*get_attr
)(); /* Return the current value */
33076 int (*set_attr
)(PyObject
*); /* Set the value */
33077 struct swig_globalvar
*next
;
33080 typedef struct swig_varlinkobject
{
33082 swig_globalvar
*vars
;
33083 } swig_varlinkobject
;
33086 swig_varlink_repr(swig_varlinkobject
*v
) {
33088 return PyString_FromString("<Swig global variables>");
33092 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
33093 swig_globalvar
*var
;
33095 fprintf(fp
,"Swig global variables { ");
33096 for (var
= v
->vars
; var
; var
=var
->next
) {
33097 fprintf(fp
,"%s", var
->name
);
33098 if (var
->next
) fprintf(fp
,", ");
33100 fprintf(fp
," }\n");
33105 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33106 swig_globalvar
*var
= v
->vars
;
33108 if (strcmp(var
->name
,n
) == 0) {
33109 return (*var
->get_attr
)();
33113 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33118 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33119 swig_globalvar
*var
= v
->vars
;
33121 if (strcmp(var
->name
,n
) == 0) {
33122 return (*var
->set_attr
)(p
);
33126 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33130 static PyTypeObject varlinktype
= {
33131 PyObject_HEAD_INIT(0)
33132 0, /* Number of items in variable part (ob_size) */
33133 (char *)"swigvarlink", /* Type name (tp_name) */
33134 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33135 0, /* Itemsize (tp_itemsize) */
33136 0, /* Deallocator (tp_dealloc) */
33137 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33138 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33139 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33140 0, /* tp_compare */
33141 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33142 0, /* tp_as_number */
33143 0, /* tp_as_sequence */
33144 0, /* tp_as_mapping */
33148 0, /* tp_getattro */
33149 0, /* tp_setattro */
33150 0, /* tp_as_buffer */
33153 #if PY_VERSION_HEX >= 0x02000000
33154 0, /* tp_traverse */
33157 #if PY_VERSION_HEX >= 0x02010000
33158 0, /* tp_richcompare */
33159 0, /* tp_weaklistoffset */
33161 #if PY_VERSION_HEX >= 0x02020000
33162 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33164 #if PY_VERSION_HEX >= 0x02030000
33167 #ifdef COUNT_ALLOCS
33168 0,0,0,0 /* tp_alloc -> tp_next */
33172 /* Create a variable linking object for use later */
33174 SWIG_Python_newvarlink(void) {
33175 swig_varlinkobject
*result
= 0;
33176 result
= PyMem_NEW(swig_varlinkobject
,1);
33177 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
33178 result
->ob_type
= &varlinktype
;
33180 result
->ob_refcnt
= 0;
33181 Py_XINCREF((PyObject
*) result
);
33182 return ((PyObject
*) result
);
33186 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33187 swig_varlinkobject
*v
;
33188 swig_globalvar
*gv
;
33189 v
= (swig_varlinkobject
*) p
;
33190 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33191 gv
->name
= (char *) malloc(strlen(name
)+1);
33192 strcpy(gv
->name
,name
);
33193 gv
->get_attr
= get_attr
;
33194 gv
->set_attr
= set_attr
;
33195 gv
->next
= v
->vars
;
33199 /* -----------------------------------------------------------------------------
33200 * constants/methods manipulation
33201 * ----------------------------------------------------------------------------- */
33203 /* Install Constants */
33205 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33208 for (i
= 0; constants
[i
].type
; i
++) {
33209 switch(constants
[i
].type
) {
33211 obj
= PyInt_FromLong(constants
[i
].lvalue
);
33213 case SWIG_PY_FLOAT
:
33214 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
33216 case SWIG_PY_STRING
:
33217 if (constants
[i
].pvalue
) {
33218 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
33220 Py_INCREF(Py_None
);
33224 case SWIG_PY_POINTER
:
33225 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33227 case SWIG_PY_BINARY
:
33228 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33235 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
33241 /* -----------------------------------------------------------------------------*/
33242 /* Fix SwigMethods to carry the callback ptrs when needed */
33243 /* -----------------------------------------------------------------------------*/
33246 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33247 swig_const_info
*const_table
,
33248 swig_type_info
**types
,
33249 swig_type_info
**types_initial
) {
33251 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33252 char *c
= methods
[i
].ml_doc
;
33253 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33255 swig_const_info
*ci
= 0;
33256 char *name
= c
+ 10;
33257 for (j
= 0; const_table
[j
].type
; j
++) {
33258 if (strncmp(const_table
[j
].name
, name
,
33259 strlen(const_table
[j
].name
)) == 0) {
33260 ci
= &(const_table
[j
]);
33265 size_t shift
= (ci
->ptype
) - types
;
33266 swig_type_info
*ty
= types_initial
[shift
];
33267 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33268 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33269 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33271 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
33272 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33274 strncpy(buff
, "swig_ptr: ", 10);
33276 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33277 methods
[i
].ml_doc
= ndoc
;
33283 /* -----------------------------------------------------------------------------*
33284 * Initialize type list
33285 * -----------------------------------------------------------------------------*/
33287 #if PY_MAJOR_VERSION < 2
33288 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33289 is copied out of Python/modsupport.c in python version 2.3.4 */
33291 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
33294 if (!PyModule_Check(m
)) {
33295 PyErr_SetString(PyExc_TypeError
,
33296 "PyModule_AddObject() needs module as first arg");
33300 PyErr_SetString(PyExc_TypeError
,
33301 "PyModule_AddObject() needs non-NULL value");
33305 dict
= PyModule_GetDict(m
);
33306 if (dict
== NULL
) {
33307 /* Internal error -- modules must have a dict! */
33308 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
33309 PyModule_GetName(m
));
33312 if (PyDict_SetItemString(dict
, name
, o
))
33319 static swig_type_info
**
33320 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
33321 static PyMethodDef swig_empty_runtime_method_table
[] = {
33323 NULL
, NULL
, 0, NULL
33327 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
33328 swig_empty_runtime_method_table
);
33329 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
33330 if (pointer
&& module) {
33331 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
33333 return type_list_handle
;
33336 static swig_type_info
**
33337 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
33338 swig_type_info
**type_pointer
;
33340 /* first check if module already created */
33341 type_pointer
= SWIG_Python_GetTypeListHandle();
33342 if (type_pointer
) {
33343 return type_pointer
;
33345 /* create a new module and variable */
33346 return SWIG_Python_SetTypeListHandle(type_list_handle
);
33354 /* -----------------------------------------------------------------------------*
33355 * Partial Init method
33356 * -----------------------------------------------------------------------------*/
33358 #ifdef SWIG_LINK_RUNTIME
33362 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33368 SWIGEXPORT(void) SWIG_init(void) {
33369 static PyObject
*SWIG_globals
= 0;
33370 static int typeinit
= 0;
33373 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33375 /* Fix SwigMethods to carry the callback ptrs when needed */
33376 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
33378 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33379 d
= PyModule_GetDict(m
);
33382 #ifdef SWIG_LINK_RUNTIME
33383 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
33385 # ifndef SWIG_STATIC_RUNTIME
33386 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
33389 for (i
= 0; swig_types_initial
[i
]; i
++) {
33390 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33394 SWIG_InstallConstants(d
,swig_const_table
);
33397 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
33400 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
33403 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
33406 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
33409 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
33412 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
33415 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
33418 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
33421 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
33424 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
33427 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
33430 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
33433 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
33436 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
33439 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
33442 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
33445 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
33448 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
33451 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
33454 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
33457 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
33460 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
33463 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
33466 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
33469 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
33472 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
33475 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
33478 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33481 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33484 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33487 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33490 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33493 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33496 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33499 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33502 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33505 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33508 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33511 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33514 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33517 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33520 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33523 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33526 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33529 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33532 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33535 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33538 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33541 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33544 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33547 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33550 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33553 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33556 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33559 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33562 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33565 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33568 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33571 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33574 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33577 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33580 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33583 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33586 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33589 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33592 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33595 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33598 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33601 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33604 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33607 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33610 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33613 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33616 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33619 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33622 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33625 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33628 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33631 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33634 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33637 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33640 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33643 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33646 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33649 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33652 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33655 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33658 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33661 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33664 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33667 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33669 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33670 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33671 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33672 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33673 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33675 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33678 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33681 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33684 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33686 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33688 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33691 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33694 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33697 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33700 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33703 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33706 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33709 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33712 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33715 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33718 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33721 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33723 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33724 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33725 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33726 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33727 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33729 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33732 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33735 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33738 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33741 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33744 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33747 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33750 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33753 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33756 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33759 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33762 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33765 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33768 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33771 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33774 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33777 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33780 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33783 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33786 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33789 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33792 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33795 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33798 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33801 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33804 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33807 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33810 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33813 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33816 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33819 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33821 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33823 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33826 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33829 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33832 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33835 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33838 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33841 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33844 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33847 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33850 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33853 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33856 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33859 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33861 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33862 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33863 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33864 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33866 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33869 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33872 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33875 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33878 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33881 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33884 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33887 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33889 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33890 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get
, _wrap_ART_FILE_SAVE_set
);
33913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get
, _wrap_ART_FILE_SAVE_AS_set
);
33914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33922 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33923 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33924 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33933 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33934 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33935 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33936 SWIG_addvarlink(SWIG_globals
,(char*)"ART_COPY",_wrap_ART_COPY_get
, _wrap_ART_COPY_set
);
33937 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CUT",_wrap_ART_CUT_get
, _wrap_ART_CUT_set
);
33938 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PASTE",_wrap_ART_PASTE_get
, _wrap_ART_PASTE_set
);
33939 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DELETE",_wrap_ART_DELETE_get
, _wrap_ART_DELETE_set
);
33940 SWIG_addvarlink(SWIG_globals
,(char*)"ART_UNDO",_wrap_ART_UNDO_get
, _wrap_ART_UNDO_set
);
33941 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REDO",_wrap_ART_REDO_get
, _wrap_ART_REDO_set
);
33942 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUIT",_wrap_ART_QUIT_get
, _wrap_ART_QUIT_set
);
33943 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND",_wrap_ART_FIND_get
, _wrap_ART_FIND_set
);
33944 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get
, _wrap_ART_FIND_AND_REPLACE_set
);
33946 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33949 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33952 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33955 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33958 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33961 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33964 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33967 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33970 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33973 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33975 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33976 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33978 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33981 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33984 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33987 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33990 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33993 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33996 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33999 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
34002 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
34005 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
34008 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
34011 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
34014 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
34017 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
34020 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
34023 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
34026 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
34029 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
34032 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
34035 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
34038 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
34041 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
34044 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
34047 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
34050 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
34053 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
34056 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
34059 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
34062 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
34065 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
34068 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
34071 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
34074 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
34077 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
34080 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
34083 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
34086 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
34089 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
34092 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
34095 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
34098 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
34101 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
34104 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
34107 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
34110 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
34113 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
34116 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
34119 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
34122 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
34125 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
34128 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
34131 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
34134 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
34137 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
34140 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
34143 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
34146 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
34149 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
34152 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
34155 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
34158 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
34161 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
34164 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
34167 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
34170 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
34173 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
34176 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
34179 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
34182 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
34185 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
34188 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
34191 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
34194 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
34197 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
34200 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
34203 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
34206 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
34209 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
34212 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
34215 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
34218 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
34221 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
34224 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
34227 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
34230 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
34233 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
34236 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
34239 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
34242 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
34245 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
34248 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
34251 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
34254 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
34257 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
34260 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
34263 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
34266 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
34269 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
34272 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
34275 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
34278 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
34281 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
34284 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
34287 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
34290 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
34293 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
34296 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
34299 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
34302 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
34305 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
34308 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
34311 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
34314 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
34317 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
34320 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
34323 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
34326 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
34329 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
34332 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
34335 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
34338 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
34341 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
34344 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
34347 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
34350 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
34353 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
34356 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
34359 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
34362 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
34365 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
34368 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
34371 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
34374 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
34377 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
34380 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
34383 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
34386 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
34389 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
34392 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
34395 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
34398 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
34401 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
34404 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
34407 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
34410 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
34413 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
34416 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
34419 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
34422 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
34425 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
34428 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
34431 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
34434 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
34437 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
34440 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
34442 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
34444 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
34447 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
34450 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
34453 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
34456 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
34459 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
34462 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
34465 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
34468 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
34471 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
34474 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
34477 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
34480 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
34483 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
34486 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
34489 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34492 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34495 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34498 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34501 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34503 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34505 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34508 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34511 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34514 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34517 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34520 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34523 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34526 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34529 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34532 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34535 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34538 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34541 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34542 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34543 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34544 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34546 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);