1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxMetafile swig_types[2]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1345 #define SWIGTYPE_p_wxLog swig_types[4]
1346 #define SWIGTYPE_p_wxMenu swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1350 #define SWIGTYPE_p_wxDisplay swig_types[9]
1351 #define SWIGTYPE_p_wxFileType swig_types[10]
1352 #define SWIGTYPE_p_wxLogGui swig_types[11]
1353 #define SWIGTYPE_p_wxFont swig_types[12]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356 #define SWIGTYPE_p_wxCaret swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_p_int swig_types[18]
1360 #define SWIGTYPE_p_wxSize swig_types[19]
1361 #define SWIGTYPE_p_wxClipboard swig_types[20]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1363 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxLogStderr swig_types[24]
1366 #define SWIGTYPE_p_wxLogTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxBusyCursor swig_types[27]
1369 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyTextDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxFileDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxURLDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxMetafileDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxSound swig_types[37]
1379 #define SWIGTYPE_p_wxTimerRunner swig_types[38]
1380 #define SWIGTYPE_p_wxLogWindow swig_types[39]
1381 #define SWIGTYPE_p_wxTimeSpan swig_types[40]
1382 #define SWIGTYPE_p_wxArrayString swig_types[41]
1383 #define SWIGTYPE_p_wxWindowDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxToolTip swig_types[44]
1386 #define SWIGTYPE_p_wxDataObjectComposite swig_types[45]
1387 #define SWIGTYPE_p_wxFileConfig swig_types[46]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1389 #define SWIGTYPE_p_wxVideoMode swig_types[48]
1390 #define SWIGTYPE_p_wxDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
1393 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_char swig_types[54]
1396 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[55]
1397 #define SWIGTYPE_p_wxStandardPaths swig_types[56]
1398 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
1399 #define SWIGTYPE_p_wxFrame swig_types[58]
1400 #define SWIGTYPE_p_wxTimer swig_types[59]
1401 #define SWIGTYPE_p_wxPaperSize swig_types[60]
1402 #define SWIGTYPE_p_wxMimeTypesManager swig_types[61]
1403 #define SWIGTYPE_p_wxPyArtProvider swig_types[62]
1404 #define SWIGTYPE_p_wxPyTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxJoystick swig_types[65]
1407 #define SWIGTYPE_p_wxSystemOptions swig_types[66]
1408 #define SWIGTYPE_p_wxPoint swig_types[67]
1409 #define SWIGTYPE_p_wxJoystickEvent swig_types[68]
1410 #define SWIGTYPE_p_wxCursor swig_types[69]
1411 #define SWIGTYPE_p_wxObject swig_types[70]
1412 #define SWIGTYPE_p_wxOutputStream swig_types[71]
1413 #define SWIGTYPE_p_wxDateTime swig_types[72]
1414 #define SWIGTYPE_p_wxPyDropSource swig_types[73]
1415 #define SWIGTYPE_p_unsigned_long swig_types[74]
1416 #define SWIGTYPE_p_wxKillError swig_types[75]
1417 #define SWIGTYPE_p_wxWindow swig_types[76]
1418 #define SWIGTYPE_p_wxString swig_types[77]
1419 #define SWIGTYPE_p_wxPyProcess swig_types[78]
1420 #define SWIGTYPE_p_wxBitmap swig_types[79]
1421 #define SWIGTYPE_p_wxConfig swig_types[80]
1422 #define SWIGTYPE_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_char swig_types[83]
1425 #define SWIGTYPE_p_wxChar swig_types[84]
1426 #define SWIGTYPE_p_wxBusyInfo swig_types[85]
1427 #define SWIGTYPE_p_wxPyDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxProcessEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPyLog swig_types[90]
1432 #define SWIGTYPE_p_wxLogNull swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxPyTimer swig_types[93]
1435 #define SWIGTYPE_p_wxConfigPathChanger swig_types[94]
1436 #define SWIGTYPE_p_wxDateSpan swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _misc_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_misc_
1447 #define SWIG_name "_misc_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451 #include "wx/wxPython/pyistream.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1458 #define SWIG_From_int PyInt_FromLong
1466 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1469 if (value
< min_value
) {
1471 PyErr_Format(PyExc_OverflowError
,
1472 "value %ld is less than '%s' minimum %ld",
1473 value
, errmsg
, min_value
);
1476 } else if (value
> max_value
) {
1478 PyErr_Format(PyExc_OverflowError
,
1479 "value %ld is greater than '%s' maximum %ld",
1480 value
, errmsg
, max_value
);
1489 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1491 if (PyNumber_Check(obj
)) {
1492 if (val
) *val
= PyInt_AsLong(obj
);
1496 SWIG_type_error("number", obj
);
1502 #if INT_MAX != LONG_MAX
1504 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1506 const char* errmsg
= val
? "int" : (char*)0;
1508 if (SWIG_AsVal_long(obj
, &v
)) {
1509 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1510 if (val
) *val
= (int)(v
);
1519 SWIG_type_error(errmsg
, obj
);
1525 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1527 return SWIG_AsVal_long(obj
,(long*)val
);
1533 SWIG_As_int(PyObject
* obj
)
1536 if (!SWIG_AsVal_int(obj
, &v
)) {
1538 this is needed to make valgrind/purify happier.
1540 memset((void*)&v
, 0, sizeof(int));
1547 SWIG_Check_int(PyObject
* obj
)
1549 return SWIG_AsVal_int(obj
, (int*)0);
1552 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1554 #include <wx/stockitem.h>
1556 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1557 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1558 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1560 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1561 #define SWIG_From_long PyInt_FromLong
1565 SWIGINTERNSHORT
long
1566 SWIG_As_long(PyObject
* obj
)
1569 if (!SWIG_AsVal_long(obj
, &v
)) {
1571 this is needed to make valgrind/purify happier.
1573 memset((void*)&v
, 0, sizeof(long));
1580 SWIG_Check_long(PyObject
* obj
)
1582 return SWIG_AsVal_long(obj
, (long*)0);
1587 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1589 if (obj
== Py_True
) {
1590 if (val
) *val
= true;
1593 if (obj
== Py_False
) {
1594 if (val
) *val
= false;
1598 if (SWIG_AsVal_int(obj
, &res
)) {
1599 if (val
) *val
= res
? true : false;
1605 SWIG_type_error("bool", obj
);
1611 SWIGINTERNSHORT
bool
1612 SWIG_As_bool(PyObject
* obj
)
1615 if (!SWIG_AsVal_bool(obj
, &v
)) {
1617 this is needed to make valgrind/purify happier.
1619 memset((void*)&v
, 0, sizeof(bool));
1626 SWIG_Check_bool(PyObject
* obj
)
1628 return SWIG_AsVal_bool(obj
, (bool*)0);
1632 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1638 } else if (target
== Py_None
) {
1642 if (!PyTuple_Check(target
)) {
1644 target
= PyTuple_New(1);
1645 PyTuple_SetItem(target
, 0, o2
);
1647 o3
= PyTuple_New(1);
1648 PyTuple_SetItem(o3
, 0, o
);
1651 target
= PySequence_Concat(o2
, o3
);
1661 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1664 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1665 SWIG_type_error("unsigned number", obj
);
1668 *val
= (unsigned long)v
;
1673 SWIGINTERNSHORT
unsigned long
1674 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1677 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1679 this is needed to make valgrind/purify happier.
1681 memset((void*)&v
, 0, sizeof(unsigned long));
1688 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1690 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1694 SWIGINTERNSHORT PyObject
*
1695 SWIG_From_unsigned_SS_long(unsigned long value
)
1697 return (value
> LONG_MAX
) ?
1698 PyLong_FromUnsignedLong(value
)
1699 : PyInt_FromLong((long)(value
));
1703 bool wxThread_IsMain() {
1704 #ifdef WXP_WITH_THREAD
1705 return wxThread::IsMain();
1711 static void wxCaret_Destroy(wxCaret
*self
){
1715 #include <wx/snglinst.h>
1718 #include <wx/tipdlg.h>
1721 class wxPyTipProvider
: public wxTipProvider
{
1723 wxPyTipProvider(size_t currentTip
)
1724 : wxTipProvider(currentTip
) {}
1726 DEC_PYCALLBACK_STRING__pure(GetTip
);
1727 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1731 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1732 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1735 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1737 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1739 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1740 : wxTimer(owner
, id
)
1742 if (owner
== NULL
) SetOwner(this);
1746 void wxPyTimer::Notify() {
1748 bool blocked
= wxPyBeginBlockThreads();
1749 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1750 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1751 wxPyEndBlockThreads(blocked
);
1755 void wxPyTimer::base_Notify() {
1761 SWIGINTERN PyObject
*
1762 SWIG_FromCharPtr(const char* cptr
)
1765 size_t size
= strlen(cptr
);
1766 if (size
> INT_MAX
) {
1767 return SWIG_NewPointerObj((char*)(cptr
),
1768 SWIG_TypeQuery("char *"), 0);
1771 return PyString_FromStringAndSize(cptr
, size
);
1773 return PyString_FromString(cptr
);
1783 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1784 unsigned long max_value
,
1787 if (value
> max_value
) {
1789 PyErr_Format(PyExc_OverflowError
,
1790 "value %lu is greater than '%s' minimum %lu",
1791 value
, errmsg
, max_value
);
1799 #if UINT_MAX != ULONG_MAX
1801 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1803 const char* errmsg
= val
? "unsigned int" : (char*)0;
1805 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1806 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1807 if (val
) *val
= (unsigned int)(v
);
1814 SWIG_type_error(errmsg
, obj
);
1819 SWIGINTERNSHORT
unsigned int
1820 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1822 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1827 SWIGINTERNSHORT
unsigned int
1828 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1831 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1833 this is needed to make valgrind/purify happier.
1835 memset((void*)&v
, 0, sizeof(unsigned int));
1842 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1844 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1847 static wxString
Log_TimeStamp(){
1849 wxLog::TimeStamp(&msg
);
1852 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1853 // Make somce wrappers that double any % signs so they are 'escaped'
1854 void wxPyLogFatalError(const wxString
& msg
)
1857 m
.Replace(wxT("%"), wxT("%%"));
1861 void wxPyLogError(const wxString
& msg
)
1864 m
.Replace(wxT("%"), wxT("%%"));
1868 void wxPyLogWarning(const wxString
& msg
)
1871 m
.Replace(wxT("%"), wxT("%%"));
1875 void wxPyLogMessage(const wxString
& msg
)
1878 m
.Replace(wxT("%"), wxT("%%"));
1882 void wxPyLogInfo(const wxString
& msg
)
1885 m
.Replace(wxT("%"), wxT("%%"));
1889 void wxPyLogDebug(const wxString
& msg
)
1892 m
.Replace(wxT("%"), wxT("%%"));
1896 void wxPyLogVerbose(const wxString
& msg
)
1899 m
.Replace(wxT("%"), wxT("%%"));
1903 void wxPyLogStatus(const wxString
& msg
)
1906 m
.Replace(wxT("%"), wxT("%%"));
1910 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
1913 m
.Replace(wxT("%"), wxT("%%"));
1914 wxLogStatus(pFrame
, m
);
1917 void wxPyLogSysError(const wxString
& msg
)
1920 m
.Replace(wxT("%"), wxT("%%"));
1924 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
1927 m
.Replace(wxT("%"), wxT("%%"));
1928 wxLogGeneric(level
, m
);
1931 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
1934 m
.Replace(wxT("%"), wxT("%%"));
1935 wxLogTrace(mask
, m
);
1938 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
1941 m
.Replace(wxT("%"), wxT("%%"));
1942 wxLogTrace(mask
, m
);
1947 // A wxLog class that can be derived from in wxPython
1948 class wxPyLog
: public wxLog
{
1950 wxPyLog() : wxLog() {}
1952 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
1954 bool blocked
= wxPyBeginBlockThreads();
1955 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
1956 PyObject
* s
= wx2PyString(szString
);
1957 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
1960 wxPyEndBlockThreads(blocked
);
1962 wxLog::DoLog(level
, szString
, t
);
1965 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
1967 bool blocked
= wxPyBeginBlockThreads();
1968 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
1969 PyObject
* s
= wx2PyString(szString
);
1970 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
1973 wxPyEndBlockThreads(blocked
);
1975 wxLog::DoLogString(szString
, t
);
1984 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1987 #include <wx/joystick.h>
1990 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1991 // A C++ stub class for wxJoystick for platforms that don't have it.
1992 class wxJoystick
: public wxObject
{
1994 wxJoystick(int joystick
= wxJOYSTICK1
) {
1995 bool blocked
= wxPyBeginBlockThreads();
1996 PyErr_SetString(PyExc_NotImplementedError
,
1997 "wxJoystick is not available on this platform.");
1998 wxPyEndBlockThreads(blocked
);
2000 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2001 int GetZPosition() { return -1; }
2002 int GetButtonState() { return -1; }
2003 int GetPOVPosition() { return -1; }
2004 int GetPOVCTSPosition() { return -1; }
2005 int GetRudderPosition() { return -1; }
2006 int GetUPosition() { return -1; }
2007 int GetVPosition() { return -1; }
2008 int GetMovementThreshold() { return -1; }
2009 void SetMovementThreshold(int threshold
) {}
2011 bool IsOk(void) { return false; }
2012 int GetNumberJoysticks() { return -1; }
2013 int GetManufacturerId() { return -1; }
2014 int GetProductId() { return -1; }
2015 wxString
GetProductName() { return wxEmptyString
; }
2016 int GetXMin() { return -1; }
2017 int GetYMin() { return -1; }
2018 int GetZMin() { return -1; }
2019 int GetXMax() { return -1; }
2020 int GetYMax() { return -1; }
2021 int GetZMax() { return -1; }
2022 int GetNumberButtons() { return -1; }
2023 int GetNumberAxes() { return -1; }
2024 int GetMaxButtons() { return -1; }
2025 int GetMaxAxes() { return -1; }
2026 int GetPollingMin() { return -1; }
2027 int GetPollingMax() { return -1; }
2028 int GetRudderMin() { return -1; }
2029 int GetRudderMax() { return -1; }
2030 int GetUMin() { return -1; }
2031 int GetUMax() { return -1; }
2032 int GetVMin() { return -1; }
2033 int GetVMax() { return -1; }
2035 bool HasRudder() { return false; }
2036 bool HasZ() { return false; }
2037 bool HasU() { return false; }
2038 bool HasV() { return false; }
2039 bool HasPOV() { return false; }
2040 bool HasPOV4Dir() { return false; }
2041 bool HasPOVCTS() { return false; }
2043 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2044 bool ReleaseCapture() { return false; }
2049 #include <wx/sound.h>
2053 // A C++ stub class for wxWave for platforms that don't have it.
2054 class wxSound
: public wxObject
2058 bool blocked
= wxPyBeginBlockThreads();
2059 PyErr_SetString(PyExc_NotImplementedError
,
2060 "wxSound is not available on this platform.");
2061 wxPyEndBlockThreads(blocked
);
2063 wxSound(const wxString
&/*, bool*/) {
2064 bool blocked
= wxPyBeginBlockThreads();
2065 PyErr_SetString(PyExc_NotImplementedError
,
2066 "wxSound is not available on this platform.");
2067 wxPyEndBlockThreads(blocked
);
2069 wxSound(int, const wxByte
*) {
2070 bool blocked
= wxPyBeginBlockThreads();
2071 PyErr_SetString(PyExc_NotImplementedError
,
2072 "wxSound is not available on this platform.");
2073 wxPyEndBlockThreads(blocked
);
2078 bool Create(const wxString
&/*, bool*/) { return false; }
2079 bool Create(int, const wxByte
*) { return false; };
2080 bool IsOk() { return false; };
2081 bool Play(unsigned) const { return false; }
2082 static bool Play(const wxString
&, unsigned) { return false; }
2083 static void Stop() {}
2088 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2089 if (fileName
.Length() == 0)
2092 return new wxSound(fileName
);
2094 static wxSound
*new_wxSound(PyObject
*data
){
2095 unsigned char* buffer
; int size
;
2096 wxSound
*sound
= NULL
;
2098 bool blocked
= wxPyBeginBlockThreads();
2099 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2101 sound
= new wxSound(size
, buffer
);
2103 wxPyEndBlockThreads(blocked
);
2106 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2108 unsigned char* buffer
;
2112 bool blocked
= wxPyBeginBlockThreads();
2113 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2115 rv
= self
->Create(size
, buffer
);
2117 wxPyEndBlockThreads(blocked
);
2120 bool blocked
= wxPyBeginBlockThreads();
2121 PyErr_SetString(PyExc_NotImplementedError
,
2122 "Create from data is not available on this platform.");
2123 wxPyEndBlockThreads(blocked
);
2128 #include <wx/mimetype.h>
2130 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2132 if (self
->GetMimeType(&str
))
2133 return wx2PyString(str
);
2137 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2139 if (self
->GetMimeTypes(arr
))
2140 return wxArrayString2PyList_helper(arr
);
2144 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2146 if (self
->GetExtensions(arr
))
2147 return wxArrayString2PyList_helper(arr
);
2151 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2153 if (self
->GetIcon(&loc
))
2154 return new wxIcon(loc
);
2158 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2160 if (self
->GetIcon(&loc
)) {
2161 wxString iconFile
= loc
.GetFileName();
2166 // Make a tuple and put the values in it
2167 bool blocked
= wxPyBeginBlockThreads();
2168 PyObject
* tuple
= PyTuple_New(3);
2169 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2170 wxT("wxIcon"), true));
2171 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2172 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2173 wxPyEndBlockThreads(blocked
);
2179 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2181 if (self
->GetDescription(&str
))
2182 return wx2PyString(str
);
2186 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2188 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2189 return wx2PyString(str
);
2193 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2195 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2196 return wx2PyString(str
);
2200 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2201 wxArrayString verbs
;
2202 wxArrayString commands
;
2203 if (self
->GetAllCommands(&verbs
, &commands
,
2204 wxFileType::MessageParameters(filename
, mimetype
))) {
2205 bool blocked
= wxPyBeginBlockThreads();
2206 PyObject
* tuple
= PyTuple_New(2);
2207 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2208 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2209 wxPyEndBlockThreads(blocked
);
2215 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2216 return wxFileType::ExpandCommand(command
,
2217 wxFileType::MessageParameters(filename
, mimetype
));
2219 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2221 self
->EnumAllFileTypes(arr
);
2222 return wxArrayString2PyList_helper(arr
);
2225 #include <wx/artprov.h>
2227 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2228 static const wxString
wxPyART_MENU(wxART_MENU
);
2229 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2230 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2231 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2232 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2233 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2234 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2235 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2236 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2237 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2238 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2239 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2240 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2241 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2242 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2243 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2244 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2245 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2246 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2247 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2248 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2249 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2250 static const wxString
wxPyART_HELP(wxART_HELP
);
2251 static const wxString
wxPyART_TIP(wxART_TIP
);
2252 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2253 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2254 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2255 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2256 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2257 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2258 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2259 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2260 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2261 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2262 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2263 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2264 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2265 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2266 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2267 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2268 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2269 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2270 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2271 // Python aware wxArtProvider
2272 class wxPyArtProvider
: public wxArtProvider
{
2275 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2276 const wxArtClient
& client
,
2277 const wxSize
& size
) {
2278 wxBitmap rval
= wxNullBitmap
;
2279 bool blocked
= wxPyBeginBlockThreads();
2280 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2281 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2285 s1
= wx2PyString(id
);
2286 s2
= wx2PyString(client
);
2287 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2292 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2297 wxPyEndBlockThreads(blocked
);
2304 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2308 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2309 PyObject
* ret
= PyTuple_New(3);
2311 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2312 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2313 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2318 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2323 cont
= self
->GetFirstGroup(value
, index
);
2324 return __EnumerationHelper(cont
, value
, index
);
2326 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2330 cont
= self
->GetNextGroup(value
, index
);
2331 return __EnumerationHelper(cont
, value
, index
);
2333 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2338 cont
= self
->GetFirstEntry(value
, index
);
2339 return __EnumerationHelper(cont
, value
, index
);
2341 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2345 cont
= self
->GetNextEntry(value
, index
);
2346 return __EnumerationHelper(cont
, value
, index
);
2348 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2350 self
->Read(key
, &rv
, defaultVal
);
2355 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2357 if (PyNumber_Check(obj
)) {
2358 if (val
) *val
= PyFloat_AsDouble(obj
);
2362 SWIG_type_error("number", obj
);
2368 SWIGINTERNSHORT
double
2369 SWIG_As_double(PyObject
* obj
)
2372 if (!SWIG_AsVal_double(obj
, &v
)) {
2374 this is needed to make valgrind/purify happier.
2376 memset((void*)&v
, 0, sizeof(double));
2383 SWIG_Check_double(PyObject
* obj
)
2385 return SWIG_AsVal_double(obj
, (double*)0);
2388 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2390 self
->Read(key
, &rv
, defaultVal
);
2394 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2395 #define SWIG_From_double PyFloat_FromDouble
2398 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2400 self
->Read(key
, &rv
, defaultVal
);
2404 #include <wx/datetime.h>
2406 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2407 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2409 #define LOCAL_TZ wxDateTime::Local
2412 #if UINT_MAX < LONG_MAX
2413 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2414 #define SWIG_From_unsigned_SS_int SWIG_From_long
2417 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2418 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2422 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2423 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2424 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2425 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2426 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2427 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2428 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2429 return (*self
< *other
);
2431 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2432 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2433 return (*self
<= *other
);
2435 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2436 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2437 return (*self
> *other
);
2439 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2440 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2441 return (*self
>= *other
);
2443 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2444 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2445 return (*self
== *other
);
2447 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2448 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2449 return (*self
!= *other
);
2451 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2453 const wxChar
* _date
= date
;
2454 rv
= self
->ParseRfc822Date(_date
);
2455 if (rv
== NULL
) return -1;
2458 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2460 const wxChar
* _date
= date
;
2461 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2462 if (rv
== NULL
) return -1;
2465 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2467 const wxChar
* _datetime
= datetime
;
2468 rv
= self
->ParseDateTime(_datetime
);
2469 if (rv
== NULL
) return -1;
2470 return rv
- _datetime
;
2472 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2474 const wxChar
* _date
= date
;
2475 rv
= self
->ParseDate(_date
);
2476 if (rv
== NULL
) return -1;
2479 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2481 const wxChar
* _time
= time
;
2482 rv
= self
->ParseTime(_time
);
2483 if (rv
== NULL
) return -1;
2486 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2487 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2488 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2489 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2490 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2491 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2492 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2493 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2494 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2495 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2496 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2497 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2498 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2499 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2500 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2501 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2503 #include <wx/dataobj.h>
2505 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2506 size_t count
= self
->GetFormatCount(dir
);
2507 wxDataFormat
* formats
= new wxDataFormat
[count
];
2508 self
->GetAllFormats(formats
, dir
);
2510 bool blocked
= wxPyBeginBlockThreads();
2511 PyObject
* list
= PyList_New(count
);
2512 for (size_t i
=0; i
<count
; i
++) {
2513 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2514 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2515 PyList_Append(list
, obj
);
2518 wxPyEndBlockThreads(blocked
);
2522 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2523 PyObject
* rval
= NULL
;
2524 size_t size
= self
->GetDataSize(format
);
2525 bool blocked
= wxPyBeginBlockThreads();
2527 char* buf
= new char[size
];
2528 if (self
->GetDataHere(format
, buf
))
2529 rval
= PyString_FromStringAndSize(buf
, size
);
2536 wxPyEndBlockThreads(blocked
);
2539 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2541 bool blocked
= wxPyBeginBlockThreads();
2542 if (PyString_Check(data
)) {
2543 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2546 // raise a TypeError if not a string
2547 PyErr_SetString(PyExc_TypeError
, "String expected.");
2550 wxPyEndBlockThreads(blocked
);
2553 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2554 PyObject
* rval
= NULL
;
2555 size_t size
= self
->GetDataSize();
2556 bool blocked
= wxPyBeginBlockThreads();
2558 char* buf
= new char[size
];
2559 if (self
->GetDataHere(buf
))
2560 rval
= PyString_FromStringAndSize(buf
, size
);
2567 wxPyEndBlockThreads(blocked
);
2570 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2572 bool blocked
= wxPyBeginBlockThreads();
2573 if (PyString_Check(data
)) {
2574 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2577 // raise a TypeError if not a string
2578 PyErr_SetString(PyExc_TypeError
, "String expected.");
2581 wxPyEndBlockThreads(blocked
);
2584 // Create a new class for wxPython to use
2585 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2587 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2588 : wxDataObjectSimple(format
) {}
2590 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2591 bool GetDataHere(void *buf
) const;
2592 bool SetData(size_t len
, const void *buf
) const;
2596 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2598 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2599 // We need to get the data for this object and write it to buf. I think
2600 // the best way to do this for wxPython is to have the Python method
2601 // return either a string or None and then act appropriately with the
2605 bool blocked
= wxPyBeginBlockThreads();
2606 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2608 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2610 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2612 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2616 wxPyEndBlockThreads(blocked
);
2620 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2621 // For this one we simply need to make a string from buf and len
2622 // and send it to the Python method.
2624 bool blocked
= wxPyBeginBlockThreads();
2625 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2626 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2627 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2630 wxPyEndBlockThreads(blocked
);
2634 // Create a new class for wxPython to use
2635 class wxPyTextDataObject
: public wxTextDataObject
{
2637 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2638 : wxTextDataObject(text
) {}
2640 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2641 DEC_PYCALLBACK_STRING__const(GetText
);
2642 DEC_PYCALLBACK__STRING(SetText
);
2646 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2647 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2648 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2651 // Create a new class for wxPython to use
2652 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2654 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2655 : wxBitmapDataObject(bitmap
) {}
2657 wxBitmap
GetBitmap() const;
2658 void SetBitmap(const wxBitmap
& bitmap
);
2662 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2663 wxBitmap
* rval
= &wxNullBitmap
;
2664 bool blocked
= wxPyBeginBlockThreads();
2665 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2668 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2670 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2675 wxPyEndBlockThreads(blocked
);
2679 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2680 bool blocked
= wxPyBeginBlockThreads();
2681 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2682 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2683 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2686 wxPyEndBlockThreads(blocked
);
2689 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2690 return new wxCustomDataObject(wxDataFormat(formatName
));
2692 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2694 bool blocked
= wxPyBeginBlockThreads();
2695 if (PyString_Check(data
)) {
2696 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2699 // raise a TypeError if not a string
2700 PyErr_SetString(PyExc_TypeError
, "String expected.");
2703 wxPyEndBlockThreads(blocked
);
2706 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2708 bool blocked
= wxPyBeginBlockThreads();
2709 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2710 wxPyEndBlockThreads(blocked
);
2714 #include <wx/metafile.h>
2717 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2720 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2721 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2722 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2723 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2724 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2727 class wxPyTextDropTarget
: public wxTextDropTarget
{
2729 wxPyTextDropTarget() {}
2731 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2733 DEC_PYCALLBACK__(OnLeave
);
2734 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2735 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2736 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2737 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2742 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2743 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2744 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2745 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2746 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2747 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2751 class wxPyFileDropTarget
: public wxFileDropTarget
{
2753 wxPyFileDropTarget() {}
2755 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2757 DEC_PYCALLBACK__(OnLeave
);
2758 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2759 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2760 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2761 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2766 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2767 const wxArrayString
& filenames
) {
2769 bool blocked
= wxPyBeginBlockThreads();
2770 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2771 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2772 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2775 wxPyEndBlockThreads(blocked
);
2781 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2782 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2783 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2784 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2785 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2790 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2792 #include <wx/display.h>
2794 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2795 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2797 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2799 #include <wx/dynarray.h>
2800 #include <wx/vidmode.h>
2802 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2803 #include "wx/arrimpl.cpp"
2804 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2805 const wxVideoMode wxDefaultVideoMode
;
2810 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2813 static size_t GetCount()
2814 { wxPyRaiseNotImplemented(); return 0; }
2816 static int GetFromPoint(const wxPoint
& pt
)
2817 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2818 static int GetFromWindow(wxWindow
*window
)
2819 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2821 virtual bool IsOk() const { return false; }
2822 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2823 virtual wxString
GetName() const { return wxEmptyString
; }
2824 bool IsPrimary() const { return false; }
2826 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2827 { wxArrayVideoModes a
; return a
; }
2829 virtual wxVideoMode
GetCurrentMode() const
2830 { return wxDefaultVideoMode
; }
2832 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2839 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2840 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2841 PyObject
* pyList
= NULL
;
2842 wxArrayVideoModes arr
= self
->GetModes(mode
);
2843 bool blocked
= wxPyBeginBlockThreads();
2844 pyList
= PyList_New(0);
2845 for (int i
=0; i
< arr
.GetCount(); i
++) {
2846 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2847 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2848 PyList_Append(pyList
, pyObj
);
2851 wxPyEndBlockThreads(blocked
);
2855 #include <wx/stdpaths.h>
2857 static wxStandardPaths
*StandardPaths_Get(){
2858 return (wxStandardPaths
*) &wxStandardPaths::Get();
2860 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
2861 static wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
2865 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxSystemColour arg1
;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "index", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2876 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2877 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 if (!wxPyCheckForApp()) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2888 wxColour
* resultptr
;
2889 resultptr
= new wxColour((wxColour
&)(result
));
2890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2898 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "index", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
2909 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
2910 if (SWIG_arg_fail(1)) SWIG_fail
;
2913 if (!wxPyCheckForApp()) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2922 resultptr
= new wxFont((wxFont
&)(result
));
2923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
2931 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxSystemMetric arg1
;
2935 PyObject
* obj0
= 0 ;
2937 (char *) "index", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
2942 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
2943 if (SWIG_arg_fail(1)) SWIG_fail
;
2946 if (!wxPyCheckForApp()) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 resultobj
= SWIG_From_int((int)(result
));
2962 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxSystemFeature arg1
;
2966 PyObject
* obj0
= 0 ;
2968 (char *) "index", NULL
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
2973 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
2974 if (SWIG_arg_fail(1)) SWIG_fail
;
2977 if (!wxPyCheckForApp()) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2993 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxSystemScreenType result
;
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3002 if (!wxPyCheckForApp()) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 resultobj
= SWIG_From_int((result
));
3016 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxSystemScreenType arg1
;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "screen", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3026 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3027 if (SWIG_arg_fail(1)) SWIG_fail
;
3030 if (!wxPyCheckForApp()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3047 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3049 return Py_BuildValue((char *)"");
3051 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3052 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3057 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3062 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3064 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3071 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxSystemOptions
*result
;
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 result
= (wxSystemOptions
*)new wxSystemOptions();
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3093 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxString
*arg1
= 0 ;
3096 wxString
*arg2
= 0 ;
3097 bool temp1
= false ;
3098 bool temp2
= false ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "name",(char *) "value", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3107 arg1
= wxString_in_helper(obj0
);
3108 if (arg1
== NULL
) SWIG_fail
;
3112 arg2
= wxString_in_helper(obj1
);
3113 if (arg2
== NULL
) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxString
*arg1
= 0 ;
3150 bool temp1
= false ;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3154 (char *) "name",(char *) "value", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3159 arg1
= wxString_in_helper(obj0
);
3160 if (arg1
== NULL
) SWIG_fail
;
3164 arg2
= (int)(SWIG_As_int(obj1
));
3165 if (SWIG_arg_fail(2)) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3189 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxString
*arg1
= 0 ;
3193 bool temp1
= false ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "name", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3201 arg1
= wxString_in_helper(obj0
);
3202 if (arg1
== NULL
) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3233 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxString
*arg1
= 0 ;
3237 bool temp1
= false ;
3238 PyObject
* obj0
= 0 ;
3240 (char *) "name", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3245 arg1
= wxString_in_helper(obj0
);
3246 if (arg1
== NULL
) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= SWIG_From_int((int)(result
));
3273 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxString
*arg1
= 0 ;
3277 bool temp1
= false ;
3278 PyObject
* obj0
= 0 ;
3280 (char *) "name", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3285 arg1
= wxString_in_helper(obj0
);
3286 if (arg1
== NULL
) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3313 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3316 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3318 return Py_BuildValue((char *)"");
3320 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3321 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3326 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3331 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3333 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3340 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3341 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3346 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3351 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3353 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3360 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3361 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3366 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3371 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3373 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3380 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (long)wxNewId();
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3396 resultobj
= SWIG_From_long((long)(result
));
3404 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3407 PyObject
* obj0
= 0 ;
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3414 arg1
= (long)(SWIG_As_long(obj0
));
3415 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 result
= (long)wxGetCurrentId();
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_From_long((long)(result
));
3455 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3459 PyObject
* obj0
= 0 ;
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3466 arg1
= (int)(SWIG_As_int(obj0
));
3467 if (SWIG_arg_fail(1)) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)wxIsStockID(arg1
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3485 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3488 wxString
*arg2
= 0 ;
3490 bool temp2
= false ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "id",(char *) "label", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 arg1
= (int)(SWIG_As_int(obj0
));
3500 if (SWIG_arg_fail(1)) SWIG_fail
;
3503 arg2
= wxString_in_helper(obj1
);
3504 if (arg2
== NULL
) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3534 bool arg2
= (bool) true ;
3535 wxString arg3
= (wxString
) wxPyEmptyString
;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3539 PyObject
* obj2
= 0 ;
3541 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3546 arg1
= (int)(SWIG_As_int(obj0
));
3547 if (SWIG_arg_fail(1)) SWIG_fail
;
3551 arg2
= (bool)(SWIG_As_bool(obj1
));
3552 if (SWIG_arg_fail(2)) SWIG_fail
;
3557 wxString
* sptr
= wxString_in_helper(obj2
);
3558 if (sptr
== NULL
) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3583 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3591 if (!wxPyCheckForApp()) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 Py_INCREF(Py_None
); resultobj
= Py_None
;
3605 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3613 if (!wxPyCheckForApp()) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 Py_INCREF(Py_None
); resultobj
= Py_None
;
3627 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 bool arg1
= (bool) true ;
3631 PyObject
* obj0
= 0 ;
3633 (char *) "resetTimer", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3639 arg1
= (bool)(SWIG_As_bool(obj0
));
3640 if (SWIG_arg_fail(1)) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 result
= (long)wxGetElapsedTime(arg1
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= SWIG_From_long((long)(result
));
3659 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 int *arg1
= (int *) 0 ;
3662 int *arg2
= (int *) 0 ;
3671 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3672 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3675 if (!wxPyCheckForApp()) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxGetMousePosition(arg1
,arg2
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3683 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3684 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3685 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3686 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3693 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= (bool)wxIsBusy();
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3717 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3745 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3748 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3750 bool temp1
= false ;
3751 PyObject
* obj0
= 0 ;
3753 (char *) "command", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3759 arg1
= wxString_in_helper(obj0
);
3760 if (arg1
== NULL
) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (bool)wxShell((wxString
const &)*arg1
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3788 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 int *arg1
= (int *) 0 ;
3812 int *arg2
= (int *) 0 ;
3822 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3823 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (int)wxGetOsVersion(arg1
,arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_From_int((int)(result
));
3835 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3836 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3837 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3838 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3845 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= wxGetOsDescription();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3873 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (long)wxGetFreeMemory();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_From_long((long)(result
));
3897 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxShutdownFlags arg1
;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "wFlags", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3908 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3909 if (SWIG_arg_fail(1)) SWIG_fail
;
3912 if (!wxPyCheckForApp()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3928 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "secs", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
3938 arg1
= (int)(SWIG_As_int(obj0
));
3939 if (SWIG_arg_fail(1)) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 Py_INCREF(Py_None
); resultobj
= Py_None
;
3955 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 unsigned long arg1
;
3958 PyObject
* obj0
= 0 ;
3960 (char *) "milliseconds", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
3965 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3966 if (SWIG_arg_fail(1)) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 Py_INCREF(Py_None
); resultobj
= Py_None
;
3982 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 unsigned long arg1
;
3985 PyObject
* obj0
= 0 ;
3987 (char *) "microseconds", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
3992 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3993 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 Py_INCREF(Py_None
); resultobj
= Py_None
;
4009 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "enable", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4019 arg1
= (bool)(SWIG_As_bool(obj0
));
4020 if (SWIG_arg_fail(1)) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 wxEnableTopLevelWindows(arg1
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 Py_INCREF(Py_None
); resultobj
= Py_None
;
4036 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxString
*arg1
= 0 ;
4040 bool temp1
= false ;
4041 PyObject
* obj0
= 0 ;
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4048 arg1
= wxString_in_helper(obj0
);
4049 if (arg1
== NULL
) SWIG_fail
;
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4080 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= wxGetEmailAddress();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4108 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= wxGetHostName();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4136 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= wxGetFullHostName();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4164 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= wxGetUserId();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4192 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 result
= wxGetUserName();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4220 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= wxGetHomeDir();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4248 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
;
4250 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4251 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4253 bool temp1
= false ;
4254 PyObject
* obj0
= 0 ;
4256 (char *) "user", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4262 arg1
= wxString_in_helper(obj0
);
4263 if (arg1
== NULL
) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= wxGetUserHome((wxString
const &)*arg1
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4295 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 unsigned long result
;
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (unsigned long)wxGetProcessId();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4319 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 Py_INCREF(Py_None
); resultobj
= Py_None
;
4340 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4343 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4344 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4345 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4346 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4348 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4349 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4350 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4351 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4352 int arg6
= (int) 0 ;
4353 wxWindow
*arg7
= (wxWindow
*) NULL
;
4354 int arg8
= (int) -1 ;
4355 int arg9
= (int) -1 ;
4357 bool temp1
= false ;
4358 bool temp2
= false ;
4359 bool temp3
= false ;
4360 bool temp4
= false ;
4361 bool temp5
= false ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 PyObject
* obj2
= 0 ;
4365 PyObject
* obj3
= 0 ;
4366 PyObject
* obj4
= 0 ;
4367 PyObject
* obj5
= 0 ;
4368 PyObject
* obj6
= 0 ;
4369 PyObject
* obj7
= 0 ;
4370 PyObject
* obj8
= 0 ;
4372 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4378 arg1
= wxString_in_helper(obj0
);
4379 if (arg1
== NULL
) SWIG_fail
;
4385 arg2
= wxString_in_helper(obj1
);
4386 if (arg2
== NULL
) SWIG_fail
;
4392 arg3
= wxString_in_helper(obj2
);
4393 if (arg3
== NULL
) SWIG_fail
;
4399 arg4
= wxString_in_helper(obj3
);
4400 if (arg4
== NULL
) SWIG_fail
;
4406 arg5
= wxString_in_helper(obj4
);
4407 if (arg5
== NULL
) SWIG_fail
;
4413 arg6
= (int)(SWIG_As_int(obj5
));
4414 if (SWIG_arg_fail(6)) SWIG_fail
;
4418 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4419 if (SWIG_arg_fail(7)) SWIG_fail
;
4423 arg8
= (int)(SWIG_As_int(obj7
));
4424 if (SWIG_arg_fail(8)) SWIG_fail
;
4429 arg9
= (int)(SWIG_As_int(obj8
));
4430 if (SWIG_arg_fail(9)) SWIG_fail
;
4434 if (!wxPyCheckForApp()) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4494 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxString
*arg1
= 0 ;
4497 wxString
*arg2
= 0 ;
4498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4500 wxWindow
*arg4
= (wxWindow
*) NULL
;
4502 bool temp1
= false ;
4503 bool temp2
= false ;
4504 bool temp3
= false ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 PyObject
* obj2
= 0 ;
4508 PyObject
* obj3
= 0 ;
4510 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4515 arg1
= wxString_in_helper(obj0
);
4516 if (arg1
== NULL
) SWIG_fail
;
4520 arg2
= wxString_in_helper(obj1
);
4521 if (arg2
== NULL
) SWIG_fail
;
4526 arg3
= wxString_in_helper(obj2
);
4527 if (arg3
== NULL
) SWIG_fail
;
4532 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4533 if (SWIG_arg_fail(4)) SWIG_fail
;
4536 if (!wxPyCheckForApp()) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4580 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxString
*arg1
= 0 ;
4583 wxString
*arg2
= 0 ;
4584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4586 wxWindow
*arg4
= (wxWindow
*) NULL
;
4588 bool temp1
= false ;
4589 bool temp2
= false ;
4590 bool temp3
= false ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 PyObject
* obj3
= 0 ;
4596 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4601 arg1
= wxString_in_helper(obj0
);
4602 if (arg1
== NULL
) SWIG_fail
;
4606 arg2
= wxString_in_helper(obj1
);
4607 if (arg2
== NULL
) SWIG_fail
;
4612 arg3
= wxString_in_helper(obj2
);
4613 if (arg3
== NULL
) SWIG_fail
;
4618 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(4)) SWIG_fail
;
4622 if (!wxPyCheckForApp()) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4666 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4669 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4670 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4671 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4672 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4675 wxWindow
*arg5
= (wxWindow
*) NULL
;
4677 bool temp1
= false ;
4678 bool temp2
= false ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 PyObject
* obj2
= 0 ;
4683 PyObject
* obj3
= 0 ;
4684 PyObject
* obj4
= 0 ;
4686 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4692 arg1
= wxString_in_helper(obj0
);
4693 if (arg1
== NULL
) SWIG_fail
;
4699 arg2
= wxString_in_helper(obj1
);
4700 if (arg2
== NULL
) SWIG_fail
;
4706 arg3
= (long)(SWIG_As_long(obj2
));
4707 if (SWIG_arg_fail(3)) SWIG_fail
;
4713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4717 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4718 if (SWIG_arg_fail(5)) SWIG_fail
;
4721 if (!wxPyCheckForApp()) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4757 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxString
*arg1
= 0 ;
4760 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4761 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4762 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4764 wxWindow
*arg4
= (wxWindow
*) NULL
;
4765 int arg5
= (int) -1 ;
4766 int arg6
= (int) -1 ;
4767 bool arg7
= (bool) true ;
4769 bool temp1
= false ;
4770 bool temp2
= false ;
4771 bool temp3
= false ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 PyObject
* obj3
= 0 ;
4776 PyObject
* obj4
= 0 ;
4777 PyObject
* obj5
= 0 ;
4778 PyObject
* obj6
= 0 ;
4780 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4785 arg1
= wxString_in_helper(obj0
);
4786 if (arg1
== NULL
) SWIG_fail
;
4791 arg2
= wxString_in_helper(obj1
);
4792 if (arg2
== NULL
) SWIG_fail
;
4798 arg3
= wxString_in_helper(obj2
);
4799 if (arg3
== NULL
) SWIG_fail
;
4804 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4805 if (SWIG_arg_fail(4)) SWIG_fail
;
4809 arg5
= (int)(SWIG_As_int(obj4
));
4810 if (SWIG_arg_fail(5)) SWIG_fail
;
4815 arg6
= (int)(SWIG_As_int(obj5
));
4816 if (SWIG_arg_fail(6)) SWIG_fail
;
4821 arg7
= (bool)(SWIG_As_bool(obj6
));
4822 if (SWIG_arg_fail(7)) SWIG_fail
;
4826 if (!wxPyCheckForApp()) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4870 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxString
*arg1
= 0 ;
4873 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4874 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4875 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4876 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4877 wxWindow
*arg4
= (wxWindow
*) NULL
;
4879 bool temp1
= false ;
4880 bool temp2
= false ;
4881 bool temp3
= false ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4885 PyObject
* obj3
= 0 ;
4887 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4892 arg1
= wxString_in_helper(obj0
);
4893 if (arg1
== NULL
) SWIG_fail
;
4898 arg2
= wxString_in_helper(obj1
);
4899 if (arg2
== NULL
) SWIG_fail
;
4905 arg3
= wxString_in_helper(obj2
);
4906 if (arg3
== NULL
) SWIG_fail
;
4911 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4912 if (SWIG_arg_fail(4)) SWIG_fail
;
4915 if (!wxPyCheckForApp()) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4959 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxString
*arg1
= 0 ;
4962 wxString
*arg2
= 0 ;
4964 wxString
*arg4
= (wxString
*) 0 ;
4965 wxWindow
*arg5
= (wxWindow
*) NULL
;
4966 int arg6
= (int) -1 ;
4967 int arg7
= (int) -1 ;
4968 bool arg8
= (bool) true ;
4969 int arg9
= (int) 150 ;
4970 int arg10
= (int) 200 ;
4972 bool temp1
= false ;
4973 bool temp2
= false ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 PyObject
* obj2
= 0 ;
4977 PyObject
* obj3
= 0 ;
4978 PyObject
* obj4
= 0 ;
4979 PyObject
* obj5
= 0 ;
4980 PyObject
* obj6
= 0 ;
4981 PyObject
* obj7
= 0 ;
4982 PyObject
* obj8
= 0 ;
4984 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4989 arg1
= wxString_in_helper(obj0
);
4990 if (arg1
== NULL
) SWIG_fail
;
4994 arg2
= wxString_in_helper(obj1
);
4995 if (arg2
== NULL
) SWIG_fail
;
4999 arg3
= PyList_Size(obj2
);
5000 arg4
= wxString_LIST_helper(obj2
);
5001 if (arg4
== NULL
) SWIG_fail
;
5004 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5005 if (SWIG_arg_fail(5)) SWIG_fail
;
5009 arg6
= (int)(SWIG_As_int(obj4
));
5010 if (SWIG_arg_fail(6)) SWIG_fail
;
5015 arg7
= (int)(SWIG_As_int(obj5
));
5016 if (SWIG_arg_fail(7)) SWIG_fail
;
5021 arg8
= (bool)(SWIG_As_bool(obj6
));
5022 if (SWIG_arg_fail(8)) SWIG_fail
;
5027 arg9
= (int)(SWIG_As_int(obj7
));
5028 if (SWIG_arg_fail(9)) SWIG_fail
;
5033 arg10
= (int)(SWIG_As_int(obj8
));
5034 if (SWIG_arg_fail(10)) SWIG_fail
;
5038 if (!wxPyCheckForApp()) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5061 if (arg4
) delete [] arg4
;
5074 if (arg4
) delete [] arg4
;
5080 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxString
*arg1
= 0 ;
5083 wxString
*arg2
= 0 ;
5085 wxString
*arg4
= (wxString
*) 0 ;
5086 wxWindow
*arg5
= (wxWindow
*) NULL
;
5087 int arg6
= (int) -1 ;
5088 int arg7
= (int) -1 ;
5089 bool arg8
= (bool) true ;
5090 int arg9
= (int) 150 ;
5091 int arg10
= (int) 200 ;
5093 bool temp1
= false ;
5094 bool temp2
= false ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5097 PyObject
* obj2
= 0 ;
5098 PyObject
* obj3
= 0 ;
5099 PyObject
* obj4
= 0 ;
5100 PyObject
* obj5
= 0 ;
5101 PyObject
* obj6
= 0 ;
5102 PyObject
* obj7
= 0 ;
5103 PyObject
* obj8
= 0 ;
5105 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5110 arg1
= wxString_in_helper(obj0
);
5111 if (arg1
== NULL
) SWIG_fail
;
5115 arg2
= wxString_in_helper(obj1
);
5116 if (arg2
== NULL
) SWIG_fail
;
5120 arg3
= PyList_Size(obj2
);
5121 arg4
= wxString_LIST_helper(obj2
);
5122 if (arg4
== NULL
) SWIG_fail
;
5125 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(5)) SWIG_fail
;
5130 arg6
= (int)(SWIG_As_int(obj4
));
5131 if (SWIG_arg_fail(6)) SWIG_fail
;
5136 arg7
= (int)(SWIG_As_int(obj5
));
5137 if (SWIG_arg_fail(7)) SWIG_fail
;
5142 arg8
= (bool)(SWIG_As_bool(obj6
));
5143 if (SWIG_arg_fail(8)) SWIG_fail
;
5148 arg9
= (int)(SWIG_As_int(obj7
));
5149 if (SWIG_arg_fail(9)) SWIG_fail
;
5154 arg10
= (int)(SWIG_As_int(obj8
));
5155 if (SWIG_arg_fail(10)) SWIG_fail
;
5159 if (!wxPyCheckForApp()) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_From_int((int)(result
));
5178 if (arg4
) delete [] arg4
;
5191 if (arg4
) delete [] arg4
;
5197 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxString
*arg1
= 0 ;
5200 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5201 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5202 int arg3
= (int) wxOK
|wxCENTRE
;
5203 wxWindow
*arg4
= (wxWindow
*) NULL
;
5204 int arg5
= (int) -1 ;
5205 int arg6
= (int) -1 ;
5207 bool temp1
= false ;
5208 bool temp2
= false ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5211 PyObject
* obj2
= 0 ;
5212 PyObject
* obj3
= 0 ;
5213 PyObject
* obj4
= 0 ;
5214 PyObject
* obj5
= 0 ;
5216 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5221 arg1
= wxString_in_helper(obj0
);
5222 if (arg1
== NULL
) SWIG_fail
;
5227 arg2
= wxString_in_helper(obj1
);
5228 if (arg2
== NULL
) SWIG_fail
;
5234 arg3
= (int)(SWIG_As_int(obj2
));
5235 if (SWIG_arg_fail(3)) SWIG_fail
;
5239 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5240 if (SWIG_arg_fail(4)) SWIG_fail
;
5244 arg5
= (int)(SWIG_As_int(obj4
));
5245 if (SWIG_arg_fail(5)) SWIG_fail
;
5250 arg6
= (int)(SWIG_As_int(obj5
));
5251 if (SWIG_arg_fail(6)) SWIG_fail
;
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_From_int((int)(result
));
5287 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxString
*arg1
= 0 ;
5290 wxString
*arg2
= 0 ;
5291 wxString
*arg3
= 0 ;
5293 long arg5
= (long) 0 ;
5294 long arg6
= (long) 100 ;
5295 wxWindow
*arg7
= (wxWindow
*) NULL
;
5296 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5297 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5299 bool temp1
= false ;
5300 bool temp2
= false ;
5301 bool temp3
= false ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5305 PyObject
* obj2
= 0 ;
5306 PyObject
* obj3
= 0 ;
5307 PyObject
* obj4
= 0 ;
5308 PyObject
* obj5
= 0 ;
5309 PyObject
* obj6
= 0 ;
5310 PyObject
* obj7
= 0 ;
5312 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5317 arg1
= wxString_in_helper(obj0
);
5318 if (arg1
== NULL
) SWIG_fail
;
5322 arg2
= wxString_in_helper(obj1
);
5323 if (arg2
== NULL
) SWIG_fail
;
5327 arg3
= wxString_in_helper(obj2
);
5328 if (arg3
== NULL
) SWIG_fail
;
5332 arg4
= (long)(SWIG_As_long(obj3
));
5333 if (SWIG_arg_fail(4)) SWIG_fail
;
5337 arg5
= (long)(SWIG_As_long(obj4
));
5338 if (SWIG_arg_fail(5)) SWIG_fail
;
5343 arg6
= (long)(SWIG_As_long(obj5
));
5344 if (SWIG_arg_fail(6)) SWIG_fail
;
5348 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5349 if (SWIG_arg_fail(7)) SWIG_fail
;
5354 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5358 if (!wxPyCheckForApp()) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= SWIG_From_long((long)(result
));
5398 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5407 if (!wxPyCheckForApp()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)wxColourDisplay();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (int)wxDisplayDepth();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_From_int((int)(result
));
5448 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5457 if (!wxPyCheckForApp()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (int)wxGetDisplayDepth();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_From_int((int)(result
));
5473 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 int *arg1
= (int *) 0 ;
5476 int *arg2
= (int *) 0 ;
5485 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5486 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5489 if (!wxPyCheckForApp()) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 wxDisplaySize(arg1
,arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5497 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5498 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5499 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5500 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5507 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5516 if (!wxPyCheckForApp()) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= wxGetDisplaySize();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5525 resultptr
= new wxSize((wxSize
&)(result
));
5526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5534 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 int *arg1
= (int *) 0 ;
5537 int *arg2
= (int *) 0 ;
5546 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5547 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5550 if (!wxPyCheckForApp()) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 wxDisplaySizeMM(arg1
,arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5558 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5559 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5560 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5561 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5568 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5577 if (!wxPyCheckForApp()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= wxGetDisplaySizeMM();
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5586 resultptr
= new wxSize((wxSize
&)(result
));
5587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5595 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 int *arg1
= (int *) 0 ;
5598 int *arg2
= (int *) 0 ;
5599 int *arg3
= (int *) 0 ;
5600 int *arg4
= (int *) 0 ;
5613 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5614 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5615 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5616 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5619 if (!wxPyCheckForApp()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5628 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5632 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5633 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5634 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5641 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5650 if (!wxPyCheckForApp()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= wxGetClientDisplayRect();
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5659 resultptr
= new wxRect((wxRect
&)(result
));
5660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5668 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxCursor
*arg1
= 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "cursor", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail
;
5681 SWIG_null_ref("wxCursor");
5683 if (SWIG_arg_fail(1)) SWIG_fail
;
5686 if (!wxPyCheckForApp()) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 Py_INCREF(Py_None
); resultobj
= Py_None
;
5700 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "cursor", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5711 if (SWIG_arg_fail(1)) SWIG_fail
;
5714 if (!wxPyCheckForApp()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 wxBeginBusyCursor(arg1
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 Py_INCREF(Py_None
); resultobj
= Py_None
;
5728 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5737 if (!wxPyCheckForApp()) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (wxWindow
*)wxGetActiveWindow();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= wxPyMake_wxObject(result
, 0);
5753 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5758 PyObject
* obj0
= 0 ;
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5766 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5769 if (!wxPyCheckForApp()) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= wxPyMake_wxObject(result
, 0);
5785 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5790 PyObject
* obj0
= 0 ;
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5798 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5801 if (!wxPyCheckForApp()) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= wxPyMake_wxObject(result
, 0);
5817 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxWindow
*arg1
= (wxWindow
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "win", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5828 if (SWIG_arg_fail(1)) SWIG_fail
;
5830 if (!wxPyCheckForApp()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= wxPyMake_wxObject(result
, 0);
5846 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5850 PyObject
* obj0
= 0 ;
5852 (char *) "key", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5857 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5858 if (SWIG_arg_fail(1)) SWIG_fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5877 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5885 if (!wxPyCheckForApp()) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 wxWakeUpMainThread();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 Py_INCREF(Py_None
); resultobj
= Py_None
;
5899 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5907 if (!wxPyCheckForApp()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 Py_INCREF(Py_None
); resultobj
= Py_None
;
5921 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
5929 if (!wxPyCheckForApp()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5943 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxMutexGuiLocker
*result
;
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
5952 if (!wxPyCheckForApp()) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
5966 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
5975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 Py_INCREF(Py_None
); resultobj
= Py_None
;
5991 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
5993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5994 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
5996 return Py_BuildValue((char *)"");
5998 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (bool)wxThread_IsMain();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6022 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxString
*arg1
= 0 ;
6026 bool temp1
= false ;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "tip", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6034 arg1
= wxString_in_helper(obj0
);
6035 if (arg1
== NULL
) SWIG_fail
;
6039 if (!wxPyCheckForApp()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= wxPyMake_wxObject(result
, 1);
6063 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6066 wxString
*arg2
= 0 ;
6067 bool temp2
= false ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "tip", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6076 if (SWIG_arg_fail(1)) SWIG_fail
;
6078 arg2
= wxString_in_helper(obj1
);
6079 if (arg2
== NULL
) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 (arg1
)->SetTip((wxString
const &)*arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 Py_INCREF(Py_None
); resultobj
= Py_None
;
6104 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (arg1
)->GetTip();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6136 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "self", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxWindow
*)(arg1
)->GetWindow();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= wxPyMake_wxObject(result
, 0);
6164 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6167 PyObject
* obj0
= 0 ;
6169 (char *) "flag", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6174 arg1
= (bool)(SWIG_As_bool(obj0
));
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxToolTip::Enable(arg1
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "milliseconds", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6201 arg1
= (long)(SWIG_As_long(obj0
));
6202 if (SWIG_arg_fail(1)) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxToolTip::SetDelay(arg1
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 Py_INCREF(Py_None
); resultobj
= Py_None
;
6218 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6221 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6223 return Py_BuildValue((char *)"");
6225 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxWindow
*arg1
= (wxWindow
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "window",(char *) "size", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6239 if (SWIG_arg_fail(1)) SWIG_fail
;
6242 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6259 static PyObject
*_wrap_Caret_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxCaret
*arg1
= (wxCaret
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "self", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Destroy",kwnames
,&obj0
)) goto fail
;
6268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 wxCaret_Destroy(arg1
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 Py_INCREF(Py_None
); resultobj
= Py_None
;
6284 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxCaret
*arg1
= (wxCaret
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6290 (char *) "self", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (bool)(arg1
)->IsOk();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6312 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxCaret
*arg1
= (wxCaret
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6318 (char *) "self", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (bool)(arg1
)->IsVisible();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6340 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxCaret
*arg1
= (wxCaret
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (arg1
)->GetPosition();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 wxPoint
* resultptr
;
6361 resultptr
= new wxPoint((wxPoint
&)(result
));
6362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6370 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxCaret
*arg1
= (wxCaret
*) 0 ;
6373 int *arg2
= (int *) 0 ;
6374 int *arg3
= (int *) 0 ;
6379 PyObject
* obj0
= 0 ;
6381 (char *) "self", NULL
6384 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6385 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 (arg1
)->GetPosition(arg2
,arg3
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6398 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6399 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6400 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6407 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxCaret
*arg1
= (wxCaret
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (arg1
)->GetSize();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6428 resultptr
= new wxSize((wxSize
&)(result
));
6429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6437 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxCaret
*arg1
= (wxCaret
*) 0 ;
6440 int *arg2
= (int *) 0 ;
6441 int *arg3
= (int *) 0 ;
6446 PyObject
* obj0
= 0 ;
6448 (char *) "self", NULL
6451 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6452 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 (arg1
)->GetSize(arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6465 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6466 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6467 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6474 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxCaret
*arg1
= (wxCaret
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6480 (char *) "self", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6485 if (SWIG_arg_fail(1)) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxWindow
*)(arg1
)->GetWindow();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= wxPyMake_wxObject(result
, 0);
6502 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxCaret
*arg1
= (wxCaret
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6509 PyObject
* obj2
= 0 ;
6511 (char *) "self",(char *) "x",(char *) "y", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6516 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 arg2
= (int)(SWIG_As_int(obj1
));
6519 if (SWIG_arg_fail(2)) SWIG_fail
;
6522 arg3
= (int)(SWIG_As_int(obj2
));
6523 if (SWIG_arg_fail(3)) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->Move(arg2
,arg3
);
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 Py_INCREF(Py_None
); resultobj
= Py_None
;
6539 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxCaret
*arg1
= (wxCaret
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6547 (char *) "self",(char *) "pt", NULL
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6552 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 (arg1
)->Move((wxPoint
const &)*arg2
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 Py_INCREF(Py_None
); resultobj
= Py_None
;
6571 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxCaret
*arg1
= (wxCaret
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6580 (char *) "self",(char *) "width",(char *) "height", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6585 if (SWIG_arg_fail(1)) SWIG_fail
;
6587 arg2
= (int)(SWIG_As_int(obj1
));
6588 if (SWIG_arg_fail(2)) SWIG_fail
;
6591 arg3
= (int)(SWIG_As_int(obj2
));
6592 if (SWIG_arg_fail(3)) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 (arg1
)->SetSize(arg2
,arg3
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6608 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxCaret
*arg1
= (wxCaret
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "size", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetSize((wxSize
const &)*arg2
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxCaret
*arg1
= (wxCaret
*) 0 ;
6643 int arg2
= (int) true ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6647 (char *) "self",(char *) "show", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6652 if (SWIG_arg_fail(1)) SWIG_fail
;
6655 arg2
= (int)(SWIG_As_int(obj1
));
6656 if (SWIG_arg_fail(2)) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 Py_INCREF(Py_None
); resultobj
= Py_None
;
6673 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxCaret
*arg1
= (wxCaret
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (int)wxCaret::GetBlinkTime();
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_From_int((int)(result
));
6722 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6725 PyObject
* obj0
= 0 ;
6727 (char *) "milliseconds", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6732 arg1
= (int)(SWIG_As_int(obj0
));
6733 if (SWIG_arg_fail(1)) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 wxCaret::SetBlinkTime(arg1
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6752 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6754 return Py_BuildValue((char *)"");
6756 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6759 wxBusyCursor
*result
;
6760 PyObject
* obj0
= 0 ;
6762 (char *) "cursor", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail
;
6771 if (!wxPyCheckForApp()) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6785 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6788 PyObject
* obj0
= 0 ;
6790 (char *) "self", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6795 if (SWIG_arg_fail(1)) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 Py_INCREF(Py_None
); resultobj
= Py_None
;
6810 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6813 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6815 return Py_BuildValue((char *)"");
6817 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxWindow
*arg1
= (wxWindow
*) NULL
;
6820 wxWindowDisabler
*result
;
6821 PyObject
* obj0
= 0 ;
6823 (char *) "winToSkip", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6829 if (SWIG_arg_fail(1)) SWIG_fail
;
6832 if (!wxPyCheckForApp()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6846 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6849 PyObject
* obj0
= 0 ;
6851 (char *) "self", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 Py_INCREF(Py_None
); resultobj
= Py_None
;
6871 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6876 return Py_BuildValue((char *)"");
6878 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxString
*arg1
= 0 ;
6882 bool temp1
= false ;
6883 PyObject
* obj0
= 0 ;
6885 (char *) "message", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6890 arg1
= wxString_in_helper(obj0
);
6891 if (arg1
== NULL
) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6917 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
6926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
6927 if (SWIG_arg_fail(1)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
6944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6945 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
6947 return Py_BuildValue((char *)"");
6949 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxStopWatch
*result
;
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (wxStopWatch
*)new wxStopWatch();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
6971 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
6974 long arg2
= (long) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6978 (char *) "self",(char *) "t0", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
6982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
6983 if (SWIG_arg_fail(1)) SWIG_fail
;
6986 arg2
= (long)(SWIG_As_long(obj1
));
6987 if (SWIG_arg_fail(2)) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 (arg1
)->Start(arg2
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 Py_INCREF(Py_None
); resultobj
= Py_None
;
7004 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7009 (char *) "self", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7014 if (SWIG_arg_fail(1)) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7039 if (SWIG_arg_fail(1)) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7054 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7065 if (SWIG_arg_fail(1)) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_From_long((long)(result
));
7082 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7085 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7087 return Py_BuildValue((char *)"");
7089 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 int arg1
= (int) 9 ;
7092 int arg2
= (int) wxID_FILE1
;
7093 wxFileHistory
*result
;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "maxFiles",(char *) "idBase", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7103 arg1
= (int)(SWIG_As_int(obj0
));
7104 if (SWIG_arg_fail(1)) SWIG_fail
;
7109 arg2
= (int)(SWIG_As_int(obj1
));
7110 if (SWIG_arg_fail(2)) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7127 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "self", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 Py_INCREF(Py_None
); resultobj
= Py_None
;
7152 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7155 wxString
*arg2
= 0 ;
7156 bool temp2
= false ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7160 (char *) "self",(char *) "file", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7165 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 arg2
= wxString_in_helper(obj1
);
7168 if (arg2
== NULL
) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7200 (char *) "self",(char *) "i", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 arg2
= (int)(SWIG_As_int(obj1
));
7208 if (SWIG_arg_fail(2)) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->RemoveFileFromHistory(arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "self", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_From_int((int)(result
));
7252 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7255 wxMenu
*arg2
= (wxMenu
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "menu", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7264 if (SWIG_arg_fail(1)) SWIG_fail
;
7265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(2)) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 (arg1
)->UseMenu(arg2
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7281 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7284 wxMenu
*arg2
= (wxMenu
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "menu", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail
;
7294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7295 if (SWIG_arg_fail(2)) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 (arg1
)->RemoveMenu(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7313 wxConfigBase
*arg2
= 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7317 (char *) "self",(char *) "config", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7322 if (SWIG_arg_fail(1)) SWIG_fail
;
7324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7325 if (SWIG_arg_fail(2)) SWIG_fail
;
7327 SWIG_null_ref("wxConfigBase");
7329 if (SWIG_arg_fail(2)) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 (arg1
)->Load(*arg2
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 Py_INCREF(Py_None
); resultobj
= Py_None
;
7345 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7348 wxConfigBase
*arg2
= 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7352 (char *) "self",(char *) "config", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7360 if (SWIG_arg_fail(2)) SWIG_fail
;
7362 SWIG_null_ref("wxConfigBase");
7364 if (SWIG_arg_fail(2)) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 (arg1
)->Save(*arg2
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 Py_INCREF(Py_None
); resultobj
= Py_None
;
7380 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "self", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 (arg1
)->AddFilesToMenu();
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 Py_INCREF(Py_None
); resultobj
= Py_None
;
7405 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7408 wxMenu
*arg2
= (wxMenu
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 (char *) "self",(char *) "menu", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7417 if (SWIG_arg_fail(1)) SWIG_fail
;
7418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(2)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->AddFilesToMenu(arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "self",(char *) "i", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail
;
7449 arg2
= (int)(SWIG_As_int(obj1
));
7450 if (SWIG_arg_fail(2)) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7472 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_From_int((int)(result
));
7500 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7503 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7505 return Py_BuildValue((char *)"");
7507 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxString
*arg1
= 0 ;
7510 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7511 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7512 wxSingleInstanceChecker
*result
;
7513 bool temp1
= false ;
7514 bool temp2
= false ;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7518 (char *) "name",(char *) "path", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 arg1
= wxString_in_helper(obj0
);
7524 if (arg1
== NULL
) SWIG_fail
;
7529 arg2
= wxString_in_helper(obj1
);
7530 if (arg2
== NULL
) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7564 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxSingleInstanceChecker
*result
;
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7586 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7591 (char *) "self", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7596 if (SWIG_arg_fail(1)) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7614 wxString
*arg2
= 0 ;
7615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7618 bool temp2
= false ;
7619 bool temp3
= false ;
7620 PyObject
* obj0
= 0 ;
7621 PyObject
* obj1
= 0 ;
7622 PyObject
* obj2
= 0 ;
7624 (char *) "self",(char *) "name",(char *) "path", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7629 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 arg2
= wxString_in_helper(obj1
);
7632 if (arg2
== NULL
) SWIG_fail
;
7637 arg3
= wxString_in_helper(obj2
);
7638 if (arg3
== NULL
) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7674 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7685 if (SWIG_arg_fail(1)) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7705 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7707 return Py_BuildValue((char *)"");
7709 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7719 if (SWIG_arg_fail(1)) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 Py_INCREF(Py_None
); resultobj
= Py_None
;
7734 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (arg1
)->GetTip();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7766 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7772 (char *) "self", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= (size_t)(arg1
)->GetCurrentTip();
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7794 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7797 wxString
*arg2
= 0 ;
7799 bool temp2
= false ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7803 (char *) "self",(char *) "tip", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail
;
7810 arg2
= wxString_in_helper(obj1
);
7811 if (arg2
== NULL
) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7842 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7845 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7847 return Py_BuildValue((char *)"");
7849 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7852 wxPyTipProvider
*result
;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "currentTip", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7860 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7877 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7880 PyObject
*arg2
= (PyObject
*) 0 ;
7881 PyObject
*arg3
= (PyObject
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7886 (char *) "self",(char *) "self",(char *) "_class", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
7910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7911 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
7913 return Py_BuildValue((char *)"");
7915 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxWindow
*arg1
= (wxWindow
*) 0 ;
7918 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
7919 bool arg3
= (bool) true ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7923 PyObject
* obj2
= 0 ;
7925 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7930 if (SWIG_arg_fail(1)) SWIG_fail
;
7931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7932 if (SWIG_arg_fail(2)) SWIG_fail
;
7935 arg3
= (bool)(SWIG_As_bool(obj2
));
7936 if (SWIG_arg_fail(3)) SWIG_fail
;
7940 if (!wxPyCheckForApp()) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7956 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxString
*arg1
= 0 ;
7960 wxTipProvider
*result
;
7961 bool temp1
= false ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "filename",(char *) "currentTip", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
7970 arg1
= wxString_in_helper(obj0
);
7971 if (arg1
== NULL
) SWIG_fail
;
7975 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7976 if (SWIG_arg_fail(2)) SWIG_fail
;
7979 if (!wxPyCheckForApp()) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
8001 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8004 int arg2
= (int) -1 ;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8009 (char *) "owner",(char *) "id", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail
;
8019 arg2
= (int)(SWIG_As_int(obj1
));
8020 if (SWIG_arg_fail(2)) SWIG_fail
;
8024 if (!wxPyCheckForApp()) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8038 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8043 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 Py_INCREF(Py_None
); resultobj
= Py_None
;
8063 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8066 PyObject
*arg2
= (PyObject
*) 0 ;
8067 PyObject
*arg3
= (PyObject
*) 0 ;
8068 int arg4
= (int) 1 ;
8069 PyObject
* obj0
= 0 ;
8070 PyObject
* obj1
= 0 ;
8071 PyObject
* obj2
= 0 ;
8072 PyObject
* obj3
= 0 ;
8074 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8079 if (SWIG_arg_fail(1)) SWIG_fail
;
8084 arg4
= (int)(SWIG_As_int(obj3
));
8085 if (SWIG_arg_fail(4)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 Py_INCREF(Py_None
); resultobj
= Py_None
;
8102 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8105 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8106 int arg3
= (int) -1 ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8111 (char *) "self",(char *) "owner",(char *) "id", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail
;
8117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8118 if (SWIG_arg_fail(2)) SWIG_fail
;
8121 arg3
= (int)(SWIG_As_int(obj2
));
8122 if (SWIG_arg_fail(3)) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 (arg1
)->SetOwner(arg2
,arg3
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 Py_INCREF(Py_None
); resultobj
= Py_None
;
8139 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8142 wxEvtHandler
*result
;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= wxPyMake_wxObject(result
, 0);
8167 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8170 int arg2
= (int) -1 ;
8171 bool arg3
= (bool) false ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 PyObject
* obj2
= 0 ;
8177 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8182 if (SWIG_arg_fail(1)) SWIG_fail
;
8185 arg2
= (int)(SWIG_As_int(obj1
));
8186 if (SWIG_arg_fail(2)) SWIG_fail
;
8191 arg3
= (bool)(SWIG_As_bool(obj2
));
8192 if (SWIG_arg_fail(3)) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8211 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8221 if (SWIG_arg_fail(1)) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 Py_INCREF(Py_None
); resultobj
= Py_None
;
8236 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8247 if (SWIG_arg_fail(1)) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8264 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_From_int((int)(result
));
8292 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8303 if (SWIG_arg_fail(1)) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8320 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_From_int((int)(result
));
8348 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8351 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8353 return Py_BuildValue((char *)"");
8355 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 int arg1
= (int) 0 ;
8358 int arg2
= (int) 0 ;
8359 wxTimerEvent
*result
;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "timerid",(char *) "interval", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8369 arg1
= (int)(SWIG_As_int(obj0
));
8370 if (SWIG_arg_fail(1)) SWIG_fail
;
8375 arg2
= (int)(SWIG_As_int(obj1
));
8376 if (SWIG_arg_fail(2)) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8393 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "self", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8404 if (SWIG_arg_fail(1)) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_From_int((int)(result
));
8421 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8424 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8426 return Py_BuildValue((char *)"");
8428 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8429 PyObject
*resultobj
;
8431 wxTimerRunner
*result
;
8432 PyObject
* obj0
= 0 ;
8434 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail
;
8439 SWIG_null_ref("wxTimer");
8441 if (SWIG_arg_fail(1)) SWIG_fail
;
8444 if (!wxPyCheckForApp()) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8458 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8459 PyObject
*resultobj
;
8462 bool arg3
= (bool) false ;
8463 wxTimerRunner
*result
;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 PyObject
* obj2
= 0 ;
8468 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail
;
8473 SWIG_null_ref("wxTimer");
8475 if (SWIG_arg_fail(1)) SWIG_fail
;
8478 arg2
= (int)(SWIG_As_int(obj1
));
8479 if (SWIG_arg_fail(2)) SWIG_fail
;
8483 arg3
= (bool)(SWIG_As_bool(obj2
));
8484 if (SWIG_arg_fail(3)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8502 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8507 argc
= PyObject_Length(args
);
8508 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8509 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8515 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8523 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8526 if ((argc
>= 2) && (argc
<= 3)) {
8530 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8538 _v
= SWIG_Check_int(argv
[1]);
8541 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8543 _v
= SWIG_Check_bool(argv
[2]);
8545 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8551 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8556 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8566 if (SWIG_arg_fail(1)) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8585 bool arg3
= (bool) false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8590 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail
;
8597 arg2
= (int)(SWIG_As_int(obj1
));
8598 if (SWIG_arg_fail(2)) SWIG_fail
;
8602 arg3
= (bool)(SWIG_As_bool(obj2
));
8603 if (SWIG_arg_fail(3)) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 (arg1
)->Start(arg2
,arg3
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 Py_INCREF(Py_None
); resultobj
= Py_None
;
8620 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8623 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8625 return Py_BuildValue((char *)"");
8627 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxLog
*)new wxLog();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8649 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (bool)wxLog::IsEnabled();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8673 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 bool arg1
= (bool) true ;
8677 PyObject
* obj0
= 0 ;
8679 (char *) "doIt", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8685 arg1
= (bool)(SWIG_As_bool(obj0
));
8686 if (SWIG_arg_fail(1)) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)wxLog::EnableLogging(arg1
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8705 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8708 wxChar
*arg2
= (wxChar
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 PyObject
* obj2
= 0 ;
8714 (char *) "level",(char *) "szString",(char *) "t", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8719 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8720 if (SWIG_arg_fail(1)) SWIG_fail
;
8722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8723 if (SWIG_arg_fail(2)) SWIG_fail
;
8725 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8726 if (SWIG_arg_fail(3)) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 Py_INCREF(Py_None
); resultobj
= Py_None
;
8742 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxLog
*arg1
= (wxLog
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8747 (char *) "self", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8752 if (SWIG_arg_fail(1)) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 Py_INCREF(Py_None
); resultobj
= Py_None
;
8767 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxLog::FlushActive();
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= (wxLog
*)wxLog::GetActiveTarget();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8810 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxLog
*arg1
= (wxLog
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "pLogger", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8836 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 bool arg1
= (bool) true ;
8881 PyObject
* obj0
= 0 ;
8883 (char *) "bVerbose", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
8889 arg1
= (bool)(SWIG_As_bool(obj0
));
8890 if (SWIG_arg_fail(1)) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 wxLog::SetVerbose(arg1
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8910 PyObject
* obj0
= 0 ;
8912 (char *) "logLevel", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
8917 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8918 if (SWIG_arg_fail(1)) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 wxLog::SetLogLevel(arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 wxLog::DontCreateOnDemand();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "ulMask", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
8965 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
8966 if (SWIG_arg_fail(1)) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxLog::SetTraceMask(arg1
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxString
*arg1
= 0 ;
8985 bool temp1
= false ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "str", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
8993 arg1
= wxString_in_helper(obj0
);
8994 if (arg1
== NULL
) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 wxLog::AddTraceMask((wxString
const &)*arg1
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxString
*arg1
= 0 ;
9022 bool temp1
= false ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "str", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9030 arg1
= wxString_in_helper(obj0
);
9031 if (arg1
== NULL
) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9056 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxLog::ClearTraceMasks();
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxArrayString
*result
;
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9089 result
= (wxArrayString
*) &_result_ref
;
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= wxArrayString2PyList_helper(*result
);
9104 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxChar
*arg1
= (wxChar
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9114 if (SWIG_arg_fail(1)) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 wxLog::SetTimestamp((wxChar
const *)arg1
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 Py_INCREF(Py_None
); resultobj
= Py_None
;
9129 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (bool)wxLog::GetVerbose();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9153 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (wxTraceMask
)wxLog::GetTraceMask();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9177 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxChar
*arg1
= (wxChar
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9183 (char *) "mask", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9188 if (SWIG_arg_fail(1)) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9205 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (wxLogLevel
)wxLog::GetLogLevel();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9229 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (wxChar
*)wxLog::GetTimestamp();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9251 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= Log_TimeStamp();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9279 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxLog
*arg1
= (wxLog
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9289 if (SWIG_arg_fail(1)) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxLog_Destroy(arg1
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 Py_INCREF(Py_None
); resultobj
= Py_None
;
9304 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9307 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9309 return Py_BuildValue((char *)"");
9311 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxLogStderr
*result
;
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (wxLogStderr
*)new wxLogStderr();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9333 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9336 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9338 return Py_BuildValue((char *)"");
9340 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9343 wxLogTextCtrl
*result
;
9344 PyObject
* obj0
= 0 ;
9346 (char *) "pTextCtrl", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9351 if (SWIG_arg_fail(1)) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9366 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9369 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9371 return Py_BuildValue((char *)"");
9373 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (wxLogGui
*)new wxLogGui();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9395 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9398 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9400 return Py_BuildValue((char *)"");
9402 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxFrame
*arg1
= (wxFrame
*) 0 ;
9405 wxString
*arg2
= 0 ;
9406 bool arg3
= (bool) true ;
9407 bool arg4
= (bool) true ;
9408 wxLogWindow
*result
;
9409 bool temp2
= false ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 PyObject
* obj2
= 0 ;
9413 PyObject
* obj3
= 0 ;
9415 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 arg2
= wxString_in_helper(obj1
);
9423 if (arg2
== NULL
) SWIG_fail
;
9428 arg3
= (bool)(SWIG_As_bool(obj2
));
9429 if (SWIG_arg_fail(3)) SWIG_fail
;
9434 arg4
= (bool)(SWIG_As_bool(obj3
));
9435 if (SWIG_arg_fail(4)) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9460 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9463 bool arg2
= (bool) true ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9467 (char *) "self",(char *) "bShow", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9472 if (SWIG_arg_fail(1)) SWIG_fail
;
9475 arg2
= (bool)(SWIG_As_bool(obj1
));
9476 if (SWIG_arg_fail(2)) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 Py_INCREF(Py_None
); resultobj
= Py_None
;
9493 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= wxPyMake_wxObject(result
, 0);
9521 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9547 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9558 if (SWIG_arg_fail(1)) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9582 (char *) "self",(char *) "bDoPass", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9587 if (SWIG_arg_fail(1)) SWIG_fail
;
9589 arg2
= (bool)(SWIG_As_bool(obj1
));
9590 if (SWIG_arg_fail(2)) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 (arg1
)->PassMessages(arg2
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 Py_INCREF(Py_None
); resultobj
= Py_None
;
9606 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9611 return Py_BuildValue((char *)"");
9613 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxLog
*arg1
= (wxLog
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "logger", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (wxLogChain
*)new wxLogChain(arg1
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9639 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9642 wxLog
*arg2
= (wxLog
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9646 (char *) "self",(char *) "logger", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9651 if (SWIG_arg_fail(1)) SWIG_fail
;
9652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9653 if (SWIG_arg_fail(2)) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->SetLog(arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9675 (char *) "self",(char *) "bDoPass", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail
;
9682 arg2
= (bool)(SWIG_As_bool(obj1
));
9683 if (SWIG_arg_fail(2)) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 (arg1
)->PassMessages(arg2
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 Py_INCREF(Py_None
); resultobj
= Py_None
;
9699 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9705 (char *) "self", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9710 if (SWIG_arg_fail(1)) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (bool)(arg1
)->IsPassingMessages();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9727 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9733 (char *) "self", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9738 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (wxLog
*)(arg1
)->GetOldLog();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9753 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9756 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9758 return Py_BuildValue((char *)"");
9760 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 unsigned long result
;
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (unsigned long)wxSysErrorCode();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9784 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 unsigned long arg1
= (unsigned long) 0 ;
9788 PyObject
* obj0
= 0 ;
9790 (char *) "nErrCode", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9796 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9797 if (SWIG_arg_fail(1)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= wxSysErrorMsg(arg1
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9820 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxString
*arg1
= 0 ;
9823 bool temp1
= false ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "msg", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9831 arg1
= wxString_in_helper(obj0
);
9832 if (arg1
== NULL
) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 wxPyLogFatalError((wxString
const &)*arg1
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxString
*arg1
= 0 ;
9860 bool temp1
= false ;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "msg", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9868 arg1
= wxString_in_helper(obj0
);
9869 if (arg1
== NULL
) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 wxPyLogError((wxString
const &)*arg1
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 Py_INCREF(Py_None
); resultobj
= Py_None
;
9894 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxString
*arg1
= 0 ;
9897 bool temp1
= false ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "msg", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
9905 arg1
= wxString_in_helper(obj0
);
9906 if (arg1
== NULL
) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 wxPyLogWarning((wxString
const &)*arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9931 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxString
*arg1
= 0 ;
9934 bool temp1
= false ;
9935 PyObject
* obj0
= 0 ;
9937 (char *) "msg", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
9942 arg1
= wxString_in_helper(obj0
);
9943 if (arg1
== NULL
) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 wxPyLogMessage((wxString
const &)*arg1
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9968 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxString
*arg1
= 0 ;
9971 bool temp1
= false ;
9972 PyObject
* obj0
= 0 ;
9974 (char *) "msg", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
9979 arg1
= wxString_in_helper(obj0
);
9980 if (arg1
== NULL
) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 wxPyLogInfo((wxString
const &)*arg1
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 Py_INCREF(Py_None
); resultobj
= Py_None
;
10005 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxString
*arg1
= 0 ;
10008 bool temp1
= false ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "msg", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10016 arg1
= wxString_in_helper(obj0
);
10017 if (arg1
== NULL
) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 wxPyLogDebug((wxString
const &)*arg1
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 Py_INCREF(Py_None
); resultobj
= Py_None
;
10042 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxString
*arg1
= 0 ;
10045 bool temp1
= false ;
10046 PyObject
* obj0
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "msg", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10053 arg1
= wxString_in_helper(obj0
);
10054 if (arg1
== NULL
) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxPyLogVerbose((wxString
const &)*arg1
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 Py_INCREF(Py_None
); resultobj
= Py_None
;
10079 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxString
*arg1
= 0 ;
10082 bool temp1
= false ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "msg", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10090 arg1
= wxString_in_helper(obj0
);
10091 if (arg1
== NULL
) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 wxPyLogStatus((wxString
const &)*arg1
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10116 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxFrame
*arg1
= (wxFrame
*) 0 ;
10119 wxString
*arg2
= 0 ;
10120 bool temp2
= false ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "pFrame",(char *) "msg", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10129 if (SWIG_arg_fail(1)) SWIG_fail
;
10131 arg2
= wxString_in_helper(obj1
);
10132 if (arg2
== NULL
) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxString
*arg1
= 0 ;
10160 bool temp1
= false ;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "msg", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10168 arg1
= wxString_in_helper(obj0
);
10169 if (arg1
== NULL
) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxPyLogSysError((wxString
const &)*arg1
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 Py_INCREF(Py_None
); resultobj
= Py_None
;
10194 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 unsigned long arg1
;
10197 wxString
*arg2
= 0 ;
10198 bool temp2
= false ;
10199 PyObject
* obj0
= 0 ;
10200 PyObject
* obj1
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "level",(char *) "msg", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10207 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10208 if (SWIG_arg_fail(1)) SWIG_fail
;
10211 arg2
= wxString_in_helper(obj1
);
10212 if (arg2
== NULL
) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10237 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10238 PyObject
*resultobj
;
10239 unsigned long arg1
;
10240 wxString
*arg2
= 0 ;
10241 bool temp2
= false ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10245 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10247 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10248 if (SWIG_arg_fail(1)) SWIG_fail
;
10251 arg2
= wxString_in_helper(obj1
);
10252 if (arg2
== NULL
) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10277 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10278 PyObject
*resultobj
;
10279 wxString
*arg1
= 0 ;
10280 wxString
*arg2
= 0 ;
10281 bool temp1
= false ;
10282 bool temp2
= false ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10286 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10288 arg1
= wxString_in_helper(obj0
);
10289 if (arg1
== NULL
) SWIG_fail
;
10293 arg2
= wxString_in_helper(obj1
);
10294 if (arg2
== NULL
) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10327 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10332 argc
= PyObject_Length(args
);
10333 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10334 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10339 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10343 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10346 return _wrap_LogTrace__SWIG_1(self
,args
);
10352 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10355 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10358 return _wrap_LogTrace__SWIG_0(self
,args
);
10363 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10368 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxString
*arg1
= 0 ;
10371 wxString
*arg2
= 0 ;
10372 bool temp1
= false ;
10373 bool temp2
= false ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "title",(char *) "text", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10382 arg1
= wxString_in_helper(obj0
);
10383 if (arg1
== NULL
) SWIG_fail
;
10387 arg2
= wxString_in_helper(obj1
);
10388 if (arg2
== NULL
) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10424 char *kwnames
[] = {
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (wxLogNull
*)new wxLogNull();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10443 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10446 PyObject
* obj0
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 Py_INCREF(Py_None
); resultobj
= Py_None
;
10468 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10471 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10473 return Py_BuildValue((char *)"");
10475 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10478 char *kwnames
[] = {
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (wxPyLog
*)new wxPyLog();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10497 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10500 PyObject
*arg2
= (PyObject
*) 0 ;
10501 PyObject
*arg3
= (PyObject
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 PyObject
* obj2
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "self",(char *) "_class", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10511 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10531 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10533 return Py_BuildValue((char *)"");
10535 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10538 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10539 int arg3
= (int) wxKILL_NOCHILDREN
;
10540 wxKillError result
;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 PyObject
* obj2
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10550 arg1
= (int)(SWIG_As_int(obj0
));
10551 if (SWIG_arg_fail(1)) SWIG_fail
;
10555 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10556 if (SWIG_arg_fail(2)) SWIG_fail
;
10561 arg3
= (int)(SWIG_As_int(obj2
));
10562 if (SWIG_arg_fail(3)) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_From_int((result
));
10579 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10583 PyObject
* obj0
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "pid", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10590 arg1
= (int)(SWIG_As_int(obj0
));
10591 if (SWIG_arg_fail(1)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (bool)wxPyProcess::Exists(arg1
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10609 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxString
*arg1
= 0 ;
10612 int arg2
= (int) wxEXEC_ASYNC
;
10613 wxPyProcess
*result
;
10614 bool temp1
= false ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "cmd",(char *) "flags", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10623 arg1
= wxString_in_helper(obj0
);
10624 if (arg1
== NULL
) SWIG_fail
;
10629 arg2
= (int)(SWIG_As_int(obj1
));
10630 if (SWIG_arg_fail(2)) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10655 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10658 int arg2
= (int) -1 ;
10659 wxPyProcess
*result
;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "parent",(char *) "id", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 arg2
= (int)(SWIG_As_int(obj1
));
10674 if (SWIG_arg_fail(2)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10691 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10694 PyObject
*arg2
= (PyObject
*) 0 ;
10695 PyObject
*arg3
= (PyObject
*) 0 ;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "self",(char *) "_class", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10705 if (SWIG_arg_fail(1)) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 Py_INCREF(Py_None
); resultobj
= Py_None
;
10722 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 PyObject
* obj2
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "pid",(char *) "status", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 arg2
= (int)(SWIG_As_int(obj1
));
10739 if (SWIG_arg_fail(2)) SWIG_fail
;
10742 arg3
= (int)(SWIG_As_int(obj2
));
10743 if (SWIG_arg_fail(3)) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 (arg1
)->base_OnTerminate(arg2
,arg3
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10769 if (SWIG_arg_fail(1)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->Redirect();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 Py_INCREF(Py_None
); resultobj
= Py_None
;
10784 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10795 if (SWIG_arg_fail(1)) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (bool)(arg1
)->IsRedirected();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10812 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 Py_INCREF(Py_None
); resultobj
= Py_None
;
10837 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10840 wxInputStream
*result
;
10841 PyObject
* obj0
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 wxPyInputStream
* _ptr
= NULL
;
10860 _ptr
= new wxPyInputStream(result
);
10862 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10870 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10873 wxInputStream
*result
;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10890 wxPyInputStream
* _ptr
= NULL
;
10893 _ptr
= new wxPyInputStream(result
);
10895 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10903 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10906 wxOutputStream
*result
;
10907 PyObject
* obj0
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
10913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
10929 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->CloseOutput();
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
10964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10965 if (SWIG_arg_fail(1)) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10982 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
10992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11021 if (SWIG_arg_fail(1)) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11041 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11043 return Py_BuildValue((char *)"");
11045 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 int arg1
= (int) 0 ;
11048 int arg2
= (int) 0 ;
11049 int arg3
= (int) 0 ;
11050 wxProcessEvent
*result
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11061 arg1
= (int)(SWIG_As_int(obj0
));
11062 if (SWIG_arg_fail(1)) SWIG_fail
;
11067 arg2
= (int)(SWIG_As_int(obj1
));
11068 if (SWIG_arg_fail(2)) SWIG_fail
;
11073 arg3
= (int)(SWIG_As_int(obj2
));
11074 if (SWIG_arg_fail(3)) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11091 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11102 if (SWIG_arg_fail(1)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (int)(arg1
)->GetPid();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= SWIG_From_int((int)(result
));
11119 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (int)(arg1
)->GetExitCode();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_From_int((int)(result
));
11147 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self",(char *) "m_pid", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11159 if (SWIG_arg_fail(1)) SWIG_fail
;
11161 arg2
= (int)(SWIG_As_int(obj1
));
11162 if (SWIG_arg_fail(2)) SWIG_fail
;
11164 if (arg1
) (arg1
)->m_pid
= arg2
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11185 result
= (int) ((arg1
)->m_pid
);
11188 resultobj
= SWIG_From_int((int)(result
));
11196 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "m_exitcode", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11208 if (SWIG_arg_fail(1)) SWIG_fail
;
11210 arg2
= (int)(SWIG_As_int(obj1
));
11211 if (SWIG_arg_fail(2)) SWIG_fail
;
11213 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail
;
11234 result
= (int) ((arg1
)->m_exitcode
);
11237 resultobj
= SWIG_From_int((int)(result
));
11245 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11248 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11250 return Py_BuildValue((char *)"");
11252 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxString
*arg1
= 0 ;
11255 int arg2
= (int) wxEXEC_ASYNC
;
11256 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11258 bool temp1
= false ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "command",(char *) "flags",(char *) "process", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11268 arg1
= wxString_in_helper(obj0
);
11269 if (arg1
== NULL
) SWIG_fail
;
11274 arg2
= (int)(SWIG_As_int(obj1
));
11275 if (SWIG_arg_fail(2)) SWIG_fail
;
11279 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(3)) SWIG_fail
;
11283 if (!wxPyCheckForApp()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_From_long((long)(result
));
11307 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11310 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11311 wxKillError
*arg3
= (wxKillError
*) 0 ;
11312 int arg4
= (int) wxKILL_NOCHILDREN
;
11314 wxKillError temp3
;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 PyObject
* obj2
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11327 arg1
= (long)(SWIG_As_long(obj0
));
11328 if (SWIG_arg_fail(1)) SWIG_fail
;
11332 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11333 if (SWIG_arg_fail(2)) SWIG_fail
;
11338 arg4
= (int)(SWIG_As_int(obj2
));
11339 if (SWIG_arg_fail(4)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_int((int)(result
));
11354 o
= PyInt_FromLong((long) (*arg3
));
11355 resultobj
= t_output_helper(resultobj
, o
);
11363 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 int arg1
= (int) wxJOYSTICK1
;
11366 wxJoystick
*result
;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "joystick", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11375 arg1
= (int)(SWIG_As_int(obj0
));
11376 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 if (!wxPyCheckForApp()) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (wxJoystick
*)new wxJoystick(arg1
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11394 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11430 if (SWIG_arg_fail(1)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (arg1
)->GetPosition();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 wxPoint
* resultptr
;
11440 resultptr
= new wxPoint((wxPoint
&)(result
));
11441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11449 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 char *kwnames
[] = {
11455 (char *) "self", NULL
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11460 if (SWIG_arg_fail(1)) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (int)(arg1
)->GetZPosition();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_From_int((int)(result
));
11477 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11488 if (SWIG_arg_fail(1)) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (int)(arg1
)->GetButtonState();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_From_int((int)(result
));
11505 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (int)(arg1
)->GetPOVPosition();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_From_int((int)(result
));
11533 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11544 if (SWIG_arg_fail(1)) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (int)(arg1
)->GetPOVCTSPosition();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_From_int((int)(result
));
11561 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (int)(arg1
)->GetRudderPosition();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_From_int((int)(result
));
11589 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (int)(arg1
)->GetUPosition();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= SWIG_From_int((int)(result
));
11617 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (int)(arg1
)->GetVPosition();
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_From_int((int)(result
));
11645 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (int)(arg1
)->GetMovementThreshold();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_From_int((int)(result
));
11673 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self",(char *) "threshold", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11685 if (SWIG_arg_fail(1)) SWIG_fail
;
11687 arg2
= (int)(SWIG_As_int(obj1
));
11688 if (SWIG_arg_fail(2)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->SetMovementThreshold(arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11704 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11708 PyObject
* obj0
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "self", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11715 if (SWIG_arg_fail(1)) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (bool)(arg1
)->IsOk();
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11732 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11736 PyObject
* obj0
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11743 if (SWIG_arg_fail(1)) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (int)(arg1
)->GetNumberJoysticks();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= SWIG_From_int((int)(result
));
11760 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11771 if (SWIG_arg_fail(1)) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (int)(arg1
)->GetManufacturerId();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= SWIG_From_int((int)(result
));
11788 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11792 PyObject
* obj0
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11799 if (SWIG_arg_fail(1)) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (int)(arg1
)->GetProductId();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_From_int((int)(result
));
11816 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11827 if (SWIG_arg_fail(1)) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (arg1
)->GetProductName();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11848 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (int)(arg1
)->GetXMin();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int((int)(result
));
11876 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
11886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)(arg1
)->GetYMin();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_int((int)(result
));
11904 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
11914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11915 if (SWIG_arg_fail(1)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (int)(arg1
)->GetZMin();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_From_int((int)(result
));
11932 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
11942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11943 if (SWIG_arg_fail(1)) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (int)(arg1
)->GetXMax();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_From_int((int)(result
));
11960 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
11970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11971 if (SWIG_arg_fail(1)) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (int)(arg1
)->GetYMax();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int((int)(result
));
11988 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
11998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11999 if (SWIG_arg_fail(1)) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (int)(arg1
)->GetZMax();
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_From_int((int)(result
));
12016 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "self", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12027 if (SWIG_arg_fail(1)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (int)(arg1
)->GetNumberButtons();
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= SWIG_From_int((int)(result
));
12044 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12055 if (SWIG_arg_fail(1)) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (int)(arg1
)->GetNumberAxes();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= SWIG_From_int((int)(result
));
12072 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 char *kwnames
[] = {
12078 (char *) "self", NULL
12081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12083 if (SWIG_arg_fail(1)) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (int)(arg1
)->GetMaxButtons();
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_From_int((int)(result
));
12100 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12104 PyObject
* obj0
= 0 ;
12105 char *kwnames
[] = {
12106 (char *) "self", NULL
12109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12111 if (SWIG_arg_fail(1)) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (int)(arg1
)->GetMaxAxes();
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_From_int((int)(result
));
12128 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12139 if (SWIG_arg_fail(1)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (int)(arg1
)->GetPollingMin();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_From_int((int)(result
));
12156 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12167 if (SWIG_arg_fail(1)) SWIG_fail
;
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (int)(arg1
)->GetPollingMax();
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_From_int((int)(result
));
12184 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12195 if (SWIG_arg_fail(1)) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (int)(arg1
)->GetRudderMin();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_From_int((int)(result
));
12212 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12216 PyObject
* obj0
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12223 if (SWIG_arg_fail(1)) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (int)(arg1
)->GetRudderMax();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_From_int((int)(result
));
12240 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12251 if (SWIG_arg_fail(1)) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (int)(arg1
)->GetUMin();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= SWIG_From_int((int)(result
));
12268 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12279 if (SWIG_arg_fail(1)) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (int)(arg1
)->GetUMax();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= SWIG_From_int((int)(result
));
12296 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12307 if (SWIG_arg_fail(1)) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (int)(arg1
)->GetVMin();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= SWIG_From_int((int)(result
));
12324 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12335 if (SWIG_arg_fail(1)) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (int)(arg1
)->GetVMax();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= SWIG_From_int((int)(result
));
12352 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (bool)(arg1
)->HasRudder();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12380 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12391 if (SWIG_arg_fail(1)) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (bool)(arg1
)->HasZ();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12408 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (bool)(arg1
)->HasU();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12436 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12447 if (SWIG_arg_fail(1)) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (bool)(arg1
)->HasV();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12464 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12475 if (SWIG_arg_fail(1)) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (bool)(arg1
)->HasPOV();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12492 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (bool)(arg1
)->HasPOV4Dir();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12531 if (SWIG_arg_fail(1)) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (bool)(arg1
)->HasPOVCTS();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12548 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12551 wxWindow
*arg2
= (wxWindow
*) 0 ;
12552 int arg3
= (int) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 PyObject
* obj2
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12563 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12565 if (SWIG_arg_fail(2)) SWIG_fail
;
12568 arg3
= (int)(SWIG_As_int(obj2
));
12569 if (SWIG_arg_fail(3)) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12588 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12599 if (SWIG_arg_fail(1)) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (bool)(arg1
)->ReleaseCapture();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12616 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12619 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12621 return Py_BuildValue((char *)"");
12623 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12626 int arg2
= (int) 0 ;
12627 int arg3
= (int) wxJOYSTICK1
;
12628 int arg4
= (int) 0 ;
12629 wxJoystickEvent
*result
;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 PyObject
* obj2
= 0 ;
12633 PyObject
* obj3
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12641 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12642 if (SWIG_arg_fail(1)) SWIG_fail
;
12647 arg2
= (int)(SWIG_As_int(obj1
));
12648 if (SWIG_arg_fail(2)) SWIG_fail
;
12653 arg3
= (int)(SWIG_As_int(obj2
));
12654 if (SWIG_arg_fail(3)) SWIG_fail
;
12659 arg4
= (int)(SWIG_As_int(obj3
));
12660 if (SWIG_arg_fail(4)) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12677 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12688 if (SWIG_arg_fail(1)) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 wxPoint
* resultptr
;
12698 resultptr
= new wxPoint((wxPoint
&)(result
));
12699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12707 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12718 if (SWIG_arg_fail(1)) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_From_int((int)(result
));
12735 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= SWIG_From_int((int)(result
));
12763 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_From_int((int)(result
));
12791 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12802 if (SWIG_arg_fail(1)) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_From_int((int)(result
));
12819 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
;
12821 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 char *kwnames
[] = {
12826 (char *) "self",(char *) "stick", NULL
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12831 if (SWIG_arg_fail(1)) SWIG_fail
;
12833 arg2
= (int)(SWIG_As_int(obj1
));
12834 if (SWIG_arg_fail(2)) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetJoystick(arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 Py_INCREF(Py_None
); resultobj
= Py_None
;
12850 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "state", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
12861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12862 if (SWIG_arg_fail(1)) SWIG_fail
;
12864 arg2
= (int)(SWIG_As_int(obj1
));
12865 if (SWIG_arg_fail(2)) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->SetButtonState(arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 Py_INCREF(Py_None
); resultobj
= Py_None
;
12881 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 PyObject
* obj1
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self",(char *) "change", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
12892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12893 if (SWIG_arg_fail(1)) SWIG_fail
;
12895 arg2
= (int)(SWIG_As_int(obj1
));
12896 if (SWIG_arg_fail(2)) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 (arg1
)->SetButtonChange(arg2
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 Py_INCREF(Py_None
); resultobj
= Py_None
;
12912 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12915 wxPoint
*arg2
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "pos", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 Py_INCREF(Py_None
); resultobj
= Py_None
;
12944 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self",(char *) "zPos", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12956 if (SWIG_arg_fail(1)) SWIG_fail
;
12958 arg2
= (int)(SWIG_As_int(obj1
));
12959 if (SWIG_arg_fail(2)) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 (arg1
)->SetZPosition(arg2
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 Py_INCREF(Py_None
); resultobj
= Py_None
;
12975 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12986 if (SWIG_arg_fail(1)) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13003 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13031 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13042 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13059 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13062 int arg2
= (int) wxJOY_BUTTON_ANY
;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "but", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13072 if (SWIG_arg_fail(1)) SWIG_fail
;
13075 arg2
= (int)(SWIG_As_int(obj1
));
13076 if (SWIG_arg_fail(2)) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13095 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13098 int arg2
= (int) wxJOY_BUTTON_ANY
;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "but", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13108 if (SWIG_arg_fail(1)) SWIG_fail
;
13111 arg2
= (int)(SWIG_As_int(obj1
));
13112 if (SWIG_arg_fail(2)) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13131 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13134 int arg2
= (int) wxJOY_BUTTON_ANY
;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "but", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13144 if (SWIG_arg_fail(1)) SWIG_fail
;
13147 arg2
= (int)(SWIG_As_int(obj1
));
13148 if (SWIG_arg_fail(2)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13167 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13170 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13172 return Py_BuildValue((char *)"");
13174 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13177 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13179 bool temp1
= false ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "fileName", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13188 arg1
= wxString_in_helper(obj0
);
13189 if (arg1
== NULL
) SWIG_fail
;
13194 if (!wxPyCheckForApp()) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13216 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 PyObject
*arg1
= (PyObject
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "data", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13228 if (!wxPyCheckForApp()) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (wxSound
*)new_wxSound(arg1
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13242 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxSound
*arg1
= (wxSound
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13252 if (SWIG_arg_fail(1)) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxSound
*arg1
= (wxSound
*) 0 ;
13270 wxString
*arg2
= 0 ;
13272 bool temp2
= false ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "fileName", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13281 if (SWIG_arg_fail(1)) SWIG_fail
;
13283 arg2
= wxString_in_helper(obj1
);
13284 if (arg2
== NULL
) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxSound
*arg1
= (wxSound
*) 0 ;
13314 PyObject
*arg2
= (PyObject
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "data", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13324 if (SWIG_arg_fail(1)) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13342 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxSound
*arg1
= (wxSound
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13353 if (SWIG_arg_fail(1)) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (bool)(arg1
)->IsOk();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13370 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxSound
*arg1
= (wxSound
*) 0 ;
13373 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13375 PyObject
* obj0
= 0 ;
13376 PyObject
* obj1
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "flags", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13383 if (SWIG_arg_fail(1)) SWIG_fail
;
13386 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13387 if (SWIG_arg_fail(2)) SWIG_fail
;
13391 if (!wxPyCheckForApp()) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13407 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxString
*arg1
= 0 ;
13410 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13412 bool temp1
= false ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "filename",(char *) "flags", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 arg1
= wxString_in_helper(obj0
);
13422 if (arg1
== NULL
) SWIG_fail
;
13427 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13428 if (SWIG_arg_fail(2)) SWIG_fail
;
13432 if (!wxPyCheckForApp()) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13456 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 char *kwnames
[] = {
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13464 if (!wxPyCheckForApp()) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 Py_INCREF(Py_None
); resultobj
= Py_None
;
13478 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13481 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13483 return Py_BuildValue((char *)"");
13485 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxString
*arg1
= 0 ;
13488 wxString
*arg2
= 0 ;
13489 wxString
*arg3
= 0 ;
13490 wxString
*arg4
= 0 ;
13491 wxFileTypeInfo
*result
;
13492 bool temp1
= false ;
13493 bool temp2
= false ;
13494 bool temp3
= false ;
13495 bool temp4
= false ;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 PyObject
* obj2
= 0 ;
13499 PyObject
* obj3
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13506 arg1
= wxString_in_helper(obj0
);
13507 if (arg1
== NULL
) SWIG_fail
;
13511 arg2
= wxString_in_helper(obj1
);
13512 if (arg2
== NULL
) SWIG_fail
;
13516 arg3
= wxString_in_helper(obj2
);
13517 if (arg3
== NULL
) SWIG_fail
;
13521 arg4
= wxString_in_helper(obj3
);
13522 if (arg4
== NULL
) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13571 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxArrayString
*arg1
= 0 ;
13574 wxFileTypeInfo
*result
;
13575 bool temp1
= false ;
13576 PyObject
* obj0
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "sArray", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13583 if (! PySequence_Check(obj0
)) {
13584 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13587 arg1
= new wxArrayString
;
13589 int i
, len
=PySequence_Length(obj0
);
13590 for (i
=0; i
<len
; i
++) {
13591 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13593 PyObject
* str
= PyObject_Unicode(item
);
13595 PyObject
* str
= PyObject_Str(item
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13598 arg1
->Add(Py2wxString(str
));
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13612 if (temp1
) delete arg1
;
13617 if (temp1
) delete arg1
;
13623 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxFileTypeInfo
*result
;
13626 char *kwnames
[] = {
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13645 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13656 if (SWIG_arg_fail(1)) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13673 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13676 wxString
*arg2
= 0 ;
13677 int arg3
= (int) 0 ;
13678 bool temp2
= false ;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 PyObject
* obj2
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13688 if (SWIG_arg_fail(1)) SWIG_fail
;
13690 arg2
= wxString_in_helper(obj1
);
13691 if (arg2
== NULL
) SWIG_fail
;
13696 arg3
= (int)(SWIG_As_int(obj2
));
13697 if (SWIG_arg_fail(3)) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13722 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13725 wxString
*arg2
= 0 ;
13726 bool temp2
= false ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "shortDesc", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13735 if (SWIG_arg_fail(1)) SWIG_fail
;
13737 arg2
= wxString_in_helper(obj1
);
13738 if (arg2
== NULL
) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13779 result
= (wxString
*) &_result_ref
;
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13789 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13798 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13809 if (SWIG_arg_fail(1)) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13814 result
= (wxString
*) &_result_ref
;
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13824 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13833 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
13843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13844 if (SWIG_arg_fail(1)) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
13849 result
= (wxString
*) &_result_ref
;
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13868 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 char *kwnames
[] = {
13874 (char *) "self", NULL
13877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
13878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13879 if (SWIG_arg_fail(1)) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
13884 result
= (wxString
*) &_result_ref
;
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13903 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
13913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13914 if (SWIG_arg_fail(1)) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
13919 result
= (wxString
*) &_result_ref
;
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13929 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13938 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13941 wxArrayString
*result
;
13942 PyObject
* obj0
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
13948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13949 if (SWIG_arg_fail(1)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
13954 result
= (wxArrayString
*) &_result_ref
;
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= wxArrayString2PyList_helper(*result
);
13969 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
13979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13980 if (SWIG_arg_fail(1)) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int((int)(result
));
13997 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14001 PyObject
* obj0
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14008 if (SWIG_arg_fail(1)) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14013 result
= (wxString
*) &_result_ref
;
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14032 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14036 PyObject
* obj0
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14043 if (SWIG_arg_fail(1)) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int((int)(result
));
14060 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14063 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14065 return Py_BuildValue((char *)"");
14067 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxFileTypeInfo
*arg1
= 0 ;
14070 wxFileType
*result
;
14071 PyObject
* obj0
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "ftInfo", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14080 if (arg1
== NULL
) {
14081 SWIG_null_ref("wxFileTypeInfo");
14083 if (SWIG_arg_fail(1)) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14099 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxFileType
*arg1
= (wxFileType
*) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 Py_INCREF(Py_None
); resultobj
= Py_None
;
14124 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxFileType
*arg1
= (wxFileType
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= result
;
14150 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxFileType
*arg1
= (wxFileType
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= result
;
14176 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxFileType
*arg1
= (wxFileType
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= result
;
14202 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxFileType
*arg1
= (wxFileType
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14228 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxFileType
*arg1
= (wxFileType
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14239 if (SWIG_arg_fail(1)) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= result
;
14254 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxFileType
*arg1
= (wxFileType
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14265 if (SWIG_arg_fail(1)) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= result
;
14280 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxFileType
*arg1
= (wxFileType
*) 0 ;
14283 wxString
*arg2
= 0 ;
14284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14287 bool temp2
= false ;
14288 bool temp3
= false ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 arg2
= wxString_in_helper(obj1
);
14301 if (arg2
== NULL
) SWIG_fail
;
14306 arg3
= wxString_in_helper(obj2
);
14307 if (arg3
== NULL
) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= result
;
14341 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxFileType
*arg1
= (wxFileType
*) 0 ;
14344 wxString
*arg2
= 0 ;
14345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14348 bool temp2
= false ;
14349 bool temp3
= false ;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 PyObject
* obj2
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail
;
14361 arg2
= wxString_in_helper(obj1
);
14362 if (arg2
== NULL
) SWIG_fail
;
14367 arg3
= wxString_in_helper(obj2
);
14368 if (arg3
== NULL
) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
;
14402 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxFileType
*arg1
= (wxFileType
*) 0 ;
14405 wxString
*arg2
= 0 ;
14406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14409 bool temp2
= false ;
14410 bool temp3
= false ;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 PyObject
* obj2
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail
;
14422 arg2
= wxString_in_helper(obj1
);
14423 if (arg2
== NULL
) SWIG_fail
;
14428 arg3
= wxString_in_helper(obj2
);
14429 if (arg3
== NULL
) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= result
;
14463 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxFileType
*arg1
= (wxFileType
*) 0 ;
14466 wxString
*arg2
= 0 ;
14467 wxString
*arg3
= 0 ;
14468 bool arg4
= (bool) true ;
14470 bool temp2
= false ;
14471 bool temp3
= false ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 PyObject
* obj2
= 0 ;
14475 PyObject
* obj3
= 0 ;
14476 char *kwnames
[] = {
14477 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14482 if (SWIG_arg_fail(1)) SWIG_fail
;
14484 arg2
= wxString_in_helper(obj1
);
14485 if (arg2
== NULL
) SWIG_fail
;
14489 arg3
= wxString_in_helper(obj2
);
14490 if (arg3
== NULL
) SWIG_fail
;
14495 arg4
= (bool)(SWIG_As_bool(obj3
));
14496 if (SWIG_arg_fail(4)) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxFileType
*arg1
= (wxFileType
*) 0 ;
14534 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14535 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14536 int arg3
= (int) 0 ;
14538 bool temp2
= false ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self",(char *) "cmd",(char *) "index", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14548 if (SWIG_arg_fail(1)) SWIG_fail
;
14551 arg2
= wxString_in_helper(obj1
);
14552 if (arg2
== NULL
) SWIG_fail
;
14558 arg3
= (int)(SWIG_As_int(obj2
));
14559 if (SWIG_arg_fail(3)) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14586 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxFileType
*arg1
= (wxFileType
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14597 if (SWIG_arg_fail(1)) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (bool)(arg1
)->Unassociate();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxString
*arg1
= 0 ;
14617 wxString
*arg2
= 0 ;
14618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14621 bool temp1
= false ;
14622 bool temp2
= false ;
14623 bool temp3
= false ;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 PyObject
* obj2
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14633 arg1
= wxString_in_helper(obj0
);
14634 if (arg1
== NULL
) SWIG_fail
;
14638 arg2
= wxString_in_helper(obj1
);
14639 if (arg2
== NULL
) SWIG_fail
;
14644 arg3
= wxString_in_helper(obj2
);
14645 if (arg3
== NULL
) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14693 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14696 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14698 return Py_BuildValue((char *)"");
14700 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14701 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14706 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14709 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14714 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxString
*arg1
= 0 ;
14717 wxString
*arg2
= 0 ;
14719 bool temp1
= false ;
14720 bool temp2
= false ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "mimeType",(char *) "wildcard", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14729 arg1
= wxString_in_helper(obj0
);
14730 if (arg1
== NULL
) SWIG_fail
;
14734 arg2
= wxString_in_helper(obj1
);
14735 if (arg2
== NULL
) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14770 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMimeTypesManager
*result
;
14773 char *kwnames
[] = {
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14792 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14795 int arg2
= (int) wxMAILCAP_ALL
;
14796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14798 bool temp3
= false ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14808 if (SWIG_arg_fail(1)) SWIG_fail
;
14811 arg2
= (int)(SWIG_As_int(obj1
));
14812 if (SWIG_arg_fail(2)) SWIG_fail
;
14817 arg3
= wxString_in_helper(obj2
);
14818 if (arg3
== NULL
) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
14853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14854 if (SWIG_arg_fail(1)) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->ClearData();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 Py_INCREF(Py_None
); resultobj
= Py_None
;
14869 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14872 wxString
*arg2
= 0 ;
14873 wxFileType
*result
;
14874 bool temp2
= false ;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self",(char *) "ext", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
14882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14883 if (SWIG_arg_fail(1)) SWIG_fail
;
14885 arg2
= wxString_in_helper(obj1
);
14886 if (arg2
== NULL
) SWIG_fail
;
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14911 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14914 wxString
*arg2
= 0 ;
14915 wxFileType
*result
;
14916 bool temp2
= false ;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self",(char *) "mimeType", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
14924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14925 if (SWIG_arg_fail(1)) SWIG_fail
;
14927 arg2
= wxString_in_helper(obj1
);
14928 if (arg2
== NULL
) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14953 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14956 wxString
*arg2
= 0 ;
14957 bool arg3
= (bool) false ;
14959 bool temp2
= false ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "filename",(char *) "fallback", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail
;
14971 arg2
= wxString_in_helper(obj1
);
14972 if (arg2
== NULL
) SWIG_fail
;
14977 arg3
= (bool)(SWIG_As_bool(obj2
));
14978 if (SWIG_arg_fail(3)) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15008 wxString
*arg2
= 0 ;
15010 bool temp2
= false ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "filename", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail
;
15021 arg2
= wxString_in_helper(obj1
);
15022 if (arg2
== NULL
) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15049 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15060 if (SWIG_arg_fail(1)) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= result
;
15075 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15078 wxFileTypeInfo
*arg2
= 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "ft", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15087 if (SWIG_arg_fail(1)) SWIG_fail
;
15089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15090 if (SWIG_arg_fail(2)) SWIG_fail
;
15091 if (arg2
== NULL
) {
15092 SWIG_null_ref("wxFileTypeInfo");
15094 if (SWIG_arg_fail(2)) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 Py_INCREF(Py_None
); resultobj
= Py_None
;
15110 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15113 wxFileTypeInfo
*arg2
= 0 ;
15114 wxFileType
*result
;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "ftInfo", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15126 if (SWIG_arg_fail(2)) SWIG_fail
;
15127 if (arg2
== NULL
) {
15128 SWIG_null_ref("wxFileTypeInfo");
15130 if (SWIG_arg_fail(2)) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15146 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15149 wxFileType
*arg2
= (wxFileType
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "ft", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15161 if (SWIG_arg_fail(2)) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (bool)(arg1
)->Unassociate(arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 Py_INCREF(Py_None
); resultobj
= Py_None
;
15203 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15206 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15208 return Py_BuildValue((char *)"");
15210 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15211 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15216 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15221 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15223 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15230 static int _wrap_ART_MENU_set(PyObject
*) {
15231 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15236 static PyObject
*_wrap_ART_MENU_get(void) {
15241 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15243 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15250 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15251 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15256 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15261 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15263 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15270 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15271 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15276 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15281 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15283 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15290 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15291 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15296 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15301 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15303 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15310 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15311 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15316 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15321 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15323 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15330 static int _wrap_ART_BUTTON_set(PyObject
*) {
15331 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15336 static PyObject
*_wrap_ART_BUTTON_get(void) {
15341 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15343 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15350 static int _wrap_ART_OTHER_set(PyObject
*) {
15351 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15356 static PyObject
*_wrap_ART_OTHER_get(void) {
15361 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15363 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15370 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15371 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15376 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15381 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15383 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15390 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15391 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15396 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15401 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15403 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15410 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15411 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15416 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15421 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15423 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15430 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15431 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15436 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15441 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15443 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15450 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15451 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15456 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15461 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15463 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15470 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15471 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15476 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15481 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15483 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15490 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15491 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15496 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15501 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15503 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15510 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15511 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15516 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15521 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15523 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15530 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15531 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15536 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15541 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15543 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15550 static int _wrap_ART_GO_UP_set(PyObject
*) {
15551 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15556 static PyObject
*_wrap_ART_GO_UP_get(void) {
15561 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15563 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15570 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15571 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15576 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15581 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15583 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15590 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15591 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15596 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15601 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15603 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15610 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15611 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15616 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15621 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15623 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15630 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15631 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15636 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15641 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15643 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15650 static int _wrap_ART_PRINT_set(PyObject
*) {
15651 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15656 static PyObject
*_wrap_ART_PRINT_get(void) {
15661 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15663 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15670 static int _wrap_ART_HELP_set(PyObject
*) {
15671 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15676 static PyObject
*_wrap_ART_HELP_get(void) {
15681 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15683 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15690 static int _wrap_ART_TIP_set(PyObject
*) {
15691 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15696 static PyObject
*_wrap_ART_TIP_get(void) {
15701 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15703 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15710 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15711 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15716 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15721 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15723 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15730 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15731 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15736 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15741 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15743 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15750 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15751 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15756 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15761 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15763 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15770 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15771 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15776 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15781 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15783 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15790 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15791 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15796 static PyObject
*_wrap_ART_FLOPPY_get(void) {
15801 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15803 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15810 static int _wrap_ART_CDROM_set(PyObject
*) {
15811 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
15816 static PyObject
*_wrap_ART_CDROM_get(void) {
15821 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15823 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15830 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
15831 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
15836 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
15841 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15843 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15850 static int _wrap_ART_FOLDER_set(PyObject
*) {
15851 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
15856 static PyObject
*_wrap_ART_FOLDER_get(void) {
15861 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15863 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15870 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
15871 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
15876 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
15881 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15883 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15890 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
15891 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
15896 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
15901 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15903 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15910 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
15911 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
15916 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
15921 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15923 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15930 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
15931 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
15936 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
15941 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
15943 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
15950 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
15951 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
15956 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
15961 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
15963 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
15970 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
15971 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
15976 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
15981 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
15983 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
15990 static int _wrap_ART_ERROR_set(PyObject
*) {
15991 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
15996 static PyObject
*_wrap_ART_ERROR_get(void) {
16001 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16003 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16010 static int _wrap_ART_QUESTION_set(PyObject
*) {
16011 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16016 static PyObject
*_wrap_ART_QUESTION_get(void) {
16021 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16023 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16030 static int _wrap_ART_WARNING_set(PyObject
*) {
16031 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16036 static PyObject
*_wrap_ART_WARNING_get(void) {
16041 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16043 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16050 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16051 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16056 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16061 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16063 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16070 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16071 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16076 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16081 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16083 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16090 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxPyArtProvider
*result
;
16093 char *kwnames
[] = {
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16099 if (!wxPyCheckForApp()) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16113 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16116 PyObject
*arg2
= (PyObject
*) 0 ;
16117 PyObject
*arg3
= (PyObject
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 PyObject
* obj2
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self",(char *) "self",(char *) "_class", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16127 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 Py_INCREF(Py_None
); resultobj
= Py_None
;
16144 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "provider", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16154 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 wxPyArtProvider::PushProvider(arg1
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16172 char *kwnames
[] = {
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (bool)wxPyArtProvider::PopProvider();
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16193 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "provider", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16221 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxString
*arg1
= 0 ;
16224 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16225 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16226 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16227 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16229 bool temp1
= false ;
16230 bool temp2
= false ;
16232 PyObject
* obj0
= 0 ;
16233 PyObject
* obj1
= 0 ;
16234 PyObject
* obj2
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "id",(char *) "client",(char *) "size", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16241 arg1
= wxString_in_helper(obj0
);
16242 if (arg1
== NULL
) SWIG_fail
;
16247 arg2
= wxString_in_helper(obj1
);
16248 if (arg2
== NULL
) SWIG_fail
;
16255 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16259 if (!wxPyCheckForApp()) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 wxBitmap
* resultptr
;
16268 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16293 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxString
*arg1
= 0 ;
16296 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16297 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16298 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16299 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16301 bool temp1
= false ;
16302 bool temp2
= false ;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 PyObject
* obj2
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "id",(char *) "client",(char *) "size", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16313 arg1
= wxString_in_helper(obj0
);
16314 if (arg1
== NULL
) SWIG_fail
;
16319 arg2
= wxString_in_helper(obj1
);
16320 if (arg2
== NULL
) SWIG_fail
;
16327 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16331 if (!wxPyCheckForApp()) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 wxIcon
* resultptr
;
16340 resultptr
= new wxIcon((wxIcon
&)(result
));
16341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16365 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 wxPyArtProvider_Destroy(arg1
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16395 return Py_BuildValue((char *)"");
16397 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16407 if (SWIG_arg_fail(1)) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 Py_INCREF(Py_None
); resultobj
= Py_None
;
16422 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16425 wxConfigBase
*result
;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "config", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16433 if (SWIG_arg_fail(1)) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16448 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 bool arg1
= (bool) true ;
16451 wxConfigBase
*result
;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "createOnDemand", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16460 arg1
= (bool)(SWIG_As_bool(obj0
));
16461 if (SWIG_arg_fail(1)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16478 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxConfigBase
*result
;
16481 char *kwnames
[] = {
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (wxConfigBase
*)wxConfigBase::Create();
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16500 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 char *kwnames
[] = {
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 wxConfigBase::DontCreateOnDemand();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16524 wxString
*arg2
= 0 ;
16525 bool temp2
= false ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "path", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16534 if (SWIG_arg_fail(1)) SWIG_fail
;
16536 arg2
= wxString_in_helper(obj1
);
16537 if (arg2
== NULL
) SWIG_fail
;
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 (arg1
)->SetPath((wxString
const &)*arg2
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16573 if (SWIG_arg_fail(1)) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16578 result
= (wxString
*) &_result_ref
;
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16588 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16597 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16608 if (SWIG_arg_fail(1)) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= result
;
16623 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "index", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16636 if (SWIG_arg_fail(1)) SWIG_fail
;
16638 arg2
= (long)(SWIG_As_long(obj1
));
16639 if (SWIG_arg_fail(2)) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= result
;
16655 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16659 PyObject
* obj0
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
16665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16666 if (SWIG_arg_fail(1)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= result
;
16681 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self",(char *) "index", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail
;
16696 arg2
= (long)(SWIG_As_long(obj1
));
16697 if (SWIG_arg_fail(2)) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= result
;
16713 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16716 bool arg2
= (bool) false ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "recursive", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail
;
16729 arg2
= (bool)(SWIG_As_bool(obj1
));
16730 if (SWIG_arg_fail(2)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16749 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16752 bool arg2
= (bool) false ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "recursive", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 arg2
= (bool)(SWIG_As_bool(obj1
));
16766 if (SWIG_arg_fail(2)) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16785 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16788 wxString
*arg2
= 0 ;
16790 bool temp2
= false ;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self",(char *) "name", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16799 if (SWIG_arg_fail(1)) SWIG_fail
;
16801 arg2
= wxString_in_helper(obj1
);
16802 if (arg2
== NULL
) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16832 wxString
*arg2
= 0 ;
16834 bool temp2
= false ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self",(char *) "name", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16843 if (SWIG_arg_fail(1)) SWIG_fail
;
16845 arg2
= wxString_in_helper(obj1
);
16846 if (arg2
== NULL
) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16876 wxString
*arg2
= 0 ;
16878 bool temp2
= false ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "name", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail
;
16889 arg2
= wxString_in_helper(obj1
);
16890 if (arg2
== NULL
) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16917 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16920 wxString
*arg2
= 0 ;
16921 wxConfigBase::EntryType result
;
16922 bool temp2
= false ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "name", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16931 if (SWIG_arg_fail(1)) SWIG_fail
;
16933 arg2
= wxString_in_helper(obj1
);
16934 if (arg2
== NULL
) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= SWIG_From_int((result
));
16959 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16962 wxString
*arg2
= 0 ;
16963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16966 bool temp2
= false ;
16967 bool temp3
= false ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 PyObject
* obj2
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16977 if (SWIG_arg_fail(1)) SWIG_fail
;
16979 arg2
= wxString_in_helper(obj1
);
16980 if (arg2
== NULL
) SWIG_fail
;
16985 arg3
= wxString_in_helper(obj2
);
16986 if (arg3
== NULL
) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17026 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17029 wxString
*arg2
= 0 ;
17030 long arg3
= (long) 0 ;
17032 bool temp2
= false ;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 PyObject
* obj2
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 arg2
= wxString_in_helper(obj1
);
17045 if (arg2
== NULL
) SWIG_fail
;
17050 arg3
= (long)(SWIG_As_long(obj2
));
17051 if (SWIG_arg_fail(3)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= SWIG_From_long((long)(result
));
17078 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17081 wxString
*arg2
= 0 ;
17082 double arg3
= (double) 0.0 ;
17084 bool temp2
= false ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 PyObject
* obj2
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail
;
17096 arg2
= wxString_in_helper(obj1
);
17097 if (arg2
== NULL
) SWIG_fail
;
17102 arg3
= (double)(SWIG_As_double(obj2
));
17103 if (SWIG_arg_fail(3)) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_From_double((double)(result
));
17130 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17133 wxString
*arg2
= 0 ;
17134 bool arg3
= (bool) false ;
17136 bool temp2
= false ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 arg2
= wxString_in_helper(obj1
);
17149 if (arg2
== NULL
) SWIG_fail
;
17154 arg3
= (bool)(SWIG_As_bool(obj2
));
17155 if (SWIG_arg_fail(3)) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17185 wxString
*arg2
= 0 ;
17186 wxString
*arg3
= 0 ;
17188 bool temp2
= false ;
17189 bool temp3
= false ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 PyObject
* obj2
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "key",(char *) "value", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17199 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 arg2
= wxString_in_helper(obj1
);
17202 if (arg2
== NULL
) SWIG_fail
;
17206 arg3
= wxString_in_helper(obj2
);
17207 if (arg3
== NULL
) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17245 wxString
*arg2
= 0 ;
17248 bool temp2
= false ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 PyObject
* obj2
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self",(char *) "key",(char *) "value", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17260 arg2
= wxString_in_helper(obj1
);
17261 if (arg2
== NULL
) SWIG_fail
;
17265 arg3
= (long)(SWIG_As_long(obj2
));
17266 if (SWIG_arg_fail(3)) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17292 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17295 wxString
*arg2
= 0 ;
17298 bool temp2
= false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 PyObject
* obj2
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self",(char *) "key",(char *) "value", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (double)(SWIG_As_double(obj2
));
17316 if (SWIG_arg_fail(3)) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17345 wxString
*arg2
= 0 ;
17348 bool temp2
= false ;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 PyObject
* obj2
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "key",(char *) "value", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail
;
17360 arg2
= wxString_in_helper(obj1
);
17361 if (arg2
== NULL
) SWIG_fail
;
17365 arg3
= (bool)(SWIG_As_bool(obj2
));
17366 if (SWIG_arg_fail(3)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17392 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17395 bool arg2
= (bool) false ;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self",(char *) "currentOnly", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17405 if (SWIG_arg_fail(1)) SWIG_fail
;
17408 arg2
= (bool)(SWIG_As_bool(obj1
));
17409 if (SWIG_arg_fail(2)) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (bool)(arg1
)->Flush(arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17428 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17431 wxString
*arg2
= 0 ;
17432 wxString
*arg3
= 0 ;
17434 bool temp2
= false ;
17435 bool temp3
= false ;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 PyObject
* obj2
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17447 arg2
= wxString_in_helper(obj1
);
17448 if (arg2
== NULL
) SWIG_fail
;
17452 arg3
= wxString_in_helper(obj2
);
17453 if (arg3
== NULL
) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17488 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
;
17490 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17491 wxString
*arg2
= 0 ;
17492 wxString
*arg3
= 0 ;
17494 bool temp2
= false ;
17495 bool temp3
= false ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 PyObject
* obj2
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail
;
17507 arg2
= wxString_in_helper(obj1
);
17508 if (arg2
== NULL
) SWIG_fail
;
17512 arg3
= wxString_in_helper(obj2
);
17513 if (arg3
== NULL
) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17548 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17551 wxString
*arg2
= 0 ;
17552 bool arg3
= (bool) true ;
17554 bool temp2
= false ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17564 if (SWIG_arg_fail(1)) SWIG_fail
;
17566 arg2
= wxString_in_helper(obj1
);
17567 if (arg2
== NULL
) SWIG_fail
;
17572 arg3
= (bool)(SWIG_As_bool(obj2
));
17573 if (SWIG_arg_fail(3)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17600 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17603 wxString
*arg2
= 0 ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self",(char *) "key", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17614 if (SWIG_arg_fail(1)) SWIG_fail
;
17616 arg2
= wxString_in_helper(obj1
);
17617 if (arg2
== NULL
) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17644 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)(arg1
)->DeleteAll();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17672 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17675 bool arg2
= (bool) true ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "doIt", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17684 if (SWIG_arg_fail(1)) SWIG_fail
;
17687 arg2
= (bool)(SWIG_As_bool(obj1
));
17688 if (SWIG_arg_fail(2)) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 (arg1
)->SetExpandEnvVars(arg2
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 Py_INCREF(Py_None
); resultobj
= Py_None
;
17705 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
17715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17733 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17736 bool arg2
= (bool) true ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "doIt", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17745 if (SWIG_arg_fail(1)) SWIG_fail
;
17748 arg2
= (bool)(SWIG_As_bool(obj1
));
17749 if (SWIG_arg_fail(2)) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 (arg1
)->SetRecordDefaults(arg2
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 Py_INCREF(Py_None
); resultobj
= Py_None
;
17766 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
17776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17777 if (SWIG_arg_fail(1)) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17794 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17797 wxString
*arg2
= 0 ;
17799 bool temp2
= false ;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self",(char *) "str", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 arg2
= wxString_in_helper(obj1
);
17811 if (arg2
== NULL
) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17842 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17874 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17878 PyObject
* obj0
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
17884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17906 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17909 wxString
*arg2
= 0 ;
17910 bool temp2
= false ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "appName", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17921 arg2
= wxString_in_helper(obj1
);
17922 if (arg2
== NULL
) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->SetAppName((wxString
const &)*arg2
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17950 wxString
*arg2
= 0 ;
17951 bool temp2
= false ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "vendorName", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17960 if (SWIG_arg_fail(1)) SWIG_fail
;
17962 arg2
= wxString_in_helper(obj1
);
17963 if (arg2
== NULL
) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17988 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "style", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
17999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18000 if (SWIG_arg_fail(1)) SWIG_fail
;
18002 arg2
= (long)(SWIG_As_long(obj1
));
18003 if (SWIG_arg_fail(2)) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 (arg1
)->SetStyle(arg2
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 Py_INCREF(Py_None
); resultobj
= Py_None
;
18019 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= SWIG_From_long((long)(result
));
18047 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18050 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18052 return Py_BuildValue((char *)"");
18054 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18057 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18058 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18059 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18062 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18063 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18064 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18066 bool temp1
= false ;
18067 bool temp2
= false ;
18068 bool temp3
= false ;
18069 bool temp4
= false ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 PyObject
* obj2
= 0 ;
18073 PyObject
* obj3
= 0 ;
18074 PyObject
* obj4
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18082 arg1
= wxString_in_helper(obj0
);
18083 if (arg1
== NULL
) SWIG_fail
;
18089 arg2
= wxString_in_helper(obj1
);
18090 if (arg2
== NULL
) SWIG_fail
;
18096 arg3
= wxString_in_helper(obj2
);
18097 if (arg3
== NULL
) SWIG_fail
;
18103 arg4
= wxString_in_helper(obj3
);
18104 if (arg4
== NULL
) SWIG_fail
;
18110 arg5
= (long)(SWIG_As_long(obj4
));
18111 if (SWIG_arg_fail(5)) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18160 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxConfig
*arg1
= (wxConfig
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18188 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18190 return Py_BuildValue((char *)"");
18192 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18195 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18196 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18197 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18202 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18203 wxFileConfig
*result
;
18204 bool temp1
= false ;
18205 bool temp2
= false ;
18206 bool temp3
= false ;
18207 bool temp4
= false ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 PyObject
* obj3
= 0 ;
18212 PyObject
* obj4
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18220 arg1
= wxString_in_helper(obj0
);
18221 if (arg1
== NULL
) SWIG_fail
;
18227 arg2
= wxString_in_helper(obj1
);
18228 if (arg2
== NULL
) SWIG_fail
;
18234 arg3
= wxString_in_helper(obj2
);
18235 if (arg3
== NULL
) SWIG_fail
;
18241 arg4
= wxString_in_helper(obj3
);
18242 if (arg4
== NULL
) SWIG_fail
;
18248 arg5
= (long)(SWIG_As_long(obj4
));
18249 if (SWIG_arg_fail(5)) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18298 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 Py_INCREF(Py_None
); resultobj
= Py_None
;
18323 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18326 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18328 return Py_BuildValue((char *)"");
18330 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18333 wxString
*arg2
= 0 ;
18334 wxConfigPathChanger
*result
;
18335 bool temp2
= false ;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "config",(char *) "entry", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail
;
18346 arg2
= wxString_in_helper(obj1
);
18347 if (arg2
== NULL
) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18372 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18413 result
= (wxString
*) &_result_ref
;
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18423 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18432 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18435 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18437 return Py_BuildValue((char *)"");
18439 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxString
*arg1
= 0 ;
18443 bool temp1
= false ;
18444 PyObject
* obj0
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "sz", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18451 arg1
= wxString_in_helper(obj0
);
18452 if (arg1
== NULL
) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18483 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18484 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18489 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18494 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18496 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18503 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18504 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18509 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18514 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18516 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18523 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxDateTime::Country arg1
;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "country", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18533 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18534 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxDateTime::Country result
;
18553 char *kwnames
[] = {
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_From_int((result
));
18572 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "country", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18584 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18585 if (SWIG_arg_fail(1)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18604 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "cal", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18616 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18617 if (SWIG_arg_fail(1)) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_From_int((int)(result
));
18636 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "year", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
18647 arg1
= (int)(SWIG_As_int(obj0
));
18648 if (SWIG_arg_fail(1)) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_From_int((int)(result
));
18666 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18669 wxDateTime::Month result
;
18670 PyObject
* obj0
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "cal", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
18678 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18679 if (SWIG_arg_fail(1)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_From_int((result
));
18696 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 int arg1
= (int) wxDateTime::Inv_Year
;
18699 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "year",(char *) "cal", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 arg1
= (int)(SWIG_As_int(obj0
));
18711 if (SWIG_arg_fail(1)) SWIG_fail
;
18716 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18717 if (SWIG_arg_fail(2)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18736 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 int arg1
= (int) wxDateTime::Inv_Year
;
18740 PyObject
* obj0
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "year", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
18748 arg1
= (int)(SWIG_As_int(obj0
));
18749 if (SWIG_arg_fail(1)) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (int)wxDateTime::GetCentury(arg1
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_From_int((int)(result
));
18768 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18771 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "year",(char *) "cal", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18781 arg1
= (int)(SWIG_As_int(obj0
));
18782 if (SWIG_arg_fail(1)) SWIG_fail
;
18786 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18787 if (SWIG_arg_fail(2)) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_From_int((int)(result
));
18806 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxDateTime::Month arg1
;
18809 int arg2
= (int) wxDateTime::Inv_Year
;
18810 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 PyObject
* obj2
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "month",(char *) "year",(char *) "cal", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18821 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
18822 if (SWIG_arg_fail(1)) SWIG_fail
;
18826 arg2
= (int)(SWIG_As_int(obj1
));
18827 if (SWIG_arg_fail(2)) SWIG_fail
;
18832 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
18833 if (SWIG_arg_fail(3)) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_From_int((int)(result
));
18852 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxDateTime::Month arg1
;
18855 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "month",(char *) "flags", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
18865 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
18866 if (SWIG_arg_fail(1)) SWIG_fail
;
18870 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
18871 if (SWIG_arg_fail(2)) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18894 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxDateTime::WeekDay arg1
;
18897 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "weekday",(char *) "flags", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
18908 if (SWIG_arg_fail(1)) SWIG_fail
;
18912 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
18913 if (SWIG_arg_fail(2)) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18936 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxString
*arg1
= (wxString
*) 0 ;
18939 wxString
*arg2
= (wxString
*) 0 ;
18940 bool temp1
= false ;
18941 bool temp2
= false ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "OUTPUT",(char *) "OUTPUT", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
18950 arg1
= wxString_in_helper(obj0
);
18951 if (arg1
== NULL
) SWIG_fail
;
18955 arg2
= wxString_in_helper(obj1
);
18956 if (arg2
== NULL
) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 wxDateTime::GetAmPmStrings(arg1
,arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 int arg1
= (int) wxDateTime::Inv_Year
;
18992 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "year",(char *) "country", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19003 arg1
= (int)(SWIG_As_int(obj0
));
19004 if (SWIG_arg_fail(1)) SWIG_fail
;
19009 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19010 if (SWIG_arg_fail(2)) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19029 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 int arg1
= (int) wxDateTime::Inv_Year
;
19032 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "year",(char *) "country", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19043 arg1
= (int)(SWIG_As_int(obj0
));
19044 if (SWIG_arg_fail(1)) SWIG_fail
;
19049 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19050 if (SWIG_arg_fail(2)) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19061 wxDateTime
* resultptr
;
19062 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19071 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 int arg1
= (int) wxDateTime::Inv_Year
;
19074 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "year",(char *) "country", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19085 arg1
= (int)(SWIG_As_int(obj0
));
19086 if (SWIG_arg_fail(1)) SWIG_fail
;
19091 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19092 if (SWIG_arg_fail(2)) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19103 wxDateTime
* resultptr
;
19104 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19113 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19116 char *kwnames
[] = {
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= wxDateTime::Now();
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19129 wxDateTime
* resultptr
;
19130 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19139 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19142 char *kwnames
[] = {
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= wxDateTime::UNow();
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 wxDateTime
* resultptr
;
19156 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19165 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19168 char *kwnames
[] = {
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= wxDateTime::Today();
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19181 wxDateTime
* resultptr
;
19182 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19191 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxDateTime
*result
;
19194 char *kwnames
[] = {
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 result
= (wxDateTime
*)new wxDateTime();
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19213 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19216 wxDateTime
*result
;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "timet", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19224 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19225 if (SWIG_arg_fail(1)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (wxDateTime
*)new wxDateTime(arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19241 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19244 wxDateTime
*result
;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "jdn", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19252 arg1
= (double)(SWIG_As_double(obj0
));
19253 if (SWIG_arg_fail(1)) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (wxDateTime
*)new wxDateTime(arg1
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19269 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19272 int arg2
= (int) 0 ;
19273 int arg3
= (int) 0 ;
19274 int arg4
= (int) 0 ;
19275 wxDateTime
*result
;
19276 PyObject
* obj0
= 0 ;
19277 PyObject
* obj1
= 0 ;
19278 PyObject
* obj2
= 0 ;
19279 PyObject
* obj3
= 0 ;
19280 char *kwnames
[] = {
19281 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19286 arg1
= (int)(SWIG_As_int(obj0
));
19287 if (SWIG_arg_fail(1)) SWIG_fail
;
19291 arg2
= (int)(SWIG_As_int(obj1
));
19292 if (SWIG_arg_fail(2)) SWIG_fail
;
19297 arg3
= (int)(SWIG_As_int(obj2
));
19298 if (SWIG_arg_fail(3)) SWIG_fail
;
19303 arg4
= (int)(SWIG_As_int(obj3
));
19304 if (SWIG_arg_fail(4)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19321 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19324 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19325 int arg3
= (int) wxDateTime::Inv_Year
;
19326 int arg4
= (int) 0 ;
19327 int arg5
= (int) 0 ;
19328 int arg6
= (int) 0 ;
19329 int arg7
= (int) 0 ;
19330 wxDateTime
*result
;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 PyObject
* obj2
= 0 ;
19334 PyObject
* obj3
= 0 ;
19335 PyObject
* obj4
= 0 ;
19336 PyObject
* obj5
= 0 ;
19337 PyObject
* obj6
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19344 arg1
= (int)(SWIG_As_int(obj0
));
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19349 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19350 if (SWIG_arg_fail(2)) SWIG_fail
;
19355 arg3
= (int)(SWIG_As_int(obj2
));
19356 if (SWIG_arg_fail(3)) SWIG_fail
;
19361 arg4
= (int)(SWIG_As_int(obj3
));
19362 if (SWIG_arg_fail(4)) SWIG_fail
;
19367 arg5
= (int)(SWIG_As_int(obj4
));
19368 if (SWIG_arg_fail(5)) SWIG_fail
;
19373 arg6
= (int)(SWIG_As_int(obj5
));
19374 if (SWIG_arg_fail(6)) SWIG_fail
;
19379 arg7
= (int)(SWIG_As_int(obj6
));
19380 if (SWIG_arg_fail(7)) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19397 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 Py_INCREF(Py_None
); resultobj
= Py_None
;
19422 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19425 wxDateTime
*result
;
19426 PyObject
* obj0
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19433 if (SWIG_arg_fail(1)) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19438 result
= (wxDateTime
*) &_result_ref
;
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19451 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19455 wxDateTime
*result
;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "timet", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19467 if (SWIG_arg_fail(2)) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19473 result
= (wxDateTime
*) &_result_ref
;
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19486 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19490 wxDateTime
*result
;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self",(char *) "jdn", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail
;
19501 arg2
= (double)(SWIG_As_double(obj1
));
19502 if (SWIG_arg_fail(2)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19508 result
= (wxDateTime
*) &_result_ref
;
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19521 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19525 int arg3
= (int) 0 ;
19526 int arg4
= (int) 0 ;
19527 int arg5
= (int) 0 ;
19528 wxDateTime
*result
;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 PyObject
* obj2
= 0 ;
19532 PyObject
* obj3
= 0 ;
19533 PyObject
* obj4
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 arg2
= (int)(SWIG_As_int(obj1
));
19543 if (SWIG_arg_fail(2)) SWIG_fail
;
19547 arg3
= (int)(SWIG_As_int(obj2
));
19548 if (SWIG_arg_fail(3)) SWIG_fail
;
19553 arg4
= (int)(SWIG_As_int(obj3
));
19554 if (SWIG_arg_fail(4)) SWIG_fail
;
19559 arg5
= (int)(SWIG_As_int(obj4
));
19560 if (SWIG_arg_fail(5)) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19567 result
= (wxDateTime
*) &_result_ref
;
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19580 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19584 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19585 int arg4
= (int) wxDateTime::Inv_Year
;
19586 int arg5
= (int) 0 ;
19587 int arg6
= (int) 0 ;
19588 int arg7
= (int) 0 ;
19589 int arg8
= (int) 0 ;
19590 wxDateTime
*result
;
19591 PyObject
* obj0
= 0 ;
19592 PyObject
* obj1
= 0 ;
19593 PyObject
* obj2
= 0 ;
19594 PyObject
* obj3
= 0 ;
19595 PyObject
* obj4
= 0 ;
19596 PyObject
* obj5
= 0 ;
19597 PyObject
* obj6
= 0 ;
19598 PyObject
* obj7
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19605 if (SWIG_arg_fail(1)) SWIG_fail
;
19607 arg2
= (int)(SWIG_As_int(obj1
));
19608 if (SWIG_arg_fail(2)) SWIG_fail
;
19612 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19613 if (SWIG_arg_fail(3)) SWIG_fail
;
19618 arg4
= (int)(SWIG_As_int(obj3
));
19619 if (SWIG_arg_fail(4)) SWIG_fail
;
19624 arg5
= (int)(SWIG_As_int(obj4
));
19625 if (SWIG_arg_fail(5)) SWIG_fail
;
19630 arg6
= (int)(SWIG_As_int(obj5
));
19631 if (SWIG_arg_fail(6)) SWIG_fail
;
19636 arg7
= (int)(SWIG_As_int(obj6
));
19637 if (SWIG_arg_fail(7)) SWIG_fail
;
19642 arg8
= (int)(SWIG_As_int(obj7
));
19643 if (SWIG_arg_fail(8)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
19650 result
= (wxDateTime
*) &_result_ref
;
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19663 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19666 wxDateTime
*result
;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
19673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19674 if (SWIG_arg_fail(1)) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
19679 result
= (wxDateTime
*) &_result_ref
;
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19692 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19696 wxDateTime
*result
;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self",(char *) "year", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19705 if (SWIG_arg_fail(1)) SWIG_fail
;
19707 arg2
= (int)(SWIG_As_int(obj1
));
19708 if (SWIG_arg_fail(2)) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
19714 result
= (wxDateTime
*) &_result_ref
;
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19727 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19730 wxDateTime::Month arg2
;
19731 wxDateTime
*result
;
19732 PyObject
* obj0
= 0 ;
19733 PyObject
* obj1
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self",(char *) "month", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19743 if (SWIG_arg_fail(2)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
19749 result
= (wxDateTime
*) &_result_ref
;
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19762 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19766 wxDateTime
*result
;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self",(char *) "day", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 arg2
= (int)(SWIG_As_int(obj1
));
19778 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
19784 result
= (wxDateTime
*) &_result_ref
;
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19797 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19801 wxDateTime
*result
;
19802 PyObject
* obj0
= 0 ;
19803 PyObject
* obj1
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self",(char *) "hour", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19810 if (SWIG_arg_fail(1)) SWIG_fail
;
19812 arg2
= (int)(SWIG_As_int(obj1
));
19813 if (SWIG_arg_fail(2)) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
19819 result
= (wxDateTime
*) &_result_ref
;
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19832 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19836 wxDateTime
*result
;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self",(char *) "minute", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19845 if (SWIG_arg_fail(1)) SWIG_fail
;
19847 arg2
= (int)(SWIG_As_int(obj1
));
19848 if (SWIG_arg_fail(2)) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
19854 result
= (wxDateTime
*) &_result_ref
;
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19867 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19871 wxDateTime
*result
;
19872 PyObject
* obj0
= 0 ;
19873 PyObject
* obj1
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self",(char *) "second", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 arg2
= (int)(SWIG_As_int(obj1
));
19883 if (SWIG_arg_fail(2)) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
19889 result
= (wxDateTime
*) &_result_ref
;
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19902 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19906 wxDateTime
*result
;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "millisecond", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19915 if (SWIG_arg_fail(1)) SWIG_fail
;
19917 arg2
= (int)(SWIG_As_int(obj1
));
19918 if (SWIG_arg_fail(2)) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
19924 result
= (wxDateTime
*) &_result_ref
;
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19937 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19940 wxDateTime::WeekDay arg2
;
19941 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
19942 wxDateTime
*result
;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 PyObject
* obj2
= 0 ;
19946 char *kwnames
[] = {
19947 (char *) "self",(char *) "weekday",(char *) "flags", NULL
19950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19952 if (SWIG_arg_fail(1)) SWIG_fail
;
19954 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
19955 if (SWIG_arg_fail(2)) SWIG_fail
;
19959 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
19960 if (SWIG_arg_fail(3)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
19967 result
= (wxDateTime
*) &_result_ref
;
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19980 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19983 wxDateTime::WeekDay arg2
;
19984 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 PyObject
* obj2
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "weekday",(char *) "flags", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
19998 if (SWIG_arg_fail(2)) SWIG_fail
;
20002 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20003 if (SWIG_arg_fail(3)) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20014 wxDateTime
* resultptr
;
20015 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20024 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20027 wxDateTime::WeekDay arg2
;
20028 wxDateTime
*result
;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "weekday", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail
;
20039 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20040 if (SWIG_arg_fail(2)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20046 result
= (wxDateTime
*) &_result_ref
;
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20059 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20062 wxDateTime::WeekDay arg2
;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "weekday", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail
;
20074 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20075 if (SWIG_arg_fail(2)) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20085 wxDateTime
* resultptr
;
20086 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20095 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20098 wxDateTime::WeekDay arg2
;
20099 wxDateTime
*result
;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "weekday", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail
;
20110 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20111 if (SWIG_arg_fail(2)) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20117 result
= (wxDateTime
*) &_result_ref
;
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20130 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20133 wxDateTime::WeekDay arg2
;
20135 PyObject
* obj0
= 0 ;
20136 PyObject
* obj1
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self",(char *) "weekday", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20143 if (SWIG_arg_fail(1)) SWIG_fail
;
20145 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20146 if (SWIG_arg_fail(2)) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 wxDateTime
* resultptr
;
20157 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20166 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20169 wxDateTime::WeekDay arg2
;
20170 int arg3
= (int) 1 ;
20171 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20172 int arg5
= (int) wxDateTime::Inv_Year
;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 PyObject
* obj2
= 0 ;
20177 PyObject
* obj3
= 0 ;
20178 PyObject
* obj4
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail
;
20187 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20188 if (SWIG_arg_fail(2)) SWIG_fail
;
20192 arg3
= (int)(SWIG_As_int(obj2
));
20193 if (SWIG_arg_fail(3)) SWIG_fail
;
20198 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20199 if (SWIG_arg_fail(4)) SWIG_fail
;
20204 arg5
= (int)(SWIG_As_int(obj4
));
20205 if (SWIG_arg_fail(5)) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20224 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20227 wxDateTime::WeekDay arg2
;
20228 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20229 int arg4
= (int) wxDateTime::Inv_Year
;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 PyObject
* obj2
= 0 ;
20234 PyObject
* obj3
= 0 ;
20235 char *kwnames
[] = {
20236 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20241 if (SWIG_arg_fail(1)) SWIG_fail
;
20243 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20244 if (SWIG_arg_fail(2)) SWIG_fail
;
20248 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20249 if (SWIG_arg_fail(3)) SWIG_fail
;
20254 arg4
= (int)(SWIG_As_int(obj3
));
20255 if (SWIG_arg_fail(4)) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20274 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20277 wxDateTime::WeekDay arg2
;
20278 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20279 int arg4
= (int) wxDateTime::Inv_Year
;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 PyObject
* obj2
= 0 ;
20284 PyObject
* obj3
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20293 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20294 if (SWIG_arg_fail(2)) SWIG_fail
;
20298 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20299 if (SWIG_arg_fail(3)) SWIG_fail
;
20304 arg4
= (int)(SWIG_As_int(obj3
));
20305 if (SWIG_arg_fail(4)) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20316 wxDateTime
* resultptr
;
20317 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20326 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20330 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20331 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 PyObject
* obj2
= 0 ;
20336 PyObject
* obj3
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20343 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 arg2
= (int)(SWIG_As_int(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20350 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20351 if (SWIG_arg_fail(3)) SWIG_fail
;
20356 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20357 if (SWIG_arg_fail(4)) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20376 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20380 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20381 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 PyObject
* obj2
= 0 ;
20386 PyObject
* obj3
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
20400 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20401 if (SWIG_arg_fail(3)) SWIG_fail
;
20406 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20407 if (SWIG_arg_fail(4)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 wxDateTime
* resultptr
;
20419 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20428 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20432 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20436 PyObject
* obj2
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20443 arg1
= (int)(SWIG_As_int(obj0
));
20444 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 arg2
= (int)(SWIG_As_int(obj1
));
20448 if (SWIG_arg_fail(2)) SWIG_fail
;
20452 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20453 if (SWIG_arg_fail(3)) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 wxDateTime
* resultptr
;
20465 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20474 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20477 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20478 int arg3
= (int) wxDateTime::Inv_Year
;
20479 wxDateTime
*result
;
20480 PyObject
* obj0
= 0 ;
20481 PyObject
* obj1
= 0 ;
20482 PyObject
* obj2
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self",(char *) "month",(char *) "year", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20489 if (SWIG_arg_fail(1)) SWIG_fail
;
20492 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20493 if (SWIG_arg_fail(2)) SWIG_fail
;
20498 arg3
= (int)(SWIG_As_int(obj2
));
20499 if (SWIG_arg_fail(3)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20506 result
= (wxDateTime
*) &_result_ref
;
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20519 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20522 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20523 int arg3
= (int) wxDateTime::Inv_Year
;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 PyObject
* obj2
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "month",(char *) "year", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail
;
20537 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20538 if (SWIG_arg_fail(2)) SWIG_fail
;
20543 arg3
= (int)(SWIG_As_int(obj2
));
20544 if (SWIG_arg_fail(3)) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20555 wxDateTime
* resultptr
;
20556 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20565 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20569 wxDateTime
*result
;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self",(char *) "yday", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20578 if (SWIG_arg_fail(1)) SWIG_fail
;
20580 arg2
= (int)(SWIG_As_int(obj1
));
20581 if (SWIG_arg_fail(2)) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20587 result
= (wxDateTime
*) &_result_ref
;
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20600 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self",(char *) "yday", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20613 if (SWIG_arg_fail(1)) SWIG_fail
;
20615 arg2
= (int)(SWIG_As_int(obj1
));
20616 if (SWIG_arg_fail(2)) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (arg1
)->GetYearDay(arg2
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 wxDateTime
* resultptr
;
20627 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20636 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20647 if (SWIG_arg_fail(1)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (double)(arg1
)->GetJulianDayNumber();
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_From_double((double)(result
));
20664 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (double)(arg1
)->GetJDN();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_From_double((double)(result
));
20692 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_From_double((double)(result
));
20720 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
20730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20731 if (SWIG_arg_fail(1)) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (double)(arg1
)->GetMJD();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_From_double((double)(result
));
20748 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
20758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20759 if (SWIG_arg_fail(1)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (double)(arg1
)->GetRataDie();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_From_double((double)(result
));
20776 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20779 wxDateTime::TimeZone
*arg2
= 0 ;
20780 bool arg3
= (bool) false ;
20782 bool temp2
= false ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 PyObject
* obj2
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "tz",(char *) "noDST", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20794 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20799 arg3
= (bool)(SWIG_As_bool(obj2
));
20800 if (SWIG_arg_fail(3)) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 wxDateTime
* resultptr
;
20812 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20816 if (temp2
) delete arg2
;
20821 if (temp2
) delete arg2
;
20827 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20830 wxDateTime::TimeZone
*arg2
= 0 ;
20831 bool arg3
= (bool) false ;
20832 wxDateTime
*result
;
20833 bool temp2
= false ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 PyObject
* obj2
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self",(char *) "tz",(char *) "noDST", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20843 if (SWIG_arg_fail(1)) SWIG_fail
;
20845 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20850 arg3
= (bool)(SWIG_As_bool(obj2
));
20851 if (SWIG_arg_fail(3)) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
20858 result
= (wxDateTime
*) &_result_ref
;
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20866 if (temp2
) delete arg2
;
20871 if (temp2
) delete arg2
;
20877 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20880 bool arg2
= (bool) false ;
20882 PyObject
* obj0
= 0 ;
20883 PyObject
* obj1
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self",(char *) "noDST", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
20889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20893 arg2
= (bool)(SWIG_As_bool(obj1
));
20894 if (SWIG_arg_fail(2)) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (arg1
)->ToGMT(arg2
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 wxDateTime
* resultptr
;
20906 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20915 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20918 bool arg2
= (bool) false ;
20919 wxDateTime
*result
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "noDST", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
20927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20928 if (SWIG_arg_fail(1)) SWIG_fail
;
20931 arg2
= (bool)(SWIG_As_bool(obj1
));
20932 if (SWIG_arg_fail(2)) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
20939 result
= (wxDateTime
*) &_result_ref
;
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20952 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20955 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20957 PyObject
* obj0
= 0 ;
20958 PyObject
* obj1
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "country", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
20969 if (SWIG_arg_fail(2)) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_From_int((int)(result
));
20988 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
20998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21016 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21044 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21047 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21048 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21050 bool temp2
= false ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self",(char *) "tz", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21059 if (SWIG_arg_fail(1)) SWIG_fail
;
21062 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_From_int((int)(result
));
21077 if (temp2
) delete arg2
;
21082 if (temp2
) delete arg2
;
21088 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21091 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21092 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21093 wxDateTime::Month result
;
21094 bool temp2
= false ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self",(char *) "tz", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail
;
21106 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= SWIG_From_int((result
));
21119 if (temp2
) delete arg2
;
21124 if (temp2
) delete arg2
;
21130 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21133 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21134 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21136 bool temp2
= false ;
21137 PyObject
* obj0
= 0 ;
21138 PyObject
* obj1
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "tz", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21148 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_From_int((int)(result
));
21163 if (temp2
) delete arg2
;
21168 if (temp2
) delete arg2
;
21174 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21177 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21178 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21179 wxDateTime::WeekDay result
;
21180 bool temp2
= false ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "tz", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21189 if (SWIG_arg_fail(1)) SWIG_fail
;
21192 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_From_int((result
));
21205 if (temp2
) delete arg2
;
21210 if (temp2
) delete arg2
;
21216 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21219 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21220 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21222 bool temp2
= false ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self",(char *) "tz", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21231 if (SWIG_arg_fail(1)) SWIG_fail
;
21234 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_int((int)(result
));
21249 if (temp2
) delete arg2
;
21254 if (temp2
) delete arg2
;
21260 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
;
21262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21263 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21264 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21266 bool temp2
= false ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "tz", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21275 if (SWIG_arg_fail(1)) SWIG_fail
;
21278 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_From_int((int)(result
));
21293 if (temp2
) delete arg2
;
21298 if (temp2
) delete arg2
;
21304 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21307 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21308 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21310 bool temp2
= false ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "tz", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail
;
21322 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_From_int((int)(result
));
21337 if (temp2
) delete arg2
;
21342 if (temp2
) delete arg2
;
21348 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21351 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21352 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21354 bool temp2
= false ;
21355 PyObject
* obj0
= 0 ;
21356 PyObject
* obj1
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "tz", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21363 if (SWIG_arg_fail(1)) SWIG_fail
;
21366 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_From_int((int)(result
));
21381 if (temp2
) delete arg2
;
21386 if (temp2
) delete arg2
;
21392 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21395 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21396 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21398 bool temp2
= false ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "tz", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21407 if (SWIG_arg_fail(1)) SWIG_fail
;
21410 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= SWIG_From_int((int)(result
));
21425 if (temp2
) delete arg2
;
21430 if (temp2
) delete arg2
;
21436 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21439 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21440 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21441 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21443 bool temp3
= false ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "flags",(char *) "tz", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21457 if (SWIG_arg_fail(2)) SWIG_fail
;
21462 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_From_int((int)(result
));
21477 if (temp3
) delete arg3
;
21482 if (temp3
) delete arg3
;
21488 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21491 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21492 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21493 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21495 bool temp3
= false ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 PyObject
* obj2
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "flags",(char *) "tz", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21505 if (SWIG_arg_fail(1)) SWIG_fail
;
21508 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21509 if (SWIG_arg_fail(2)) SWIG_fail
;
21514 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_From_int((int)(result
));
21529 if (temp3
) delete arg3
;
21534 if (temp3
) delete arg3
;
21540 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21543 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self",(char *) "country", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21553 if (SWIG_arg_fail(1)) SWIG_fail
;
21556 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21557 if (SWIG_arg_fail(2)) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21576 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21579 wxDateTime
*arg2
= 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "datetime", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail
;
21591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21592 if (SWIG_arg_fail(2)) SWIG_fail
;
21593 if (arg2
== NULL
) {
21594 SWIG_null_ref("wxDateTime");
21596 if (SWIG_arg_fail(2)) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21614 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21617 wxDateTime
*arg2
= 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "datetime", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21627 if (SWIG_arg_fail(1)) SWIG_fail
;
21629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21630 if (SWIG_arg_fail(2)) SWIG_fail
;
21631 if (arg2
== NULL
) {
21632 SWIG_null_ref("wxDateTime");
21634 if (SWIG_arg_fail(2)) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21652 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21655 wxDateTime
*arg2
= 0 ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self",(char *) "datetime", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail
;
21667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21668 if (SWIG_arg_fail(2)) SWIG_fail
;
21669 if (arg2
== NULL
) {
21670 SWIG_null_ref("wxDateTime");
21672 if (SWIG_arg_fail(2)) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21690 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21693 wxDateTime
*arg2
= 0 ;
21694 wxDateTime
*arg3
= 0 ;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 PyObject
* obj2
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self",(char *) "t1",(char *) "t2", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21705 if (SWIG_arg_fail(1)) SWIG_fail
;
21707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21708 if (SWIG_arg_fail(2)) SWIG_fail
;
21709 if (arg2
== NULL
) {
21710 SWIG_null_ref("wxDateTime");
21712 if (SWIG_arg_fail(2)) SWIG_fail
;
21715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21716 if (SWIG_arg_fail(3)) SWIG_fail
;
21717 if (arg3
== NULL
) {
21718 SWIG_null_ref("wxDateTime");
21720 if (SWIG_arg_fail(3)) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21738 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21741 wxDateTime
*arg2
= 0 ;
21742 wxDateTime
*arg3
= 0 ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "t1",(char *) "t2", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21756 if (SWIG_arg_fail(2)) SWIG_fail
;
21757 if (arg2
== NULL
) {
21758 SWIG_null_ref("wxDateTime");
21760 if (SWIG_arg_fail(2)) SWIG_fail
;
21763 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(3)) SWIG_fail
;
21765 if (arg3
== NULL
) {
21766 SWIG_null_ref("wxDateTime");
21768 if (SWIG_arg_fail(3)) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21786 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21789 wxDateTime
*arg2
= 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "dt", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21802 if (SWIG_arg_fail(2)) SWIG_fail
;
21803 if (arg2
== NULL
) {
21804 SWIG_null_ref("wxDateTime");
21806 if (SWIG_arg_fail(2)) SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21824 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21827 wxDateTime
*arg2
= 0 ;
21829 PyObject
* obj0
= 0 ;
21830 PyObject
* obj1
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "self",(char *) "dt", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21837 if (SWIG_arg_fail(1)) SWIG_fail
;
21839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(2)) SWIG_fail
;
21841 if (arg2
== NULL
) {
21842 SWIG_null_ref("wxDateTime");
21844 if (SWIG_arg_fail(2)) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21862 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21865 wxDateTime
*arg2
= 0 ;
21866 wxTimeSpan
*arg3
= 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 PyObject
* obj2
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "dt",(char *) "ts", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail
;
21879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21880 if (SWIG_arg_fail(2)) SWIG_fail
;
21881 if (arg2
== NULL
) {
21882 SWIG_null_ref("wxDateTime");
21884 if (SWIG_arg_fail(2)) SWIG_fail
;
21887 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
21888 if (SWIG_arg_fail(3)) SWIG_fail
;
21889 if (arg3
== NULL
) {
21890 SWIG_null_ref("wxTimeSpan");
21892 if (SWIG_arg_fail(3)) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21913 wxTimeSpan
*arg2
= 0 ;
21914 wxDateTime
*result
;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "diff", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail
;
21925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
21926 if (SWIG_arg_fail(2)) SWIG_fail
;
21927 if (arg2
== NULL
) {
21928 SWIG_null_ref("wxTimeSpan");
21930 if (SWIG_arg_fail(2)) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21936 result
= (wxDateTime
*) &_result_ref
;
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21949 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21952 wxDateSpan
*arg2
= 0 ;
21953 wxDateTime
*result
;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self",(char *) "diff", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
21961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21962 if (SWIG_arg_fail(1)) SWIG_fail
;
21964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
21965 if (SWIG_arg_fail(2)) SWIG_fail
;
21966 if (arg2
== NULL
) {
21967 SWIG_null_ref("wxDateSpan");
21969 if (SWIG_arg_fail(2)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21975 result
= (wxDateTime
*) &_result_ref
;
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21988 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21991 wxTimeSpan
*arg2
= 0 ;
21992 wxDateTime
*result
;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "diff", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22001 if (SWIG_arg_fail(1)) SWIG_fail
;
22003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22004 if (SWIG_arg_fail(2)) SWIG_fail
;
22005 if (arg2
== NULL
) {
22006 SWIG_null_ref("wxTimeSpan");
22008 if (SWIG_arg_fail(2)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22014 result
= (wxDateTime
*) &_result_ref
;
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22027 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22030 wxDateSpan
*arg2
= 0 ;
22031 wxDateTime
*result
;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "diff", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22042 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22043 if (SWIG_arg_fail(2)) SWIG_fail
;
22044 if (arg2
== NULL
) {
22045 SWIG_null_ref("wxDateSpan");
22047 if (SWIG_arg_fail(2)) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22053 result
= (wxDateTime
*) &_result_ref
;
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22066 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22069 wxDateTime
*arg2
= 0 ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self",(char *) "dt", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22079 if (SWIG_arg_fail(1)) SWIG_fail
;
22081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22082 if (SWIG_arg_fail(2)) SWIG_fail
;
22083 if (arg2
== NULL
) {
22084 SWIG_null_ref("wxDateTime");
22086 if (SWIG_arg_fail(2)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 wxTimeSpan
* resultptr
;
22097 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22106 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22107 PyObject
*resultobj
;
22108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22109 wxTimeSpan
*arg2
= 0 ;
22110 wxDateTime
*result
;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22114 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22116 if (SWIG_arg_fail(1)) SWIG_fail
;
22118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22119 if (SWIG_arg_fail(2)) SWIG_fail
;
22120 if (arg2
== NULL
) {
22121 SWIG_null_ref("wxTimeSpan");
22123 if (SWIG_arg_fail(2)) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22129 result
= (wxDateTime
*) &_result_ref
;
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22142 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22143 PyObject
*resultobj
;
22144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22145 wxDateSpan
*arg2
= 0 ;
22146 wxDateTime
*result
;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22150 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22152 if (SWIG_arg_fail(1)) SWIG_fail
;
22154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22155 if (SWIG_arg_fail(2)) SWIG_fail
;
22156 if (arg2
== NULL
) {
22157 SWIG_null_ref("wxDateSpan");
22159 if (SWIG_arg_fail(2)) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22165 result
= (wxDateTime
*) &_result_ref
;
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22178 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22183 argc
= PyObject_Length(args
);
22184 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22185 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22191 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22201 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22209 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22217 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22227 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22235 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22240 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22245 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22246 PyObject
*resultobj
;
22247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22248 wxTimeSpan
*arg2
= 0 ;
22249 wxDateTime
*result
;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22253 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22255 if (SWIG_arg_fail(1)) SWIG_fail
;
22257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22258 if (SWIG_arg_fail(2)) SWIG_fail
;
22259 if (arg2
== NULL
) {
22260 SWIG_null_ref("wxTimeSpan");
22262 if (SWIG_arg_fail(2)) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22268 result
= (wxDateTime
*) &_result_ref
;
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22281 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22282 PyObject
*resultobj
;
22283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22284 wxDateSpan
*arg2
= 0 ;
22285 wxDateTime
*result
;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22289 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22291 if (SWIG_arg_fail(1)) SWIG_fail
;
22293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22294 if (SWIG_arg_fail(2)) SWIG_fail
;
22295 if (arg2
== NULL
) {
22296 SWIG_null_ref("wxDateSpan");
22298 if (SWIG_arg_fail(2)) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22304 result
= (wxDateTime
*) &_result_ref
;
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22317 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22322 argc
= PyObject_Length(args
);
22323 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22324 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22330 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22340 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22348 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22356 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22366 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22374 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22379 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22384 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22385 PyObject
*resultobj
;
22386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22387 wxTimeSpan
*arg2
= 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22392 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22394 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22397 if (SWIG_arg_fail(2)) SWIG_fail
;
22398 if (arg2
== NULL
) {
22399 SWIG_null_ref("wxTimeSpan");
22401 if (SWIG_arg_fail(2)) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22411 wxDateTime
* resultptr
;
22412 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22421 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22422 PyObject
*resultobj
;
22423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22424 wxDateSpan
*arg2
= 0 ;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22429 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22431 if (SWIG_arg_fail(1)) SWIG_fail
;
22433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22434 if (SWIG_arg_fail(2)) SWIG_fail
;
22435 if (arg2
== NULL
) {
22436 SWIG_null_ref("wxDateSpan");
22438 if (SWIG_arg_fail(2)) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 wxDateTime
* resultptr
;
22449 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22458 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22463 argc
= PyObject_Length(args
);
22464 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22465 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22481 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22489 return _wrap_DateTime___add____SWIG_0(self
,args
);
22497 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22507 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22515 return _wrap_DateTime___add____SWIG_1(self
,args
);
22520 Py_INCREF(Py_NotImplemented
);
22521 return Py_NotImplemented
;
22525 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22526 PyObject
*resultobj
;
22527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22528 wxDateTime
*arg2
= 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22533 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail
;
22537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22538 if (SWIG_arg_fail(2)) SWIG_fail
;
22539 if (arg2
== NULL
) {
22540 SWIG_null_ref("wxDateTime");
22542 if (SWIG_arg_fail(2)) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 wxTimeSpan
* resultptr
;
22553 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22562 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22563 PyObject
*resultobj
;
22564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22565 wxTimeSpan
*arg2
= 0 ;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22570 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22575 if (SWIG_arg_fail(2)) SWIG_fail
;
22576 if (arg2
== NULL
) {
22577 SWIG_null_ref("wxTimeSpan");
22579 if (SWIG_arg_fail(2)) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 wxDateTime
* resultptr
;
22590 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22599 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22600 PyObject
*resultobj
;
22601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22602 wxDateSpan
*arg2
= 0 ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22607 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22609 if (SWIG_arg_fail(1)) SWIG_fail
;
22611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22612 if (SWIG_arg_fail(2)) SWIG_fail
;
22613 if (arg2
== NULL
) {
22614 SWIG_null_ref("wxDateSpan");
22616 if (SWIG_arg_fail(2)) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22626 wxDateTime
* resultptr
;
22627 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22636 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22641 argc
= PyObject_Length(args
);
22642 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22643 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22649 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22659 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22667 return _wrap_DateTime___sub____SWIG_0(self
,args
);
22675 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22685 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22693 return _wrap_DateTime___sub____SWIG_1(self
,args
);
22701 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22711 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22719 return _wrap_DateTime___sub____SWIG_2(self
,args
);
22724 Py_INCREF(Py_NotImplemented
);
22725 return Py_NotImplemented
;
22729 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22732 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self",(char *) "other", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22742 if (SWIG_arg_fail(1)) SWIG_fail
;
22743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(2)) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22761 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22764 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "other", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22776 if (SWIG_arg_fail(2)) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22793 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22796 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "other", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22806 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(2)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22825 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22828 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "other", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22838 if (SWIG_arg_fail(1)) SWIG_fail
;
22839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22840 if (SWIG_arg_fail(2)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22857 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22860 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "other", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22870 if (SWIG_arg_fail(1)) SWIG_fail
;
22871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(2)) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22889 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
;
22891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22892 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self",(char *) "other", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22902 if (SWIG_arg_fail(1)) SWIG_fail
;
22903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22904 if (SWIG_arg_fail(2)) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22921 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22924 wxString
*arg2
= 0 ;
22926 bool temp2
= false ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self",(char *) "date", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
22934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail
;
22937 arg2
= wxString_in_helper(obj1
);
22938 if (arg2
== NULL
) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= SWIG_From_int((int)(result
));
22965 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22968 wxString
*arg2
= 0 ;
22969 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
22970 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22971 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
22972 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
22974 bool temp2
= false ;
22975 bool temp3
= false ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 PyObject
* obj2
= 0 ;
22979 PyObject
* obj3
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail
;
22988 arg2
= wxString_in_helper(obj1
);
22989 if (arg2
== NULL
) SWIG_fail
;
22994 arg3
= wxString_in_helper(obj2
);
22995 if (arg3
== NULL
) SWIG_fail
;
23001 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23002 if (SWIG_arg_fail(4)) SWIG_fail
;
23003 if (arg4
== NULL
) {
23004 SWIG_null_ref("wxDateTime");
23006 if (SWIG_arg_fail(4)) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_From_int((int)(result
));
23041 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23044 wxString
*arg2
= 0 ;
23046 bool temp2
= false ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self",(char *) "datetime", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23055 if (SWIG_arg_fail(1)) SWIG_fail
;
23057 arg2
= wxString_in_helper(obj1
);
23058 if (arg2
== NULL
) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_From_int((int)(result
));
23085 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23088 wxString
*arg2
= 0 ;
23090 bool temp2
= false ;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self",(char *) "date", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23099 if (SWIG_arg_fail(1)) SWIG_fail
;
23101 arg2
= wxString_in_helper(obj1
);
23102 if (arg2
== NULL
) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_From_int((int)(result
));
23129 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23132 wxString
*arg2
= 0 ;
23134 bool temp2
= false ;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self",(char *) "time", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23143 if (SWIG_arg_fail(1)) SWIG_fail
;
23145 arg2
= wxString_in_helper(obj1
);
23146 if (arg2
== NULL
) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_From_int((int)(result
));
23173 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23176 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23177 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23178 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23179 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23181 bool temp2
= false ;
23182 bool temp3
= false ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 PyObject
* obj2
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self",(char *) "format",(char *) "tz", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23192 if (SWIG_arg_fail(1)) SWIG_fail
;
23195 arg2
= wxString_in_helper(obj1
);
23196 if (arg2
== NULL
) SWIG_fail
;
23202 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23225 if (temp3
) delete arg3
;
23234 if (temp3
) delete arg3
;
23240 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23272 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23276 PyObject
* obj0
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23283 if (SWIG_arg_fail(1)) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23304 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23315 if (SWIG_arg_fail(1)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23336 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23347 if (SWIG_arg_fail(1)) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23368 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23371 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23373 return Py_BuildValue((char *)"");
23375 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23379 PyObject
* obj0
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "sec", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23386 arg1
= (long)(SWIG_As_long(obj0
));
23387 if (SWIG_arg_fail(1)) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= wxTimeSpan::Seconds(arg1
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 wxTimeSpan
* resultptr
;
23398 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23407 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23410 char *kwnames
[] = {
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= wxTimeSpan::Second();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23423 wxTimeSpan
* resultptr
;
23424 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23433 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "min", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23444 arg1
= (long)(SWIG_As_long(obj0
));
23445 if (SWIG_arg_fail(1)) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= wxTimeSpan::Minutes(arg1
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23455 wxTimeSpan
* resultptr
;
23456 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23465 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23468 char *kwnames
[] = {
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= wxTimeSpan::Minute();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 wxTimeSpan
* resultptr
;
23482 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23491 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23495 PyObject
* obj0
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "hours", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23502 arg1
= (long)(SWIG_As_long(obj0
));
23503 if (SWIG_arg_fail(1)) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= wxTimeSpan::Hours(arg1
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 wxTimeSpan
* resultptr
;
23514 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23523 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23526 char *kwnames
[] = {
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= wxTimeSpan::Hour();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23539 wxTimeSpan
* resultptr
;
23540 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23549 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "days", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23560 arg1
= (long)(SWIG_As_long(obj0
));
23561 if (SWIG_arg_fail(1)) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= wxTimeSpan::Days(arg1
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 wxTimeSpan
* resultptr
;
23572 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23581 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23584 char *kwnames
[] = {
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= wxTimeSpan::Day();
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23597 wxTimeSpan
* resultptr
;
23598 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23607 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23611 PyObject
* obj0
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "days", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23618 arg1
= (long)(SWIG_As_long(obj0
));
23619 if (SWIG_arg_fail(1)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= wxTimeSpan::Weeks(arg1
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23629 wxTimeSpan
* resultptr
;
23630 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23639 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23642 char *kwnames
[] = {
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= wxTimeSpan::Week();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23655 wxTimeSpan
* resultptr
;
23656 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23665 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
;
23667 long arg1
= (long) 0 ;
23668 long arg2
= (long) 0 ;
23669 long arg3
= (long) 0 ;
23670 long arg4
= (long) 0 ;
23671 wxTimeSpan
*result
;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 PyObject
* obj2
= 0 ;
23675 PyObject
* obj3
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23683 arg1
= (long)(SWIG_As_long(obj0
));
23684 if (SWIG_arg_fail(1)) SWIG_fail
;
23689 arg2
= (long)(SWIG_As_long(obj1
));
23690 if (SWIG_arg_fail(2)) SWIG_fail
;
23695 arg3
= (long)(SWIG_As_long(obj2
));
23696 if (SWIG_arg_fail(3)) SWIG_fail
;
23701 arg4
= (long)(SWIG_As_long(obj3
));
23702 if (SWIG_arg_fail(4)) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23719 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23722 PyObject
* obj0
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
23728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23729 if (SWIG_arg_fail(1)) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 Py_INCREF(Py_None
); resultobj
= Py_None
;
23744 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23747 wxTimeSpan
*arg2
= 0 ;
23748 wxTimeSpan
*result
;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "diff", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23757 if (SWIG_arg_fail(1)) SWIG_fail
;
23759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(2)) SWIG_fail
;
23761 if (arg2
== NULL
) {
23762 SWIG_null_ref("wxTimeSpan");
23764 if (SWIG_arg_fail(2)) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23770 result
= (wxTimeSpan
*) &_result_ref
;
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23783 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23786 wxTimeSpan
*arg2
= 0 ;
23787 wxTimeSpan
*result
;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self",(char *) "diff", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23799 if (SWIG_arg_fail(2)) SWIG_fail
;
23800 if (arg2
== NULL
) {
23801 SWIG_null_ref("wxTimeSpan");
23803 if (SWIG_arg_fail(2)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23809 result
= (wxTimeSpan
*) &_result_ref
;
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23822 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23826 wxTimeSpan
*result
;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "self",(char *) "n", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23835 if (SWIG_arg_fail(1)) SWIG_fail
;
23837 arg2
= (int)(SWIG_As_int(obj1
));
23838 if (SWIG_arg_fail(2)) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23844 result
= (wxTimeSpan
*) &_result_ref
;
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23857 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23860 wxTimeSpan
*result
;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
23867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
23873 result
= (wxTimeSpan
*) &_result_ref
;
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23886 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
23896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23897 if (SWIG_arg_fail(1)) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= ((wxTimeSpan
const *)arg1
)->Abs();
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 wxTimeSpan
* resultptr
;
23907 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23916 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23919 wxTimeSpan
*arg2
= 0 ;
23920 wxTimeSpan
*result
;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self",(char *) "diff", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23929 if (SWIG_arg_fail(1)) SWIG_fail
;
23931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23932 if (SWIG_arg_fail(2)) SWIG_fail
;
23933 if (arg2
== NULL
) {
23934 SWIG_null_ref("wxTimeSpan");
23936 if (SWIG_arg_fail(2)) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23942 result
= (wxTimeSpan
*) &_result_ref
;
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23955 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23958 wxTimeSpan
*arg2
= 0 ;
23959 wxTimeSpan
*result
;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "diff", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23968 if (SWIG_arg_fail(1)) SWIG_fail
;
23970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23971 if (SWIG_arg_fail(2)) SWIG_fail
;
23972 if (arg2
== NULL
) {
23973 SWIG_null_ref("wxTimeSpan");
23975 if (SWIG_arg_fail(2)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23981 result
= (wxTimeSpan
*) &_result_ref
;
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23994 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23998 wxTimeSpan
*result
;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self",(char *) "n", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24007 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 arg2
= (int)(SWIG_As_int(obj1
));
24010 if (SWIG_arg_fail(2)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24016 result
= (wxTimeSpan
*) &_result_ref
;
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24029 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24032 wxTimeSpan
*result
;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24045 result
= (wxTimeSpan
*) &_result_ref
;
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24058 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24061 wxTimeSpan
*arg2
= 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "other", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24071 if (SWIG_arg_fail(1)) SWIG_fail
;
24073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(2)) SWIG_fail
;
24075 if (arg2
== NULL
) {
24076 SWIG_null_ref("wxTimeSpan");
24078 if (SWIG_arg_fail(2)) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24088 wxTimeSpan
* resultptr
;
24089 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24098 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24101 wxTimeSpan
*arg2
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "other", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24111 if (SWIG_arg_fail(1)) SWIG_fail
;
24113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(2)) SWIG_fail
;
24115 if (arg2
== NULL
) {
24116 SWIG_null_ref("wxTimeSpan");
24118 if (SWIG_arg_fail(2)) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 wxTimeSpan
* resultptr
;
24129 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24138 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self",(char *) "n", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24153 arg2
= (int)(SWIG_As_int(obj1
));
24154 if (SWIG_arg_fail(2)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= wxTimeSpan___mul__(arg1
,arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 wxTimeSpan
* resultptr
;
24165 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24174 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "n", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail
;
24189 arg2
= (int)(SWIG_As_int(obj1
));
24190 if (SWIG_arg_fail(2)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 wxTimeSpan
* resultptr
;
24201 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24210 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24213 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 PyObject
* obj1
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self",(char *) "other", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail
;
24224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24225 if (SWIG_arg_fail(2)) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24242 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24245 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "other", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24255 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(2)) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24274 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24277 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "other", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail
;
24288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24289 if (SWIG_arg_fail(2)) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24306 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24309 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "other", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24321 if (SWIG_arg_fail(2)) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24338 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24341 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self",(char *) "other", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(1)) SWIG_fail
;
24352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24353 if (SWIG_arg_fail(2)) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24370 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24373 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "other", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24383 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24385 if (SWIG_arg_fail(2)) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24402 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24406 PyObject
* obj0
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24413 if (SWIG_arg_fail(1)) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24430 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24458 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24469 if (SWIG_arg_fail(1)) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24486 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24489 wxTimeSpan
*arg2
= 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "ts", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail
;
24501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24502 if (SWIG_arg_fail(2)) SWIG_fail
;
24503 if (arg2
== NULL
) {
24504 SWIG_null_ref("wxTimeSpan");
24506 if (SWIG_arg_fail(2)) SWIG_fail
;
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24524 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24527 wxTimeSpan
*arg2
= 0 ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 char *kwnames
[] = {
24532 (char *) "self",(char *) "ts", NULL
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail
;
24539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24540 if (SWIG_arg_fail(2)) SWIG_fail
;
24541 if (arg2
== NULL
) {
24542 SWIG_null_ref("wxTimeSpan");
24544 if (SWIG_arg_fail(2)) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24562 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24565 wxTimeSpan
*arg2
= 0 ;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "t", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24575 if (SWIG_arg_fail(1)) SWIG_fail
;
24577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(2)) SWIG_fail
;
24579 if (arg2
== NULL
) {
24580 SWIG_null_ref("wxTimeSpan");
24582 if (SWIG_arg_fail(2)) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24600 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
;
24602 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_From_int((int)(result
));
24628 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24639 if (SWIG_arg_fail(1)) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= SWIG_From_int((int)(result
));
24656 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
24666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24667 if (SWIG_arg_fail(1)) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_From_int((int)(result
));
24684 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
24694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= SWIG_From_int((int)(result
));
24712 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
24722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24723 if (SWIG_arg_fail(1)) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24732 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24733 hi
= PyLong_FromLong( (&result
)->GetHi() );
24734 lo
= PyLong_FromLong( (&result
)->GetLo() );
24735 shifter
= PyLong_FromLong(32);
24736 shifted
= PyNumber_Lshift(hi
, shifter
);
24737 resultobj
= PyNumber_Or(shifted
, lo
);
24740 Py_DECREF(shifter
);
24741 Py_DECREF(shifted
);
24749 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
24759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24770 hi
= PyLong_FromLong( (&result
)->GetHi() );
24771 lo
= PyLong_FromLong( (&result
)->GetLo() );
24772 shifter
= PyLong_FromLong(32);
24773 shifted
= PyNumber_Lshift(hi
, shifter
);
24774 resultobj
= PyNumber_Or(shifted
, lo
);
24777 Py_DECREF(shifter
);
24778 Py_DECREF(shifted
);
24786 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24789 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
24790 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24792 bool temp2
= false ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "format", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
24800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail
;
24804 arg2
= wxString_in_helper(obj1
);
24805 if (arg2
== NULL
) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24837 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
24839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24840 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
24842 return Py_BuildValue((char *)"");
24844 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 int arg1
= (int) 0 ;
24847 int arg2
= (int) 0 ;
24848 int arg3
= (int) 0 ;
24849 int arg4
= (int) 0 ;
24850 wxDateSpan
*result
;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 PyObject
* obj2
= 0 ;
24854 PyObject
* obj3
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24862 arg1
= (int)(SWIG_As_int(obj0
));
24863 if (SWIG_arg_fail(1)) SWIG_fail
;
24868 arg2
= (int)(SWIG_As_int(obj1
));
24869 if (SWIG_arg_fail(2)) SWIG_fail
;
24874 arg3
= (int)(SWIG_As_int(obj2
));
24875 if (SWIG_arg_fail(3)) SWIG_fail
;
24880 arg4
= (int)(SWIG_As_int(obj3
));
24881 if (SWIG_arg_fail(4)) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24898 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
24907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "days", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
24934 arg1
= (int)(SWIG_As_int(obj0
));
24935 if (SWIG_arg_fail(1)) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= wxDateSpan::Days(arg1
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 wxDateSpan
* resultptr
;
24946 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24955 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24958 char *kwnames
[] = {
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= wxDateSpan::Day();
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 wxDateSpan
* resultptr
;
24972 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24981 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24985 PyObject
* obj0
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "weeks", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24992 arg1
= (int)(SWIG_As_int(obj0
));
24993 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= wxDateSpan::Weeks(arg1
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 wxDateSpan
* resultptr
;
25004 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25013 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25016 char *kwnames
[] = {
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= wxDateSpan::Week();
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25029 wxDateSpan
* resultptr
;
25030 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25039 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25043 PyObject
* obj0
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "mon", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25050 arg1
= (int)(SWIG_As_int(obj0
));
25051 if (SWIG_arg_fail(1)) SWIG_fail
;
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= wxDateSpan::Months(arg1
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25061 wxDateSpan
* resultptr
;
25062 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25071 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25074 char *kwnames
[] = {
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= wxDateSpan::Month();
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25087 wxDateSpan
* resultptr
;
25088 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25097 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25101 PyObject
* obj0
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "years", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25108 arg1
= (int)(SWIG_As_int(obj0
));
25109 if (SWIG_arg_fail(1)) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= wxDateSpan::Years(arg1
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25119 wxDateSpan
* resultptr
;
25120 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25129 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25132 char *kwnames
[] = {
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= wxDateSpan::Year();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 wxDateSpan
* resultptr
;
25146 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25155 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25159 wxDateSpan
*result
;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "n", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail
;
25170 arg2
= (int)(SWIG_As_int(obj1
));
25171 if (SWIG_arg_fail(2)) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25177 result
= (wxDateSpan
*) &_result_ref
;
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25190 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25194 wxDateSpan
*result
;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "n", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail
;
25205 arg2
= (int)(SWIG_As_int(obj1
));
25206 if (SWIG_arg_fail(2)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25212 result
= (wxDateSpan
*) &_result_ref
;
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25225 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25229 wxDateSpan
*result
;
25230 PyObject
* obj0
= 0 ;
25231 PyObject
* obj1
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self",(char *) "n", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25238 if (SWIG_arg_fail(1)) SWIG_fail
;
25240 arg2
= (int)(SWIG_As_int(obj1
));
25241 if (SWIG_arg_fail(2)) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25247 result
= (wxDateSpan
*) &_result_ref
;
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25260 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25264 wxDateSpan
*result
;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "n", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25273 if (SWIG_arg_fail(1)) SWIG_fail
;
25275 arg2
= (int)(SWIG_As_int(obj1
));
25276 if (SWIG_arg_fail(2)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25282 result
= (wxDateSpan
*) &_result_ref
;
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25295 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25299 PyObject
* obj0
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= SWIG_From_int((int)(result
));
25323 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25334 if (SWIG_arg_fail(1)) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= SWIG_From_int((int)(result
));
25351 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25355 PyObject
* obj0
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_From_int((int)(result
));
25379 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_From_int((int)(result
));
25407 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25418 if (SWIG_arg_fail(1)) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_From_int((int)(result
));
25435 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25438 wxDateSpan
*arg2
= 0 ;
25439 wxDateSpan
*result
;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "other", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25448 if (SWIG_arg_fail(1)) SWIG_fail
;
25450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25451 if (SWIG_arg_fail(2)) SWIG_fail
;
25452 if (arg2
== NULL
) {
25453 SWIG_null_ref("wxDateSpan");
25455 if (SWIG_arg_fail(2)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25461 result
= (wxDateSpan
*) &_result_ref
;
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25474 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25477 wxDateSpan
*arg2
= 0 ;
25478 wxDateSpan
*result
;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self",(char *) "other", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25487 if (SWIG_arg_fail(1)) SWIG_fail
;
25489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25490 if (SWIG_arg_fail(2)) SWIG_fail
;
25491 if (arg2
== NULL
) {
25492 SWIG_null_ref("wxDateSpan");
25494 if (SWIG_arg_fail(2)) SWIG_fail
;
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25500 result
= (wxDateSpan
*) &_result_ref
;
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25513 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25515 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25516 wxDateSpan
*result
;
25517 PyObject
* obj0
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25529 result
= (wxDateSpan
*) &_result_ref
;
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25542 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25546 wxDateSpan
*result
;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self",(char *) "factor", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25555 if (SWIG_arg_fail(1)) SWIG_fail
;
25557 arg2
= (int)(SWIG_As_int(obj1
));
25558 if (SWIG_arg_fail(2)) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25564 result
= (wxDateSpan
*) &_result_ref
;
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25577 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25580 wxDateSpan
*arg2
= 0 ;
25581 wxDateSpan
*result
;
25582 PyObject
* obj0
= 0 ;
25583 PyObject
* obj1
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self",(char *) "other", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25590 if (SWIG_arg_fail(1)) SWIG_fail
;
25592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25593 if (SWIG_arg_fail(2)) SWIG_fail
;
25594 if (arg2
== NULL
) {
25595 SWIG_null_ref("wxDateSpan");
25597 if (SWIG_arg_fail(2)) SWIG_fail
;
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25603 result
= (wxDateSpan
*) &_result_ref
;
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25616 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25619 wxDateSpan
*arg2
= 0 ;
25620 wxDateSpan
*result
;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "other", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25629 if (SWIG_arg_fail(1)) SWIG_fail
;
25631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(2)) SWIG_fail
;
25633 if (arg2
== NULL
) {
25634 SWIG_null_ref("wxDateSpan");
25636 if (SWIG_arg_fail(2)) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25642 result
= (wxDateSpan
*) &_result_ref
;
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25655 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25658 wxDateSpan
*result
;
25659 PyObject
* obj0
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
25665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 wxDateSpan
&_result_ref
= (arg1
)->operator -();
25671 result
= (wxDateSpan
*) &_result_ref
;
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25684 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25688 wxDateSpan
*result
;
25689 PyObject
* obj0
= 0 ;
25690 PyObject
* obj1
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self",(char *) "factor", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25697 if (SWIG_arg_fail(1)) SWIG_fail
;
25699 arg2
= (int)(SWIG_As_int(obj1
));
25700 if (SWIG_arg_fail(2)) SWIG_fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25706 result
= (wxDateSpan
*) &_result_ref
;
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25719 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25722 wxDateSpan
*arg2
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self",(char *) "other", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail
;
25734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25735 if (SWIG_arg_fail(2)) SWIG_fail
;
25736 if (arg2
== NULL
) {
25737 SWIG_null_ref("wxDateSpan");
25739 if (SWIG_arg_fail(2)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 wxDateSpan
* resultptr
;
25750 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25759 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25762 wxDateSpan
*arg2
= 0 ;
25764 PyObject
* obj0
= 0 ;
25765 PyObject
* obj1
= 0 ;
25766 char *kwnames
[] = {
25767 (char *) "self",(char *) "other", NULL
25770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25772 if (SWIG_arg_fail(1)) SWIG_fail
;
25774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25775 if (SWIG_arg_fail(2)) SWIG_fail
;
25776 if (arg2
== NULL
) {
25777 SWIG_null_ref("wxDateSpan");
25779 if (SWIG_arg_fail(2)) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25789 wxDateSpan
* resultptr
;
25790 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25799 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "n", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
25815 if (SWIG_arg_fail(2)) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 result
= wxDateSpan___mul__(arg1
,arg2
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 wxDateSpan
* resultptr
;
25826 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25835 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "n", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail
;
25850 arg2
= (int)(SWIG_As_int(obj1
));
25851 if (SWIG_arg_fail(2)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= wxDateSpan___rmul__(arg1
,arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 wxDateSpan
* resultptr
;
25862 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25871 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25874 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "other", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
25883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25884 if (SWIG_arg_fail(1)) SWIG_fail
;
25885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25886 if (SWIG_arg_fail(2)) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25903 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
;
25905 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25906 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "other", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25916 if (SWIG_arg_fail(1)) SWIG_fail
;
25917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25918 if (SWIG_arg_fail(2)) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25935 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
25937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25938 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
25940 return Py_BuildValue((char *)"");
25942 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25945 char *kwnames
[] = {
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (long)wxGetLocalTime();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_From_long((long)(result
));
25966 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25969 char *kwnames
[] = {
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (long)wxGetUTCTime();
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_From_long((long)(result
));
25990 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25993 char *kwnames
[] = {
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (long)wxGetCurrentTime();
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_From_long((long)(result
));
26014 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26017 char *kwnames
[] = {
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= wxGetLocalTimeMillis();
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26031 hi
= PyLong_FromLong( (&result
)->GetHi() );
26032 lo
= PyLong_FromLong( (&result
)->GetLo() );
26033 shifter
= PyLong_FromLong(32);
26034 shifted
= PyNumber_Lshift(hi
, shifter
);
26035 resultobj
= PyNumber_Or(shifted
, lo
);
26038 Py_DECREF(shifter
);
26039 Py_DECREF(shifted
);
26047 static int _wrap_DefaultDateTime_set(PyObject
*) {
26048 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26053 static PyObject
*_wrap_DefaultDateTime_get(void) {
26056 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26061 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
;
26063 wxDataFormatId arg1
;
26064 wxDataFormat
*result
;
26065 PyObject
* obj0
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "type", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26072 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26073 if (SWIG_arg_fail(1)) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26089 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
;
26091 wxString
*arg1
= 0 ;
26092 wxDataFormat
*result
;
26093 bool temp1
= false ;
26094 PyObject
* obj0
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "format", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26101 arg1
= wxString_in_helper(obj0
);
26102 if (arg1
== NULL
) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26127 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26137 if (SWIG_arg_fail(1)) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 Py_INCREF(Py_None
); resultobj
= Py_None
;
26152 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26153 PyObject
*resultobj
;
26154 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26155 wxDataFormatId arg2
;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26160 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26164 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26165 if (SWIG_arg_fail(2)) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26183 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26184 PyObject
*resultobj
;
26185 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26186 wxDataFormatId arg2
;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26191 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26193 if (SWIG_arg_fail(1)) SWIG_fail
;
26195 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26196 if (SWIG_arg_fail(2)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26214 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26215 PyObject
*resultobj
;
26216 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26217 wxDataFormat
*arg2
= 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26222 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26224 if (SWIG_arg_fail(1)) SWIG_fail
;
26226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(2)) SWIG_fail
;
26228 if (arg2
== NULL
) {
26229 SWIG_null_ref("wxDataFormat");
26231 if (SWIG_arg_fail(2)) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26249 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26254 argc
= PyObject_Length(args
);
26255 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26256 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26280 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26296 _v
= SWIG_Check_int(argv
[1]);
26298 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26303 Py_INCREF(Py_NotImplemented
);
26304 return Py_NotImplemented
;
26308 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26309 PyObject
*resultobj
;
26310 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26311 wxDataFormat
*arg2
= 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26316 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(2)) SWIG_fail
;
26322 if (arg2
== NULL
) {
26323 SWIG_null_ref("wxDataFormat");
26325 if (SWIG_arg_fail(2)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26343 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26348 argc
= PyObject_Length(args
);
26349 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26350 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26356 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26366 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26374 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26382 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26390 _v
= SWIG_Check_int(argv
[1]);
26392 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26397 Py_INCREF(Py_NotImplemented
);
26398 return Py_NotImplemented
;
26402 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26405 wxDataFormatId arg2
;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "format", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail
;
26416 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26417 if (SWIG_arg_fail(2)) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 (arg1
)->SetType((wxDataFormatId
)arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 Py_INCREF(Py_None
); resultobj
= Py_None
;
26433 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26436 wxDataFormatId result
;
26437 PyObject
* obj0
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= SWIG_From_int((result
));
26459 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26463 PyObject
* obj0
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26470 if (SWIG_arg_fail(1)) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 result
= ((wxDataFormat
const *)arg1
)->GetId();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26491 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26494 wxString
*arg2
= 0 ;
26495 bool temp2
= false ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self",(char *) "format", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26504 if (SWIG_arg_fail(1)) SWIG_fail
;
26506 arg2
= wxString_in_helper(obj1
);
26507 if (arg2
== NULL
) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 (arg1
)->SetId((wxString
const &)*arg2
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 Py_INCREF(Py_None
); resultobj
= Py_None
;
26532 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26535 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26537 return Py_BuildValue((char *)"");
26539 static int _wrap_FormatInvalid_set(PyObject
*) {
26540 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26545 static PyObject
*_wrap_FormatInvalid_get(void) {
26548 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26553 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 char *kwnames
[] = {
26558 (char *) "self", NULL
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26563 if (SWIG_arg_fail(1)) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 Py_INCREF(Py_None
); resultobj
= Py_None
;
26578 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26581 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26582 SwigValueWrapper
<wxDataFormat
> result
;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "dir", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26591 if (SWIG_arg_fail(1)) SWIG_fail
;
26594 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26595 if (SWIG_arg_fail(2)) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26606 wxDataFormat
* resultptr
;
26607 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26616 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26619 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self",(char *) "dir", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26629 if (SWIG_arg_fail(1)) SWIG_fail
;
26632 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26633 if (SWIG_arg_fail(2)) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26652 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26655 wxDataFormat
*arg2
= 0 ;
26656 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 PyObject
* obj2
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "format",(char *) "dir", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26667 if (SWIG_arg_fail(1)) SWIG_fail
;
26669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26670 if (SWIG_arg_fail(2)) SWIG_fail
;
26671 if (arg2
== NULL
) {
26672 SWIG_null_ref("wxDataFormat");
26674 if (SWIG_arg_fail(2)) SWIG_fail
;
26678 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
26679 if (SWIG_arg_fail(3)) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26698 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26701 wxDataFormat
*arg2
= 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "self",(char *) "format", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26711 if (SWIG_arg_fail(1)) SWIG_fail
;
26713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26714 if (SWIG_arg_fail(2)) SWIG_fail
;
26715 if (arg2
== NULL
) {
26716 SWIG_null_ref("wxDataFormat");
26718 if (SWIG_arg_fail(2)) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26736 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26739 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "dir", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
26748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26749 if (SWIG_arg_fail(1)) SWIG_fail
;
26752 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26753 if (SWIG_arg_fail(2)) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 resultobj
= result
;
26770 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26773 wxDataFormat
*arg2
= 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "format", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26786 if (SWIG_arg_fail(2)) SWIG_fail
;
26787 if (arg2
== NULL
) {
26788 SWIG_null_ref("wxDataFormat");
26790 if (SWIG_arg_fail(2)) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= result
;
26806 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26809 wxDataFormat
*arg2
= 0 ;
26810 PyObject
*arg3
= (PyObject
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 PyObject
* obj2
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "format",(char *) "data", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26821 if (SWIG_arg_fail(1)) SWIG_fail
;
26823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26824 if (SWIG_arg_fail(2)) SWIG_fail
;
26825 if (arg2
== NULL
) {
26826 SWIG_null_ref("wxDataFormat");
26828 if (SWIG_arg_fail(2)) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26847 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
26849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26850 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
26852 return Py_BuildValue((char *)"");
26854 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26857 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26858 wxDataObjectSimple
*result
;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "format", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26869 if (arg1
== NULL
) {
26870 SWIG_null_ref("wxDataFormat");
26872 if (SWIG_arg_fail(1)) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
26889 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26892 wxDataFormat
*result
;
26893 PyObject
* obj0
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
26899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26900 if (SWIG_arg_fail(1)) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
26905 result
= (wxDataFormat
*) &_result_ref
;
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
26918 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
;
26920 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26921 wxDataFormat
*arg2
= 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "format", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26933 if (SWIG_arg_fail(2)) SWIG_fail
;
26934 if (arg2
== NULL
) {
26935 SWIG_null_ref("wxDataFormat");
26937 if (SWIG_arg_fail(2)) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 Py_INCREF(Py_None
); resultobj
= Py_None
;
26953 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26973 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26981 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
26991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= result
;
27007 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27010 PyObject
*arg2
= (PyObject
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self",(char *) "data", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27020 if (SWIG_arg_fail(1)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27041 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27043 return Py_BuildValue((char *)"");
27045 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27048 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27049 wxPyDataObjectSimple
*result
;
27050 PyObject
* obj0
= 0 ;
27051 char *kwnames
[] = {
27052 (char *) "format", NULL
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27059 if (SWIG_arg_fail(1)) SWIG_fail
;
27060 if (arg1
== NULL
) {
27061 SWIG_null_ref("wxDataFormat");
27063 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27080 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27083 PyObject
*arg2
= (PyObject
*) 0 ;
27084 PyObject
*arg3
= (PyObject
*) 0 ;
27085 PyObject
* obj0
= 0 ;
27086 PyObject
* obj1
= 0 ;
27087 PyObject
* obj2
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "self",(char *) "_class", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 Py_INCREF(Py_None
); resultobj
= Py_None
;
27111 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27114 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27116 return Py_BuildValue((char *)"");
27118 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxDataObjectComposite
*result
;
27121 char *kwnames
[] = {
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27140 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27143 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27144 bool arg3
= (bool) false ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 PyObject
* obj2
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27154 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27156 if (SWIG_arg_fail(2)) SWIG_fail
;
27159 arg3
= (bool)(SWIG_As_bool(obj2
));
27160 if (SWIG_arg_fail(3)) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 (arg1
)->Add(arg2
,arg3
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 Py_INCREF(Py_None
); resultobj
= Py_None
;
27177 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27180 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27182 return Py_BuildValue((char *)"");
27184 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27187 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27188 wxTextDataObject
*result
;
27189 bool temp1
= false ;
27190 PyObject
* obj0
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "text", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27198 arg1
= wxString_in_helper(obj0
);
27199 if (arg1
== NULL
) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27225 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (size_t)(arg1
)->GetTextLength();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27253 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (arg1
)->GetText();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27285 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27288 wxString
*arg2
= 0 ;
27289 bool temp2
= false ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "text", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail
;
27300 arg2
= wxString_in_helper(obj1
);
27301 if (arg2
== NULL
) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 (arg1
)->SetText((wxString
const &)*arg2
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 Py_INCREF(Py_None
); resultobj
= Py_None
;
27326 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27329 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27331 return Py_BuildValue((char *)"");
27333 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27336 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27337 wxPyTextDataObject
*result
;
27338 bool temp1
= false ;
27339 PyObject
* obj0
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "text", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27347 arg1
= wxString_in_helper(obj0
);
27348 if (arg1
== NULL
) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27374 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27377 PyObject
*arg2
= (PyObject
*) 0 ;
27378 PyObject
*arg3
= (PyObject
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 PyObject
* obj2
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self",(char *) "self",(char *) "_class", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27388 if (SWIG_arg_fail(1)) SWIG_fail
;
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27398 Py_INCREF(Py_None
); resultobj
= Py_None
;
27405 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27408 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27410 return Py_BuildValue((char *)"");
27412 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27415 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27416 wxBitmapDataObject
*result
;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "bitmap", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27426 if (SWIG_arg_fail(1)) SWIG_fail
;
27427 if (arg1
== NULL
) {
27428 SWIG_null_ref("wxBitmap");
27430 if (SWIG_arg_fail(1)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27447 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27451 PyObject
* obj0
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27458 if (SWIG_arg_fail(1)) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 wxBitmap
* resultptr
;
27468 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27477 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27480 wxBitmap
*arg2
= 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "bitmap", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27489 if (SWIG_arg_fail(1)) SWIG_fail
;
27491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27492 if (SWIG_arg_fail(2)) SWIG_fail
;
27493 if (arg2
== NULL
) {
27494 SWIG_null_ref("wxBitmap");
27496 if (SWIG_arg_fail(2)) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27515 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27517 return Py_BuildValue((char *)"");
27519 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27522 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27523 wxPyBitmapDataObject
*result
;
27524 PyObject
* obj0
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "bitmap", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail
;
27534 if (arg1
== NULL
) {
27535 SWIG_null_ref("wxBitmap");
27537 if (SWIG_arg_fail(1)) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27554 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27557 PyObject
*arg2
= (PyObject
*) 0 ;
27558 PyObject
*arg3
= (PyObject
*) 0 ;
27559 PyObject
* obj0
= 0 ;
27560 PyObject
* obj1
= 0 ;
27561 PyObject
* obj2
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self",(char *) "self",(char *) "_class", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27568 if (SWIG_arg_fail(1)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27588 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27590 return Py_BuildValue((char *)"");
27592 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxFileDataObject
*result
;
27595 char *kwnames
[] = {
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 result
= (wxFileDataObject
*)new wxFileDataObject();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27614 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27617 wxArrayString
*result
;
27618 PyObject
* obj0
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27630 result
= (wxArrayString
*) &_result_ref
;
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= wxArrayString2PyList_helper(*result
);
27645 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27648 wxString
*arg2
= 0 ;
27649 bool temp2
= false ;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self",(char *) "filename", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27658 if (SWIG_arg_fail(1)) SWIG_fail
;
27660 arg2
= wxString_in_helper(obj1
);
27661 if (arg2
== NULL
) SWIG_fail
;
27665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 (arg1
)->AddFile((wxString
const &)*arg2
);
27668 wxPyEndAllowThreads(__tstate
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 Py_INCREF(Py_None
); resultobj
= Py_None
;
27686 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
27688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27689 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
27691 return Py_BuildValue((char *)"");
27693 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
27694 PyObject
*resultobj
;
27695 wxDataFormat
*arg1
= 0 ;
27696 wxCustomDataObject
*result
;
27697 PyObject
* obj0
= 0 ;
27699 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail
;
27703 if (arg1
== NULL
) {
27704 SWIG_null_ref("wxDataFormat");
27706 if (SWIG_arg_fail(1)) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27722 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
27723 PyObject
*resultobj
;
27724 wxString
*arg1
= 0 ;
27725 wxCustomDataObject
*result
;
27726 bool temp1
= false ;
27727 PyObject
* obj0
= 0 ;
27729 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27731 arg1
= wxString_in_helper(obj0
);
27732 if (arg1
== NULL
) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27757 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
27758 PyObject
*resultobj
;
27759 wxCustomDataObject
*result
;
27761 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= (wxCustomDataObject
*)new wxCustomDataObject();
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27776 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
27781 argc
= PyObject_Length(args
);
27782 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
27783 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27786 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
27791 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
27794 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
27801 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27809 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
27813 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
27818 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27821 PyObject
*arg2
= (PyObject
*) 0 ;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "self",(char *) "data", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27831 if (SWIG_arg_fail(1)) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27849 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
27859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27860 if (SWIG_arg_fail(1)) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (size_t)(arg1
)->GetSize();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27877 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
27887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27888 if (SWIG_arg_fail(1)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= result
;
27903 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
27905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27906 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
27908 return Py_BuildValue((char *)"");
27910 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxURLDataObject
*result
;
27913 char *kwnames
[] = {
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
27919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27920 result
= (wxURLDataObject
*)new wxURLDataObject();
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
27932 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
27942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (arg1
)->GetURL();
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27964 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
27967 wxString
*arg2
= 0 ;
27968 bool temp2
= false ;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self",(char *) "url", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
27976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27977 if (SWIG_arg_fail(1)) SWIG_fail
;
27979 arg2
= wxString_in_helper(obj1
);
27980 if (arg2
== NULL
) SWIG_fail
;
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 (arg1
)->SetURL((wxString
const &)*arg2
);
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 Py_INCREF(Py_None
); resultobj
= Py_None
;
28005 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28008 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28010 return Py_BuildValue((char *)"");
28012 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxMetafileDataObject
*result
;
28015 char *kwnames
[] = {
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28034 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28037 wxMetafile
*arg2
= 0 ;
28038 PyObject
* obj0
= 0 ;
28039 PyObject
* obj1
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self",(char *) "metafile", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
28045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail
;
28048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMetafile
, SWIG_POINTER_EXCEPTION
| 0);
28049 if (SWIG_arg_fail(2)) SWIG_fail
;
28050 if (arg2
== NULL
) {
28051 SWIG_null_ref("wxMetafile");
28053 if (SWIG_arg_fail(2)) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 Py_INCREF(Py_None
); resultobj
= Py_None
;
28069 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
28079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28089 wxMetafile
* resultptr
;
28090 resultptr
= new wxMetafile((wxMetafile
&)(result
));
28091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
28099 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28102 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28104 return Py_BuildValue((char *)"");
28106 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxDragResult arg1
;
28110 PyObject
* obj0
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "res", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28117 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28118 if (SWIG_arg_fail(1)) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28136 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxWindow
*arg1
= (wxWindow
*) 0 ;
28139 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28140 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28141 wxCursor
const &arg3_defvalue
= wxNullCursor
;
28142 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
28143 wxCursor
const &arg4_defvalue
= wxNullCursor
;
28144 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
28145 wxPyDropSource
*result
;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 PyObject
* obj2
= 0 ;
28149 PyObject
* obj3
= 0 ;
28150 char *kwnames
[] = {
28151 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28156 if (SWIG_arg_fail(1)) SWIG_fail
;
28159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28160 if (SWIG_arg_fail(2)) SWIG_fail
;
28161 if (arg2
== NULL
) {
28162 SWIG_null_ref("wxCursor");
28164 if (SWIG_arg_fail(2)) SWIG_fail
;
28169 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28170 if (SWIG_arg_fail(3)) SWIG_fail
;
28171 if (arg3
== NULL
) {
28172 SWIG_null_ref("wxCursor");
28174 if (SWIG_arg_fail(3)) SWIG_fail
;
28179 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28180 if (SWIG_arg_fail(4)) SWIG_fail
;
28181 if (arg4
== NULL
) {
28182 SWIG_null_ref("wxCursor");
28184 if (SWIG_arg_fail(4)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28201 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28204 PyObject
*arg2
= (PyObject
*) 0 ;
28205 PyObject
*arg3
= (PyObject
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 PyObject
* obj1
= 0 ;
28209 PyObject
* obj2
= 0 ;
28210 PyObject
* obj3
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail
;
28221 arg4
= (int)(SWIG_As_int(obj3
));
28222 if (SWIG_arg_fail(4)) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28241 PyObject
* obj0
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28248 if (SWIG_arg_fail(1)) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 Py_INCREF(Py_None
); resultobj
= Py_None
;
28263 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28266 wxDataObject
*arg2
= 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "data", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28275 if (SWIG_arg_fail(1)) SWIG_fail
;
28277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28278 if (SWIG_arg_fail(2)) SWIG_fail
;
28279 if (arg2
== NULL
) {
28280 SWIG_null_ref("wxDataObject");
28282 if (SWIG_arg_fail(2)) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 (arg1
)->SetData(*arg2
);
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 Py_INCREF(Py_None
); resultobj
= Py_None
;
28298 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28301 wxDataObject
*result
;
28302 PyObject
* obj0
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28309 if (SWIG_arg_fail(1)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28324 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28327 wxDragResult arg2
;
28328 wxCursor
*arg3
= 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 PyObject
* obj2
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "res",(char *) "cursor", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail
;
28340 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28341 if (SWIG_arg_fail(2)) SWIG_fail
;
28344 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(3)) SWIG_fail
;
28346 if (arg3
== NULL
) {
28347 SWIG_null_ref("wxCursor");
28349 if (SWIG_arg_fail(3)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28358 Py_INCREF(Py_None
); resultobj
= Py_None
;
28365 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28368 int arg2
= (int) wxDrag_CopyOnly
;
28369 wxDragResult result
;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "flags", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28378 if (SWIG_arg_fail(1)) SWIG_fail
;
28381 arg2
= (int)(SWIG_As_int(obj1
));
28382 if (SWIG_arg_fail(2)) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_From_int((result
));
28399 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28401 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28402 wxDragResult arg2
;
28404 PyObject
* obj0
= 0 ;
28405 PyObject
* obj1
= 0 ;
28406 char *kwnames
[] = {
28407 (char *) "self",(char *) "effect", NULL
28410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28412 if (SWIG_arg_fail(1)) SWIG_fail
;
28414 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28415 if (SWIG_arg_fail(2)) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28433 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28436 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28438 return Py_BuildValue((char *)"");
28440 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
;
28442 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28443 wxPyDropTarget
*result
;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "dataObject", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28452 if (SWIG_arg_fail(1)) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28468 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28471 PyObject
*arg2
= (PyObject
*) 0 ;
28472 PyObject
*arg3
= (PyObject
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 PyObject
* obj2
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self",(char *) "self",(char *) "_class", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28482 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 Py_INCREF(Py_None
); resultobj
= Py_None
;
28499 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28502 PyObject
* obj0
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 Py_INCREF(Py_None
); resultobj
= Py_None
;
28524 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28527 wxDataObject
*result
;
28528 PyObject
* obj0
= 0 ;
28529 char *kwnames
[] = {
28530 (char *) "self", NULL
28533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28535 if (SWIG_arg_fail(1)) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28550 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
;
28552 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28553 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "dataObject", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28562 if (SWIG_arg_fail(1)) SWIG_fail
;
28563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28564 if (SWIG_arg_fail(2)) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 (arg1
)->SetDataObject(arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 Py_INCREF(Py_None
); resultobj
= Py_None
;
28579 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28580 PyObject
*resultobj
;
28581 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28584 wxDragResult arg4
;
28585 wxDragResult result
;
28586 PyObject
* obj0
= 0 ;
28587 PyObject
* obj1
= 0 ;
28588 PyObject
* obj2
= 0 ;
28589 PyObject
* obj3
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28596 if (SWIG_arg_fail(1)) SWIG_fail
;
28598 arg2
= (int)(SWIG_As_int(obj1
));
28599 if (SWIG_arg_fail(2)) SWIG_fail
;
28602 arg3
= (int)(SWIG_As_int(obj2
));
28603 if (SWIG_arg_fail(3)) SWIG_fail
;
28606 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28607 if (SWIG_arg_fail(4)) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_From_int((result
));
28623 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28628 wxDragResult arg4
;
28629 wxDragResult result
;
28630 PyObject
* obj0
= 0 ;
28631 PyObject
* obj1
= 0 ;
28632 PyObject
* obj2
= 0 ;
28633 PyObject
* obj3
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail
;
28642 arg2
= (int)(SWIG_As_int(obj1
));
28643 if (SWIG_arg_fail(2)) SWIG_fail
;
28646 arg3
= (int)(SWIG_As_int(obj2
));
28647 if (SWIG_arg_fail(3)) SWIG_fail
;
28650 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28651 if (SWIG_arg_fail(4)) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_From_int((result
));
28667 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 char *kwnames
[] = {
28672 (char *) "self", NULL
28675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28677 if (SWIG_arg_fail(1)) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->base_OnLeave();
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 Py_INCREF(Py_None
); resultobj
= Py_None
;
28692 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 PyObject
* obj2
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self",(char *) "x",(char *) "y", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28707 if (SWIG_arg_fail(1)) SWIG_fail
;
28709 arg2
= (int)(SWIG_As_int(obj1
));
28710 if (SWIG_arg_fail(2)) SWIG_fail
;
28713 arg3
= (int)(SWIG_As_int(obj2
));
28714 if (SWIG_arg_fail(3)) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28732 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (bool)(arg1
)->GetData();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28760 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
28762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28763 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
28765 return Py_BuildValue((char *)"");
28767 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxPyTextDropTarget
*result
;
28770 char *kwnames
[] = {
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
28789 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28792 PyObject
*arg2
= (PyObject
*) 0 ;
28793 PyObject
*arg3
= (PyObject
*) 0 ;
28794 PyObject
* obj0
= 0 ;
28795 PyObject
* obj1
= 0 ;
28796 PyObject
* obj2
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "self",(char *) "_class", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 Py_INCREF(Py_None
); resultobj
= Py_None
;
28820 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28825 wxDragResult arg4
;
28826 wxDragResult result
;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 PyObject
* obj2
= 0 ;
28830 PyObject
* obj3
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28837 if (SWIG_arg_fail(1)) SWIG_fail
;
28839 arg2
= (int)(SWIG_As_int(obj1
));
28840 if (SWIG_arg_fail(2)) SWIG_fail
;
28843 arg3
= (int)(SWIG_As_int(obj2
));
28844 if (SWIG_arg_fail(3)) SWIG_fail
;
28847 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28848 if (SWIG_arg_fail(4)) SWIG_fail
;
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_From_int((result
));
28864 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
;
28866 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28869 wxDragResult arg4
;
28870 wxDragResult result
;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 PyObject
* obj2
= 0 ;
28874 PyObject
* obj3
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28881 if (SWIG_arg_fail(1)) SWIG_fail
;
28883 arg2
= (int)(SWIG_As_int(obj1
));
28884 if (SWIG_arg_fail(2)) SWIG_fail
;
28887 arg3
= (int)(SWIG_As_int(obj2
));
28888 if (SWIG_arg_fail(3)) SWIG_fail
;
28891 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28892 if (SWIG_arg_fail(4)) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= SWIG_From_int((result
));
28908 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28918 if (SWIG_arg_fail(1)) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 (arg1
)->base_OnLeave();
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 Py_INCREF(Py_None
); resultobj
= Py_None
;
28933 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28934 PyObject
*resultobj
;
28935 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 PyObject
* obj2
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "self",(char *) "x",(char *) "y", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28948 if (SWIG_arg_fail(1)) SWIG_fail
;
28950 arg2
= (int)(SWIG_As_int(obj1
));
28951 if (SWIG_arg_fail(2)) SWIG_fail
;
28954 arg3
= (int)(SWIG_As_int(obj2
));
28955 if (SWIG_arg_fail(3)) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28973 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28978 wxDragResult arg4
;
28979 wxDragResult result
;
28980 PyObject
* obj0
= 0 ;
28981 PyObject
* obj1
= 0 ;
28982 PyObject
* obj2
= 0 ;
28983 PyObject
* obj3
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28990 if (SWIG_arg_fail(1)) SWIG_fail
;
28992 arg2
= (int)(SWIG_As_int(obj1
));
28993 if (SWIG_arg_fail(2)) SWIG_fail
;
28996 arg3
= (int)(SWIG_As_int(obj2
));
28997 if (SWIG_arg_fail(3)) SWIG_fail
;
29000 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29001 if (SWIG_arg_fail(4)) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_From_int((result
));
29017 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29020 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29022 return Py_BuildValue((char *)"");
29024 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
;
29026 wxPyFileDropTarget
*result
;
29027 char *kwnames
[] = {
29031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29046 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29049 PyObject
*arg2
= (PyObject
*) 0 ;
29050 PyObject
*arg3
= (PyObject
*) 0 ;
29051 PyObject
* obj0
= 0 ;
29052 PyObject
* obj1
= 0 ;
29053 PyObject
* obj2
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "self",(char *) "_class", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29060 if (SWIG_arg_fail(1)) SWIG_fail
;
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29067 wxPyEndAllowThreads(__tstate
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29070 Py_INCREF(Py_None
); resultobj
= Py_None
;
29077 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
;
29079 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29082 wxDragResult arg4
;
29083 wxDragResult result
;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 PyObject
* obj3
= 0 ;
29088 char *kwnames
[] = {
29089 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29094 if (SWIG_arg_fail(1)) SWIG_fail
;
29096 arg2
= (int)(SWIG_As_int(obj1
));
29097 if (SWIG_arg_fail(2)) SWIG_fail
;
29100 arg3
= (int)(SWIG_As_int(obj2
));
29101 if (SWIG_arg_fail(3)) SWIG_fail
;
29104 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29105 if (SWIG_arg_fail(4)) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_From_int((result
));
29121 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
;
29123 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29126 wxDragResult arg4
;
29127 wxDragResult result
;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 PyObject
* obj3
= 0 ;
29132 char *kwnames
[] = {
29133 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29138 if (SWIG_arg_fail(1)) SWIG_fail
;
29140 arg2
= (int)(SWIG_As_int(obj1
));
29141 if (SWIG_arg_fail(2)) SWIG_fail
;
29144 arg3
= (int)(SWIG_As_int(obj2
));
29145 if (SWIG_arg_fail(3)) SWIG_fail
;
29148 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29149 if (SWIG_arg_fail(4)) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= SWIG_From_int((result
));
29165 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
;
29167 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29168 PyObject
* obj0
= 0 ;
29169 char *kwnames
[] = {
29170 (char *) "self", NULL
29173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29175 if (SWIG_arg_fail(1)) SWIG_fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->base_OnLeave();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 Py_INCREF(Py_None
); resultobj
= Py_None
;
29190 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 PyObject
* obj2
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self",(char *) "x",(char *) "y", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail
;
29207 arg2
= (int)(SWIG_As_int(obj1
));
29208 if (SWIG_arg_fail(2)) SWIG_fail
;
29211 arg3
= (int)(SWIG_As_int(obj2
));
29212 if (SWIG_arg_fail(3)) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29230 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29235 wxDragResult arg4
;
29236 wxDragResult result
;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 PyObject
* obj3
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29247 if (SWIG_arg_fail(1)) SWIG_fail
;
29249 arg2
= (int)(SWIG_As_int(obj1
));
29250 if (SWIG_arg_fail(2)) SWIG_fail
;
29253 arg3
= (int)(SWIG_As_int(obj2
));
29254 if (SWIG_arg_fail(3)) SWIG_fail
;
29257 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29258 if (SWIG_arg_fail(4)) SWIG_fail
;
29261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29262 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_From_int((result
));
29274 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29277 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29279 return Py_BuildValue((char *)"");
29281 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxClipboard
*result
;
29284 char *kwnames
[] = {
29288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 result
= (wxClipboard
*)new wxClipboard();
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29303 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 char *kwnames
[] = {
29308 (char *) "self", NULL
29311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29313 if (SWIG_arg_fail(1)) SWIG_fail
;
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29321 Py_INCREF(Py_None
); resultobj
= Py_None
;
29328 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
;
29330 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (bool)(arg1
)->Open();
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29356 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "self", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29366 if (SWIG_arg_fail(1)) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 Py_INCREF(Py_None
); resultobj
= Py_None
;
29381 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29385 PyObject
* obj0
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29392 if (SWIG_arg_fail(1)) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29409 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29412 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self",(char *) "data", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29422 if (SWIG_arg_fail(1)) SWIG_fail
;
29423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29424 if (SWIG_arg_fail(2)) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= (bool)(arg1
)->AddData(arg2
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29441 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29444 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "self",(char *) "data", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29454 if (SWIG_arg_fail(1)) SWIG_fail
;
29455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29456 if (SWIG_arg_fail(2)) SWIG_fail
;
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29459 result
= (bool)(arg1
)->SetData(arg2
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29473 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
;
29475 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29476 wxDataFormat
*arg2
= 0 ;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self",(char *) "format", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail
;
29488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29489 if (SWIG_arg_fail(2)) SWIG_fail
;
29490 if (arg2
== NULL
) {
29491 SWIG_null_ref("wxDataFormat");
29493 if (SWIG_arg_fail(2)) SWIG_fail
;
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29511 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
;
29513 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29514 wxDataObject
*arg2
= 0 ;
29516 PyObject
* obj0
= 0 ;
29517 PyObject
* obj1
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self",(char *) "data", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29524 if (SWIG_arg_fail(1)) SWIG_fail
;
29526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29527 if (SWIG_arg_fail(2)) SWIG_fail
;
29528 if (arg2
== NULL
) {
29529 SWIG_null_ref("wxDataObject");
29531 if (SWIG_arg_fail(2)) SWIG_fail
;
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 result
= (bool)(arg1
)->GetData(*arg2
);
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29549 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
;
29551 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29552 PyObject
* obj0
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29559 if (SWIG_arg_fail(1)) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 Py_INCREF(Py_None
); resultobj
= Py_None
;
29574 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29578 PyObject
* obj0
= 0 ;
29579 char *kwnames
[] = {
29580 (char *) "self", NULL
29583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29585 if (SWIG_arg_fail(1)) SWIG_fail
;
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (bool)(arg1
)->Flush();
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29602 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
;
29604 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29605 bool arg2
= (bool) true ;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 char *kwnames
[] = {
29609 (char *) "self",(char *) "primary", NULL
29612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29614 if (SWIG_arg_fail(1)) SWIG_fail
;
29617 arg2
= (bool)(SWIG_As_bool(obj1
));
29618 if (SWIG_arg_fail(2)) SWIG_fail
;
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 (arg1
)->UsePrimarySelection(arg2
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 Py_INCREF(Py_None
); resultobj
= Py_None
;
29635 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxClipboard
*result
;
29638 char *kwnames
[] = {
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29645 result
= (wxClipboard
*)wxClipboard::Get();
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29657 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29660 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29662 return Py_BuildValue((char *)"");
29664 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29667 wxClipboardLocker
*result
;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "clipboard", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29692 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29695 PyObject
* obj0
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 Py_INCREF(Py_None
); resultobj
= Py_None
;
29717 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29745 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29748 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29750 return Py_BuildValue((char *)"");
29752 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 int arg1
= (int) 0 ;
29755 int arg2
= (int) 0 ;
29756 int arg3
= (int) 0 ;
29757 int arg4
= (int) 0 ;
29758 wxVideoMode
*result
;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 PyObject
* obj2
= 0 ;
29762 PyObject
* obj3
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
29767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29770 arg1
= (int)(SWIG_As_int(obj0
));
29771 if (SWIG_arg_fail(1)) SWIG_fail
;
29776 arg2
= (int)(SWIG_As_int(obj1
));
29777 if (SWIG_arg_fail(2)) SWIG_fail
;
29782 arg3
= (int)(SWIG_As_int(obj2
));
29783 if (SWIG_arg_fail(3)) SWIG_fail
;
29788 arg4
= (int)(SWIG_As_int(obj3
));
29789 if (SWIG_arg_fail(4)) SWIG_fail
;
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
29796 wxPyEndAllowThreads(__tstate
);
29797 if (PyErr_Occurred()) SWIG_fail
;
29799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
29806 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
;
29808 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29809 PyObject
* obj0
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "self", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
29815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29816 if (SWIG_arg_fail(1)) SWIG_fail
;
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29824 Py_INCREF(Py_None
); resultobj
= Py_None
;
29831 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29832 PyObject
*resultobj
;
29833 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29834 wxVideoMode
*arg2
= 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self",(char *) "other", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
29843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29844 if (SWIG_arg_fail(1)) SWIG_fail
;
29846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29847 if (SWIG_arg_fail(2)) SWIG_fail
;
29848 if (arg2
== NULL
) {
29849 SWIG_null_ref("wxVideoMode");
29851 if (SWIG_arg_fail(2)) SWIG_fail
;
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29869 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 char *kwnames
[] = {
29875 (char *) "self", NULL
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
29879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29880 if (SWIG_arg_fail(1)) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= SWIG_From_int((int)(result
));
29897 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
;
29899 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29901 PyObject
* obj0
= 0 ;
29902 char *kwnames
[] = {
29903 (char *) "self", NULL
29906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
29907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29908 if (SWIG_arg_fail(1)) SWIG_fail
;
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_From_int((int)(result
));
29925 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
;
29927 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29929 PyObject
* obj0
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
29935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29936 if (SWIG_arg_fail(1)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_From_int((int)(result
));
29953 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
;
29955 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29957 PyObject
* obj0
= 0 ;
29958 char *kwnames
[] = {
29959 (char *) "self", NULL
29962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
29963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29964 if (SWIG_arg_fail(1)) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29981 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29984 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
29986 PyObject
* obj0
= 0 ;
29987 PyObject
* obj1
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self",(char *) "other", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
29993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29994 if (SWIG_arg_fail(1)) SWIG_fail
;
29995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29996 if (SWIG_arg_fail(2)) SWIG_fail
;
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30013 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
;
30015 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30016 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self",(char *) "other", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(1)) SWIG_fail
;
30027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30028 if (SWIG_arg_fail(2)) SWIG_fail
;
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30045 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
;
30047 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "w", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(1)) SWIG_fail
;
30059 arg2
= (int)(SWIG_As_int(obj1
));
30060 if (SWIG_arg_fail(2)) SWIG_fail
;
30062 if (arg1
) (arg1
)->w
= arg2
;
30064 Py_INCREF(Py_None
); resultobj
= Py_None
;
30071 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30072 PyObject
*resultobj
;
30073 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30075 PyObject
* obj0
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "self", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30082 if (SWIG_arg_fail(1)) SWIG_fail
;
30083 result
= (int) ((arg1
)->w
);
30086 resultobj
= SWIG_From_int((int)(result
));
30094 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
;
30096 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self",(char *) "h", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail
;
30108 arg2
= (int)(SWIG_As_int(obj1
));
30109 if (SWIG_arg_fail(2)) SWIG_fail
;
30111 if (arg1
) (arg1
)->h
= arg2
;
30113 Py_INCREF(Py_None
); resultobj
= Py_None
;
30120 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
;
30122 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30124 PyObject
* obj0
= 0 ;
30125 char *kwnames
[] = {
30126 (char *) "self", NULL
30129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30131 if (SWIG_arg_fail(1)) SWIG_fail
;
30132 result
= (int) ((arg1
)->h
);
30135 resultobj
= SWIG_From_int((int)(result
));
30143 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
;
30145 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 char *kwnames
[] = {
30150 (char *) "self",(char *) "bpp", NULL
30153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30155 if (SWIG_arg_fail(1)) SWIG_fail
;
30157 arg2
= (int)(SWIG_As_int(obj1
));
30158 if (SWIG_arg_fail(2)) SWIG_fail
;
30160 if (arg1
) (arg1
)->bpp
= arg2
;
30162 Py_INCREF(Py_None
); resultobj
= Py_None
;
30169 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
;
30171 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30173 PyObject
* obj0
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30180 if (SWIG_arg_fail(1)) SWIG_fail
;
30181 result
= (int) ((arg1
)->bpp
);
30184 resultobj
= SWIG_From_int((int)(result
));
30192 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
;
30194 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30196 PyObject
* obj0
= 0 ;
30197 PyObject
* obj1
= 0 ;
30198 char *kwnames
[] = {
30199 (char *) "self",(char *) "refresh", NULL
30202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30204 if (SWIG_arg_fail(1)) SWIG_fail
;
30206 arg2
= (int)(SWIG_As_int(obj1
));
30207 if (SWIG_arg_fail(2)) SWIG_fail
;
30209 if (arg1
) (arg1
)->refresh
= arg2
;
30211 Py_INCREF(Py_None
); resultobj
= Py_None
;
30218 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
;
30220 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30222 PyObject
* obj0
= 0 ;
30223 char *kwnames
[] = {
30224 (char *) "self", NULL
30227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30229 if (SWIG_arg_fail(1)) SWIG_fail
;
30230 result
= (int) ((arg1
)->refresh
);
30233 resultobj
= SWIG_From_int((int)(result
));
30241 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30244 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30246 return Py_BuildValue((char *)"");
30248 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30249 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30254 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30257 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30262 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
;
30264 size_t arg1
= (size_t) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "index", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30274 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30275 if (SWIG_arg_fail(1)) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (wxDisplay
*)new wxDisplay(arg1
);
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30292 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(1)) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 Py_INCREF(Py_None
); resultobj
= Py_None
;
30317 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30320 char *kwnames
[] = {
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (size_t)wxDisplay::GetCount();
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30341 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 wxPoint
*arg1
= 0 ;
30346 PyObject
* obj0
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "pt", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30354 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= SWIG_From_int((int)(result
));
30372 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30373 PyObject
*resultobj
;
30374 wxWindow
*arg1
= (wxWindow
*) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "window", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30383 if (SWIG_arg_fail(1)) SWIG_fail
;
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 result
= (int)Display_GetFromWindow(arg1
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= SWIG_From_int((int)(result
));
30400 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30404 PyObject
* obj0
= 0 ;
30405 char *kwnames
[] = {
30406 (char *) "self", NULL
30409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30411 if (SWIG_arg_fail(1)) SWIG_fail
;
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30428 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
;
30430 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 char *kwnames
[] = {
30434 (char *) "self", NULL
30437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30439 if (SWIG_arg_fail(1)) SWIG_fail
;
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30448 wxRect
* resultptr
;
30449 resultptr
= new wxRect((wxRect
&)(result
));
30450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30458 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= ((wxDisplay
const *)arg1
)->GetName();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30490 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 char *kwnames
[] = {
30496 (char *) "self", NULL
30499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30501 if (SWIG_arg_fail(1)) SWIG_fail
;
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30518 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
;
30520 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30521 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30522 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30524 PyObject
* obj0
= 0 ;
30525 PyObject
* obj1
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self",(char *) "mode", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30536 if (SWIG_arg_fail(2)) SWIG_fail
;
30537 if (arg2
== NULL
) {
30538 SWIG_null_ref("wxVideoMode");
30540 if (SWIG_arg_fail(2)) SWIG_fail
;
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= result
;
30557 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
;
30559 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30560 wxVideoMode result
;
30561 PyObject
* obj0
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail
;
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30577 wxVideoMode
* resultptr
;
30578 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30587 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
;
30589 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30590 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30591 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self",(char *) "mode", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30601 if (SWIG_arg_fail(1)) SWIG_fail
;
30604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30605 if (SWIG_arg_fail(2)) SWIG_fail
;
30606 if (arg2
== NULL
) {
30607 SWIG_null_ref("wxVideoMode");
30609 if (SWIG_arg_fail(2)) SWIG_fail
;
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30628 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 (arg1
)->ResetMode();
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30653 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30656 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30658 return Py_BuildValue((char *)"");
30660 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxStandardPaths
*result
;
30663 char *kwnames
[] = {
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (wxStandardPaths
*)StandardPaths_Get();
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30682 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
;
30684 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 char *kwnames
[] = {
30688 (char *) "self", NULL
30691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30693 if (SWIG_arg_fail(1)) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30714 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30718 PyObject
* obj0
= 0 ;
30719 char *kwnames
[] = {
30720 (char *) "self", NULL
30723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30725 if (SWIG_arg_fail(1)) SWIG_fail
;
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30746 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "self", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30757 if (SWIG_arg_fail(1)) SWIG_fail
;
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30778 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
;
30780 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 char *kwnames
[] = {
30784 (char *) "self", NULL
30787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
30788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30789 if (SWIG_arg_fail(1)) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30810 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
;
30812 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 char *kwnames
[] = {
30816 (char *) "self", NULL
30819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
30820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30821 if (SWIG_arg_fail(1)) SWIG_fail
;
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30824 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30842 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30846 PyObject
* obj0
= 0 ;
30847 char *kwnames
[] = {
30848 (char *) "self", NULL
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
30852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30853 if (SWIG_arg_fail(1)) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30874 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
30884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30885 if (SWIG_arg_fail(1)) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30906 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30909 wxString
*arg2
= 0 ;
30910 bool temp2
= false ;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "self",(char *) "prefix", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
30918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30919 if (SWIG_arg_fail(1)) SWIG_fail
;
30921 arg2
= wxString_in_helper(obj1
);
30922 if (arg2
== NULL
) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 Py_INCREF(Py_None
); resultobj
= Py_None
;
30947 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
30957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= wxStandardPaths_GetInstallPrefix(arg1
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30979 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
30981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30982 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
30984 return Py_BuildValue((char *)"");
30986 static PyMethodDef SwigMethods
[] = {
30987 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
30994 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31001 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31065 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31073 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"Caret_Destroy", (PyCFunction
) _wrap_Caret_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31091 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31094 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31097 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31100 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31106 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31120 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31126 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31131 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31134 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31148 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31151 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31152 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31155 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31182 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31184 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31186 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31188 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31195 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31201 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31215 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31219 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31222 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31239 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31247 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31294 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31312 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31322 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31338 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31354 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31368 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31377 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31420 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31423 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31426 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31430 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31523 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31524 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31525 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31526 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31543 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31588 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31630 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31631 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31636 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31645 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31652 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31655 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31658 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31666 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31670 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31677 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
31678 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31686 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31690 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31700 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31711 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31719 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31741 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31745 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
31763 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
31777 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
31788 { NULL
, NULL
, 0, NULL
}
31792 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31794 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31797 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31798 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31800 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31801 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31803 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31804 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31806 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31807 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31809 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31810 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31812 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
31813 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
31815 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31816 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31818 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31821 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31822 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31824 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31825 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31827 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
31828 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
31830 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31831 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31833 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31836 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31837 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31839 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31840 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31842 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31843 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31845 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31846 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31848 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31849 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31851 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31852 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31854 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31857 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31858 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31860 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31861 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31863 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31866 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31867 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31869 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31870 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31872 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31873 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31875 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31876 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31878 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31879 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31881 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31882 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31884 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31887 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
31888 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
31890 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31891 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31893 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31894 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31896 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31897 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31899 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31902 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31903 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31905 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31906 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31908 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31909 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31911 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
31912 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
31914 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
31915 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
31917 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
31918 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31920 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
31921 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31923 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
31924 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
31926 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
31927 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31929 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
31930 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
31932 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
31933 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
31935 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
31936 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31938 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
31939 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
31941 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
31942 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31944 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
31945 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
31947 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
31948 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
31950 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
31951 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
31953 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
31954 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
31956 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
31957 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
31959 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
31960 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31962 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
31963 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
31965 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
31966 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31968 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
31969 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
31971 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
31972 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31974 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
31975 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
31977 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
31978 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
31980 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
31981 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
31983 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31986 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31987 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31989 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31992 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31993 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31995 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
31996 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
31998 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31999 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32001 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32002 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32004 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32005 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32007 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32008 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32010 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32011 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32013 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32014 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32016 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32017 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32019 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32020 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32022 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32023 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32025 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32028 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32029 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32031 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32032 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32034 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32035 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32037 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32038 return (void *)((wxObject
*) ((wxSizer
*) x
));
32040 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32041 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32043 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32044 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32046 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32049 static void *_p_wxEventTo_p_wxObject(void *x
) {
32050 return (void *)((wxObject
*) ((wxEvent
*) x
));
32052 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32053 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32055 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32056 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32058 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32059 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32061 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32062 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32064 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32065 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32067 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32068 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32070 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32071 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32073 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32074 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32076 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32077 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32079 static void *_p_wxControlTo_p_wxObject(void *x
) {
32080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32082 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32083 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32085 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32086 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32088 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32089 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32091 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32092 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32094 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32095 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32097 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32098 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32100 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32103 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32104 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32106 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32107 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32109 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32110 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32112 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32115 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32116 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32118 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32121 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32122 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32124 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32125 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32127 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32128 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32130 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32131 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32133 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32134 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32136 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32137 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32142 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32143 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32145 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32146 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32148 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32149 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32151 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32154 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32157 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32158 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32160 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32161 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32163 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32164 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32166 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32169 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32170 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32172 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32175 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32176 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32178 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32179 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32181 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32182 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32184 static void *_p_wxImageTo_p_wxObject(void *x
) {
32185 return (void *)((wxObject
*) ((wxImage
*) x
));
32187 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32188 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32190 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32191 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32193 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32194 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32196 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32199 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32200 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32202 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32203 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32205 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32206 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32208 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32211 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32214 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32217 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32220 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32223 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32226 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32229 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32232 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32235 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32238 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32241 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32244 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32247 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32250 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32253 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32256 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32259 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32262 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32265 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32268 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32271 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32272 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32274 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32275 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32277 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32278 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32280 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32281 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32283 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32284 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32286 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32287 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32289 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32290 return (void *)((wxWindow
*) ((wxControl
*) x
));
32292 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32293 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32295 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32296 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32298 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32299 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32301 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32302 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32304 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}};
32305 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}};
32306 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}};
32307 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}};
32308 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}};
32309 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}};
32310 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}};
32311 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}};
32312 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}};
32313 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}};
32314 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}};
32315 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}};
32316 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}};
32317 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}};
32318 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}};
32319 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}};
32320 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}};
32321 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}};
32322 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}};
32323 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}};
32324 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}};
32325 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}};
32326 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}};
32327 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}};
32328 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}};
32329 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}};
32330 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}};
32331 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}};
32332 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}};
32333 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}};
32334 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}};
32335 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}};
32336 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}};
32337 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}};
32338 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}};
32339 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}};
32340 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}};
32341 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}};
32342 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}};
32343 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}};
32344 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}};
32345 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}};
32346 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}};
32347 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}};
32348 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}};
32349 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}};
32350 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}};
32351 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}};
32352 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}};
32353 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}};
32354 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}};
32355 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}};
32356 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}};
32357 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}};
32358 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}};
32359 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}};
32360 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}};
32361 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}};
32362 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}};
32363 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}};
32364 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}};
32365 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}};
32366 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}};
32367 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}};
32368 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}};
32369 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}};
32370 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}};
32371 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}};
32372 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}};
32373 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}};
32374 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}};
32375 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}};
32376 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}};
32377 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}};
32378 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}};
32379 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}};
32380 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}};
32381 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}};
32382 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}};
32383 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}};
32384 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}};
32385 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}};
32386 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}};
32387 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}};
32388 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}};
32389 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}};
32390 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}};
32391 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}};
32392 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}};
32393 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}};
32394 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}};
32395 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}};
32396 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}};
32397 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}};
32398 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}};
32399 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}};
32401 static swig_type_info
*swig_types_initial
[] = {
32402 _swigt__p_wxLogChain
,
32403 _swigt__p_wxMutexGuiLocker
,
32404 _swigt__p_wxMetafile
,
32405 _swigt__p_wxFileHistory
,
32409 _swigt__p_wxDateTime__TimeZone
,
32410 _swigt__p_wxConfigBase
,
32411 _swigt__p_wxDisplay
,
32412 _swigt__p_wxFileType
,
32413 _swigt__p_wxLogGui
,
32415 _swigt__p_wxDataFormat
,
32416 _swigt__p_wxTimerEvent
,
32419 _swigt__std__ptrdiff_t
,
32422 _swigt__p_wxClipboard
,
32423 _swigt__p_wxStopWatch
,
32424 _swigt__p_wxClipboardLocker
,
32426 _swigt__p_wxLogStderr
,
32427 _swigt__p_wxLogTextCtrl
,
32428 _swigt__p_wxTextCtrl
,
32429 _swigt__p_wxBusyCursor
,
32430 _swigt__p_wxBitmapDataObject
,
32431 _swigt__p_wxTextDataObject
,
32432 _swigt__p_wxDataObject
,
32433 _swigt__p_wxPyTextDataObject
,
32434 _swigt__p_wxPyBitmapDataObject
,
32435 _swigt__p_wxFileDataObject
,
32436 _swigt__p_wxCustomDataObject
,
32437 _swigt__p_wxURLDataObject
,
32438 _swigt__p_wxMetafileDataObject
,
32440 _swigt__p_wxTimerRunner
,
32441 _swigt__p_wxLogWindow
,
32442 _swigt__p_wxTimeSpan
,
32443 _swigt__p_wxArrayString
,
32444 _swigt__p_wxWindowDisabler
,
32445 _swigt__p_form_ops_t
,
32446 _swigt__p_wxToolTip
,
32447 _swigt__p_wxDataObjectComposite
,
32448 _swigt__p_wxFileConfig
,
32449 _swigt__p_wxSystemSettings
,
32450 _swigt__p_wxVideoMode
,
32451 _swigt__p_wxDataObjectSimple
,
32452 _swigt__p_wxPyDataObjectSimple
,
32453 _swigt__p_wxDuplexMode
,
32454 _swigt__p_wxEvtHandler
,
32457 _swigt__p_wxSingleInstanceChecker
,
32458 _swigt__p_wxStandardPaths
,
32459 _swigt__p_wxFileTypeInfo
,
32462 _swigt__p_wxPaperSize
,
32463 _swigt__p_wxMimeTypesManager
,
32464 _swigt__p_wxPyArtProvider
,
32465 _swigt__p_wxPyTipProvider
,
32466 _swigt__p_wxTipProvider
,
32467 _swigt__p_wxJoystick
,
32468 _swigt__p_wxSystemOptions
,
32470 _swigt__p_wxJoystickEvent
,
32471 _swigt__p_wxCursor
,
32472 _swigt__p_wxObject
,
32473 _swigt__p_wxOutputStream
,
32474 _swigt__p_wxDateTime
,
32475 _swigt__p_wxPyDropSource
,
32476 _swigt__p_unsigned_long
,
32477 _swigt__p_wxKillError
,
32478 _swigt__p_wxWindow
,
32479 _swigt__p_wxString
,
32480 _swigt__p_wxPyProcess
,
32481 _swigt__p_wxBitmap
,
32482 _swigt__p_wxConfig
,
32483 _swigt__unsigned_int
,
32484 _swigt__p_unsigned_int
,
32485 _swigt__p_unsigned_char
,
32487 _swigt__p_wxBusyInfo
,
32488 _swigt__p_wxPyDropTarget
,
32489 _swigt__p_wxPyTextDropTarget
,
32490 _swigt__p_wxPyFileDropTarget
,
32491 _swigt__p_wxProcessEvent
,
32493 _swigt__p_wxLogNull
,
32494 _swigt__p_wxColour
,
32495 _swigt__p_wxPyTimer
,
32496 _swigt__p_wxConfigPathChanger
,
32497 _swigt__p_wxDateSpan
,
32502 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32504 static swig_const_info swig_const_table
[] = {
32505 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32506 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32507 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32508 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32509 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32510 {0, 0, 0, 0.0, 0, 0}};
32521 /* Python-specific SWIG API */
32522 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32523 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32524 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32526 /* -----------------------------------------------------------------------------
32527 * global variable support code.
32528 * ----------------------------------------------------------------------------- */
32530 typedef struct swig_globalvar
{
32531 char *name
; /* Name of global variable */
32532 PyObject
*(*get_attr
)(); /* Return the current value */
32533 int (*set_attr
)(PyObject
*); /* Set the value */
32534 struct swig_globalvar
*next
;
32537 typedef struct swig_varlinkobject
{
32539 swig_globalvar
*vars
;
32540 } swig_varlinkobject
;
32543 swig_varlink_repr(swig_varlinkobject
*v
) {
32545 return PyString_FromString("<Swig global variables>");
32549 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32550 swig_globalvar
*var
;
32552 fprintf(fp
,"Swig global variables { ");
32553 for (var
= v
->vars
; var
; var
=var
->next
) {
32554 fprintf(fp
,"%s", var
->name
);
32555 if (var
->next
) fprintf(fp
,", ");
32557 fprintf(fp
," }\n");
32562 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32563 swig_globalvar
*var
= v
->vars
;
32565 if (strcmp(var
->name
,n
) == 0) {
32566 return (*var
->get_attr
)();
32570 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32575 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32576 swig_globalvar
*var
= v
->vars
;
32578 if (strcmp(var
->name
,n
) == 0) {
32579 return (*var
->set_attr
)(p
);
32583 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32587 static PyTypeObject varlinktype
= {
32588 PyObject_HEAD_INIT(0)
32589 0, /* Number of items in variable part (ob_size) */
32590 (char *)"swigvarlink", /* Type name (tp_name) */
32591 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32592 0, /* Itemsize (tp_itemsize) */
32593 0, /* Deallocator (tp_dealloc) */
32594 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32595 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32596 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32597 0, /* tp_compare */
32598 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32599 0, /* tp_as_number */
32600 0, /* tp_as_sequence */
32601 0, /* tp_as_mapping */
32605 0, /* tp_getattro */
32606 0, /* tp_setattro */
32607 0, /* tp_as_buffer */
32610 #if PY_VERSION_HEX >= 0x02000000
32611 0, /* tp_traverse */
32614 #if PY_VERSION_HEX >= 0x02010000
32615 0, /* tp_richcompare */
32616 0, /* tp_weaklistoffset */
32618 #if PY_VERSION_HEX >= 0x02020000
32619 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32621 #if PY_VERSION_HEX >= 0x02030000
32624 #ifdef COUNT_ALLOCS
32625 0,0,0,0 /* tp_alloc -> tp_next */
32629 /* Create a variable linking object for use later */
32631 SWIG_Python_newvarlink(void) {
32632 swig_varlinkobject
*result
= 0;
32633 result
= PyMem_NEW(swig_varlinkobject
,1);
32634 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32635 result
->ob_type
= &varlinktype
;
32637 result
->ob_refcnt
= 0;
32638 Py_XINCREF((PyObject
*) result
);
32639 return ((PyObject
*) result
);
32643 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32644 swig_varlinkobject
*v
;
32645 swig_globalvar
*gv
;
32646 v
= (swig_varlinkobject
*) p
;
32647 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32648 gv
->name
= (char *) malloc(strlen(name
)+1);
32649 strcpy(gv
->name
,name
);
32650 gv
->get_attr
= get_attr
;
32651 gv
->set_attr
= set_attr
;
32652 gv
->next
= v
->vars
;
32656 /* -----------------------------------------------------------------------------
32657 * constants/methods manipulation
32658 * ----------------------------------------------------------------------------- */
32660 /* Install Constants */
32662 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32665 for (i
= 0; constants
[i
].type
; i
++) {
32666 switch(constants
[i
].type
) {
32668 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32670 case SWIG_PY_FLOAT
:
32671 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32673 case SWIG_PY_STRING
:
32674 if (constants
[i
].pvalue
) {
32675 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32677 Py_INCREF(Py_None
);
32681 case SWIG_PY_POINTER
:
32682 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32684 case SWIG_PY_BINARY
:
32685 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32692 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32698 /* -----------------------------------------------------------------------------*/
32699 /* Fix SwigMethods to carry the callback ptrs when needed */
32700 /* -----------------------------------------------------------------------------*/
32703 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32704 swig_const_info
*const_table
,
32705 swig_type_info
**types
,
32706 swig_type_info
**types_initial
) {
32708 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32709 char *c
= methods
[i
].ml_doc
;
32710 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32712 swig_const_info
*ci
= 0;
32713 char *name
= c
+ 10;
32714 for (j
= 0; const_table
[j
].type
; j
++) {
32715 if (strncmp(const_table
[j
].name
, name
,
32716 strlen(const_table
[j
].name
)) == 0) {
32717 ci
= &(const_table
[j
]);
32722 size_t shift
= (ci
->ptype
) - types
;
32723 swig_type_info
*ty
= types_initial
[shift
];
32724 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32725 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32726 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32728 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32729 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32731 strncpy(buff
, "swig_ptr: ", 10);
32733 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32734 methods
[i
].ml_doc
= ndoc
;
32740 /* -----------------------------------------------------------------------------*
32741 * Initialize type list
32742 * -----------------------------------------------------------------------------*/
32744 #if PY_MAJOR_VERSION < 2
32745 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32746 is copied out of Python/modsupport.c in python version 2.3.4 */
32748 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32751 if (!PyModule_Check(m
)) {
32752 PyErr_SetString(PyExc_TypeError
,
32753 "PyModule_AddObject() needs module as first arg");
32757 PyErr_SetString(PyExc_TypeError
,
32758 "PyModule_AddObject() needs non-NULL value");
32762 dict
= PyModule_GetDict(m
);
32763 if (dict
== NULL
) {
32764 /* Internal error -- modules must have a dict! */
32765 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
32766 PyModule_GetName(m
));
32769 if (PyDict_SetItemString(dict
, name
, o
))
32776 static swig_type_info
**
32777 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
32778 static PyMethodDef swig_empty_runtime_method_table
[] = {
32780 NULL
, NULL
, 0, NULL
32784 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
32785 swig_empty_runtime_method_table
);
32786 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
32787 if (pointer
&& module) {
32788 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
32790 return type_list_handle
;
32793 static swig_type_info
**
32794 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
32795 swig_type_info
**type_pointer
;
32797 /* first check if module already created */
32798 type_pointer
= SWIG_Python_GetTypeListHandle();
32799 if (type_pointer
) {
32800 return type_pointer
;
32802 /* create a new module and variable */
32803 return SWIG_Python_SetTypeListHandle(type_list_handle
);
32811 /* -----------------------------------------------------------------------------*
32812 * Partial Init method
32813 * -----------------------------------------------------------------------------*/
32815 #ifdef SWIG_LINK_RUNTIME
32819 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
32825 SWIGEXPORT(void) SWIG_init(void) {
32826 static PyObject
*SWIG_globals
= 0;
32827 static int typeinit
= 0;
32830 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32832 /* Fix SwigMethods to carry the callback ptrs when needed */
32833 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
32835 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32836 d
= PyModule_GetDict(m
);
32839 #ifdef SWIG_LINK_RUNTIME
32840 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
32842 # ifndef SWIG_STATIC_RUNTIME
32843 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
32846 for (i
= 0; swig_types_initial
[i
]; i
++) {
32847 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32851 SWIG_InstallConstants(d
,swig_const_table
);
32854 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
32857 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
32860 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
32863 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
32866 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
32869 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
32872 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
32875 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
32878 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
32881 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
32884 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
32887 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
32890 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
32893 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
32896 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
32899 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
32902 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
32905 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
32908 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
32911 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
32914 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
32917 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
32920 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
32923 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
32926 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
32929 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
32932 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
32935 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
32938 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
32941 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
32944 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
32947 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
32950 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
32953 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
32956 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
32959 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
32962 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
32965 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
32968 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
32971 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
32974 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
32977 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
32980 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
32983 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
32986 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
32989 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
32992 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
32995 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
32998 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33001 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33004 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33007 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33010 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33013 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33016 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33019 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33022 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33025 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33028 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33031 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33034 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33037 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33040 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33043 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33046 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33049 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33052 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33055 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33058 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33061 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33064 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33067 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33070 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33073 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33076 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33079 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33082 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33085 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33088 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33091 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33094 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33097 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33100 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33103 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33106 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33109 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33112 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33115 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33118 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33121 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33124 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33126 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33127 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33128 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33129 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33130 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33132 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33135 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33138 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33141 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33143 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33145 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33148 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33151 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33154 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33157 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33160 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33163 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33166 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33169 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33172 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33175 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33178 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33180 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33181 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33182 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33183 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33184 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33186 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33189 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33192 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33195 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33198 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33201 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33204 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33207 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33210 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33213 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33216 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33219 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33222 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33225 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33228 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33231 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33234 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33237 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33240 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33243 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33246 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33249 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33252 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33255 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33258 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33261 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33264 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33267 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33270 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33273 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33276 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33278 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33280 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33283 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33286 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33289 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33292 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33295 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33298 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33301 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33304 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33307 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33310 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33313 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33316 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33318 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33319 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33320 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33321 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33323 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33326 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33329 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33332 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33335 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33338 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33341 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33344 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33346 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33347 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33348 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33349 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33350 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33351 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33352 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33353 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33354 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33355 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33356 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33357 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33358 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33359 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33360 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33361 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33362 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33363 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33364 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33365 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33366 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33367 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33368 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33369 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33370 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33371 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33372 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33373 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33374 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33375 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33376 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33377 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33378 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33379 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33380 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33381 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33382 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33383 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33384 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33385 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33386 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33387 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33388 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33389 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33390 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33392 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33395 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33398 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33401 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33404 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33407 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33410 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33413 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33416 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33419 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33421 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33422 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33424 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33427 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33430 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33433 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33436 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33439 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33442 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33445 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33448 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33451 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33454 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33457 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33460 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33463 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33466 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33469 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33472 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33475 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33478 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33481 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33484 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33487 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33490 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33493 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33496 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33499 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33502 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33505 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33508 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33511 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33514 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33517 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33520 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33523 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33526 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33529 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33532 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33535 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33538 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33541 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33544 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33547 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33550 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33553 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33556 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33559 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33562 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33565 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33568 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33571 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33574 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33577 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33580 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33583 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33586 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33589 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33592 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33595 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33598 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33601 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33604 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33607 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33610 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33613 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33616 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33619 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33622 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33625 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33628 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33631 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33634 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33637 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33640 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33643 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33646 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33649 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33652 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33655 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33658 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33661 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33664 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33667 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33670 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33673 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33676 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33679 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33682 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33685 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33688 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33691 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33694 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33697 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33700 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33703 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33706 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33709 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33712 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33715 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33718 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33721 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33724 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33727 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33730 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33733 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33736 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33739 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33742 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33745 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33748 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33751 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
33754 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
33757 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
33760 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
33763 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
33766 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
33769 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
33772 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
33775 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
33778 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
33781 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
33784 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
33787 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
33790 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
33793 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
33796 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
33799 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
33802 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
33805 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
33808 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
33811 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
33814 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
33817 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
33820 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
33823 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
33826 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
33829 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
33832 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
33835 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
33838 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
33841 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
33844 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
33847 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
33850 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
33853 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
33856 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
33859 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
33862 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
33865 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
33868 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
33871 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
33874 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
33877 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
33880 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
33883 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
33886 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
33888 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
33890 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
33893 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
33896 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
33899 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
33902 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
33905 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
33908 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
33911 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
33914 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
33917 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
33920 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
33923 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
33926 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
33929 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
33932 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
33935 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
33938 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
33941 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
33944 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
33947 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
33949 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
33951 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
33954 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
33957 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
33960 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
33963 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
33966 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
33969 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
33972 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
33975 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
33978 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
33981 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
33984 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
33987 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
33988 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
33989 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
33990 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
33992 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);