1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxFileHistory swig_types[2]
1344 #define SWIGTYPE_p_wxLog swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxEvent swig_types[5]
1347 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1348 #define SWIGTYPE_p_wxConfigBase swig_types[7]
1349 #define SWIGTYPE_p_wxDisplay swig_types[8]
1350 #define SWIGTYPE_p_wxFileType swig_types[9]
1351 #define SWIGTYPE_p_wxLogGui swig_types[10]
1352 #define SWIGTYPE_p_wxFont swig_types[11]
1353 #define SWIGTYPE_p_wxDataFormat swig_types[12]
1354 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
1355 #define SWIGTYPE_p_wxCaret swig_types[14]
1356 #define SWIGTYPE_ptrdiff_t swig_types[15]
1357 #define SWIGTYPE_std__ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_p_int swig_types[17]
1359 #define SWIGTYPE_p_wxSize swig_types[18]
1360 #define SWIGTYPE_p_wxClipboard swig_types[19]
1361 #define SWIGTYPE_p_wxStopWatch swig_types[20]
1362 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
1363 #define SWIGTYPE_p_wxIcon swig_types[22]
1364 #define SWIGTYPE_p_wxLogStderr swig_types[23]
1365 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
1366 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
1367 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
1368 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
1369 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
1370 #define SWIGTYPE_p_wxDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxPyTextDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxSound swig_types[36]
1378 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
1379 #define SWIGTYPE_p_wxLogWindow swig_types[38]
1380 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
1381 #define SWIGTYPE_p_wxArrayString swig_types[40]
1382 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
1383 #define SWIGTYPE_p_form_ops_t swig_types[42]
1384 #define SWIGTYPE_p_wxToolTip swig_types[43]
1385 #define SWIGTYPE_p_wxDataObjectComposite swig_types[44]
1386 #define SWIGTYPE_p_wxFileConfig swig_types[45]
1387 #define SWIGTYPE_p_wxSystemSettings swig_types[46]
1388 #define SWIGTYPE_p_wxVideoMode swig_types[47]
1389 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
1390 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[49]
1391 #define SWIGTYPE_p_wxDuplexMode swig_types[50]
1392 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
1393 #define SWIGTYPE_p_wxRect swig_types[52]
1394 #define SWIGTYPE_p_char swig_types[53]
1395 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[54]
1396 #define SWIGTYPE_p_wxStandardPaths swig_types[55]
1397 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1398 #define SWIGTYPE_p_wxFrame swig_types[57]
1399 #define SWIGTYPE_p_wxTimer swig_types[58]
1400 #define SWIGTYPE_p_wxPaperSize swig_types[59]
1401 #define SWIGTYPE_p_wxMimeTypesManager swig_types[60]
1402 #define SWIGTYPE_p_wxPyArtProvider swig_types[61]
1403 #define SWIGTYPE_p_wxPyTipProvider swig_types[62]
1404 #define SWIGTYPE_p_wxTipProvider swig_types[63]
1405 #define SWIGTYPE_p_wxJoystick swig_types[64]
1406 #define SWIGTYPE_p_wxSystemOptions swig_types[65]
1407 #define SWIGTYPE_p_wxPoint swig_types[66]
1408 #define SWIGTYPE_p_wxJoystickEvent swig_types[67]
1409 #define SWIGTYPE_p_wxCursor swig_types[68]
1410 #define SWIGTYPE_p_wxObject swig_types[69]
1411 #define SWIGTYPE_p_wxOutputStream swig_types[70]
1412 #define SWIGTYPE_p_wxDateTime swig_types[71]
1413 #define SWIGTYPE_p_wxPyDropSource swig_types[72]
1414 #define SWIGTYPE_p_unsigned_long swig_types[73]
1415 #define SWIGTYPE_p_wxKillError swig_types[74]
1416 #define SWIGTYPE_p_wxWindow swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyProcess swig_types[77]
1419 #define SWIGTYPE_p_wxBitmap swig_types[78]
1420 #define SWIGTYPE_p_wxConfig swig_types[79]
1421 #define SWIGTYPE_unsigned_int swig_types[80]
1422 #define SWIGTYPE_p_unsigned_int swig_types[81]
1423 #define SWIGTYPE_p_unsigned_char swig_types[82]
1424 #define SWIGTYPE_p_wxChar swig_types[83]
1425 #define SWIGTYPE_p_wxBusyInfo swig_types[84]
1426 #define SWIGTYPE_p_wxPyDropTarget swig_types[85]
1427 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[86]
1428 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxProcessEvent swig_types[88]
1430 #define SWIGTYPE_p_wxPyLog swig_types[89]
1431 #define SWIGTYPE_p_wxLogNull swig_types[90]
1432 #define SWIGTYPE_p_wxColour swig_types[91]
1433 #define SWIGTYPE_p_wxPyTimer swig_types[92]
1434 #define SWIGTYPE_p_wxConfigPathChanger swig_types[93]
1435 #define SWIGTYPE_p_wxDateSpan swig_types[94]
1436 static swig_type_info
*swig_types
[96];
1438 /* -------- TYPES TABLE (END) -------- */
1441 /*-----------------------------------------------
1442 @(target):= _misc_.so
1443 ------------------------------------------------*/
1444 #define SWIG_init init_misc_
1446 #define SWIG_name "_misc_"
1448 #include "wx/wxPython/wxPython.h"
1449 #include "wx/wxPython/pyclasses.h"
1450 #include "wx/wxPython/pyistream.h"
1452 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1457 #define SWIG_From_int PyInt_FromLong
1465 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1468 if (value
< min_value
) {
1470 PyErr_Format(PyExc_OverflowError
,
1471 "value %ld is less than '%s' minimum %ld",
1472 value
, errmsg
, min_value
);
1475 } else if (value
> max_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is greater than '%s' maximum %ld",
1479 value
, errmsg
, max_value
);
1488 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1490 if (PyNumber_Check(obj
)) {
1491 if (val
) *val
= PyInt_AsLong(obj
);
1495 SWIG_type_error("number", obj
);
1501 #if INT_MAX != LONG_MAX
1503 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1505 const char* errmsg
= val
? "int" : (char*)0;
1507 if (SWIG_AsVal_long(obj
, &v
)) {
1508 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1509 if (val
) *val
= (int)(v
);
1518 SWIG_type_error(errmsg
, obj
);
1524 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1526 return SWIG_AsVal_long(obj
,(long*)val
);
1532 SWIG_As_int(PyObject
* obj
)
1535 if (!SWIG_AsVal_int(obj
, &v
)) {
1537 this is needed to make valgrind/purify happier.
1539 memset((void*)&v
, 0, sizeof(int));
1546 SWIG_Check_int(PyObject
* obj
)
1548 return SWIG_AsVal_int(obj
, (int*)0);
1551 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
1553 #include <wx/stockitem.h>
1555 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
1556 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1557 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1559 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1560 #define SWIG_From_long PyInt_FromLong
1564 SWIGINTERNSHORT
long
1565 SWIG_As_long(PyObject
* obj
)
1568 if (!SWIG_AsVal_long(obj
, &v
)) {
1570 this is needed to make valgrind/purify happier.
1572 memset((void*)&v
, 0, sizeof(long));
1579 SWIG_Check_long(PyObject
* obj
)
1581 return SWIG_AsVal_long(obj
, (long*)0);
1586 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1588 if (obj
== Py_True
) {
1589 if (val
) *val
= true;
1592 if (obj
== Py_False
) {
1593 if (val
) *val
= false;
1597 if (SWIG_AsVal_int(obj
, &res
)) {
1598 if (val
) *val
= res
? true : false;
1604 SWIG_type_error("bool", obj
);
1610 SWIGINTERNSHORT
bool
1611 SWIG_As_bool(PyObject
* obj
)
1614 if (!SWIG_AsVal_bool(obj
, &v
)) {
1616 this is needed to make valgrind/purify happier.
1618 memset((void*)&v
, 0, sizeof(bool));
1625 SWIG_Check_bool(PyObject
* obj
)
1627 return SWIG_AsVal_bool(obj
, (bool*)0);
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1659 long wxGetFreeMemory()
1660 { wxPyRaiseNotImplemented(); return 0; }
1664 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1667 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1668 SWIG_type_error("unsigned number", obj
);
1671 *val
= (unsigned long)v
;
1676 SWIGINTERNSHORT
unsigned long
1677 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1680 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1682 this is needed to make valgrind/purify happier.
1684 memset((void*)&v
, 0, sizeof(unsigned long));
1691 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1693 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1697 SWIGINTERNSHORT PyObject
*
1698 SWIG_From_unsigned_SS_long(unsigned long value
)
1700 return (value
> LONG_MAX
) ?
1701 PyLong_FromUnsignedLong(value
)
1702 : PyInt_FromLong((long)(value
));
1706 void wxWakeUpMainThread() {}
1709 bool wxThread_IsMain() {
1710 #ifdef WXP_WITH_THREAD
1711 return wxThread::IsMain();
1718 int wxCaret_GetBlinkTime() {
1719 return wxCaret::GetBlinkTime();
1722 void wxCaret_SetBlinkTime(int milliseconds
) {
1723 wxCaret::SetBlinkTime(milliseconds
);
1727 #include <wx/snglinst.h>
1730 #include <wx/tipdlg.h>
1733 class wxPyTipProvider
: public wxTipProvider
{
1735 wxPyTipProvider(size_t currentTip
)
1736 : wxTipProvider(currentTip
) {}
1738 DEC_PYCALLBACK_STRING__pure(GetTip
);
1739 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
1743 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
1744 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
1747 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1749 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
1751 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
1752 : wxTimer(owner
, id
)
1754 if (owner
== NULL
) SetOwner(this);
1758 void wxPyTimer::Notify() {
1760 bool blocked
= wxPyBeginBlockThreads();
1761 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
1762 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
1763 wxPyEndBlockThreads(blocked
);
1767 void wxPyTimer::base_Notify() {
1773 SWIGINTERN PyObject
*
1774 SWIG_FromCharPtr(const char* cptr
)
1777 size_t size
= strlen(cptr
);
1778 if (size
> INT_MAX
) {
1779 return SWIG_NewPointerObj((char*)(cptr
),
1780 SWIG_TypeQuery("char *"), 0);
1783 return PyString_FromStringAndSize(cptr
, size
);
1785 return PyString_FromString(cptr
);
1795 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1796 unsigned long max_value
,
1799 if (value
> max_value
) {
1801 PyErr_Format(PyExc_OverflowError
,
1802 "value %lu is greater than '%s' minimum %lu",
1803 value
, errmsg
, max_value
);
1811 #if UINT_MAX != ULONG_MAX
1813 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1815 const char* errmsg
= val
? "unsigned int" : (char*)0;
1817 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1818 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1819 if (val
) *val
= (unsigned int)(v
);
1826 SWIG_type_error(errmsg
, obj
);
1831 SWIGINTERNSHORT
unsigned int
1832 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1834 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1839 SWIGINTERNSHORT
unsigned int
1840 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1843 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1845 this is needed to make valgrind/purify happier.
1847 memset((void*)&v
, 0, sizeof(unsigned int));
1854 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1856 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1859 static wxString
Log_TimeStamp(){
1861 wxLog::TimeStamp(&msg
);
1864 static void wxLog_Destroy(wxLog
*self
){ delete self
; }
1865 // Make somce wrappers that double any % signs so they are 'escaped'
1866 void wxPyLogFatalError(const wxString
& msg
)
1869 m
.Replace(wxT("%"), wxT("%%"));
1873 void wxPyLogError(const wxString
& msg
)
1876 m
.Replace(wxT("%"), wxT("%%"));
1880 void wxPyLogWarning(const wxString
& msg
)
1883 m
.Replace(wxT("%"), wxT("%%"));
1887 void wxPyLogMessage(const wxString
& msg
)
1890 m
.Replace(wxT("%"), wxT("%%"));
1894 void wxPyLogInfo(const wxString
& msg
)
1897 m
.Replace(wxT("%"), wxT("%%"));
1901 void wxPyLogDebug(const wxString
& msg
)
1904 m
.Replace(wxT("%"), wxT("%%"));
1908 void wxPyLogVerbose(const wxString
& msg
)
1911 m
.Replace(wxT("%"), wxT("%%"));
1915 void wxPyLogStatus(const wxString
& msg
)
1918 m
.Replace(wxT("%"), wxT("%%"));
1922 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
1925 m
.Replace(wxT("%"), wxT("%%"));
1926 wxLogStatus(pFrame
, m
);
1929 void wxPyLogSysError(const wxString
& msg
)
1932 m
.Replace(wxT("%"), wxT("%%"));
1936 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
1939 m
.Replace(wxT("%"), wxT("%%"));
1940 wxLogGeneric(level
, m
);
1943 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
1946 m
.Replace(wxT("%"), wxT("%%"));
1947 wxLogTrace(mask
, m
);
1950 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
1953 m
.Replace(wxT("%"), wxT("%%"));
1954 wxLogTrace(mask
, m
);
1959 // A wxLog class that can be derived from in wxPython
1960 class wxPyLog
: public wxLog
{
1962 wxPyLog() : wxLog() {}
1964 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
1966 bool blocked
= wxPyBeginBlockThreads();
1967 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
1968 PyObject
* s
= wx2PyString(szString
);
1969 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
1972 wxPyEndBlockThreads(blocked
);
1974 wxLog::DoLog(level
, szString
, t
);
1977 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
1979 bool blocked
= wxPyBeginBlockThreads();
1980 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
1981 PyObject
* s
= wx2PyString(szString
);
1982 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
1985 wxPyEndBlockThreads(blocked
);
1987 wxLog::DoLogString(szString
, t
);
1996 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1999 #include <wx/joystick.h>
2002 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2003 // A C++ stub class for wxJoystick for platforms that don't have it.
2004 class wxJoystick
: public wxObject
{
2006 wxJoystick(int joystick
= wxJOYSTICK1
) {
2007 bool blocked
= wxPyBeginBlockThreads();
2008 PyErr_SetString(PyExc_NotImplementedError
,
2009 "wxJoystick is not available on this platform.");
2010 wxPyEndBlockThreads(blocked
);
2012 wxPoint
GetPosition() { return wxPoint(-1,-1); }
2013 int GetZPosition() { return -1; }
2014 int GetButtonState() { return -1; }
2015 int GetPOVPosition() { return -1; }
2016 int GetPOVCTSPosition() { return -1; }
2017 int GetRudderPosition() { return -1; }
2018 int GetUPosition() { return -1; }
2019 int GetVPosition() { return -1; }
2020 int GetMovementThreshold() { return -1; }
2021 void SetMovementThreshold(int threshold
) {}
2023 bool IsOk(void) { return false; }
2024 int GetNumberJoysticks() { return -1; }
2025 int GetManufacturerId() { return -1; }
2026 int GetProductId() { return -1; }
2027 wxString
GetProductName() { return wxEmptyString
; }
2028 int GetXMin() { return -1; }
2029 int GetYMin() { return -1; }
2030 int GetZMin() { return -1; }
2031 int GetXMax() { return -1; }
2032 int GetYMax() { return -1; }
2033 int GetZMax() { return -1; }
2034 int GetNumberButtons() { return -1; }
2035 int GetNumberAxes() { return -1; }
2036 int GetMaxButtons() { return -1; }
2037 int GetMaxAxes() { return -1; }
2038 int GetPollingMin() { return -1; }
2039 int GetPollingMax() { return -1; }
2040 int GetRudderMin() { return -1; }
2041 int GetRudderMax() { return -1; }
2042 int GetUMin() { return -1; }
2043 int GetUMax() { return -1; }
2044 int GetVMin() { return -1; }
2045 int GetVMax() { return -1; }
2047 bool HasRudder() { return false; }
2048 bool HasZ() { return false; }
2049 bool HasU() { return false; }
2050 bool HasV() { return false; }
2051 bool HasPOV() { return false; }
2052 bool HasPOV4Dir() { return false; }
2053 bool HasPOVCTS() { return false; }
2055 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
2056 bool ReleaseCapture() { return false; }
2061 #include <wx/sound.h>
2065 // A C++ stub class for wxWave for platforms that don't have it.
2066 class wxSound
: public wxObject
2070 bool blocked
= wxPyBeginBlockThreads();
2071 PyErr_SetString(PyExc_NotImplementedError
,
2072 "wxSound is not available on this platform.");
2073 wxPyEndBlockThreads(blocked
);
2075 wxSound(const wxString
&/*, bool*/) {
2076 bool blocked
= wxPyBeginBlockThreads();
2077 PyErr_SetString(PyExc_NotImplementedError
,
2078 "wxSound is not available on this platform.");
2079 wxPyEndBlockThreads(blocked
);
2081 wxSound(int, const wxByte
*) {
2082 bool blocked
= wxPyBeginBlockThreads();
2083 PyErr_SetString(PyExc_NotImplementedError
,
2084 "wxSound is not available on this platform.");
2085 wxPyEndBlockThreads(blocked
);
2090 bool Create(const wxString
&/*, bool*/) { return false; }
2091 bool Create(int, const wxByte
*) { return false; };
2092 bool IsOk() { return false; };
2093 bool Play(unsigned) const { return false; }
2094 static bool Play(const wxString
&, unsigned) { return false; }
2095 static void Stop() {}
2100 static wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
2101 if (fileName
.Length() == 0)
2104 return new wxSound(fileName
);
2106 static wxSound
*new_wxSound(PyObject
*data
){
2107 unsigned char* buffer
; int size
;
2108 wxSound
*sound
= NULL
;
2110 bool blocked
= wxPyBeginBlockThreads();
2111 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2113 sound
= new wxSound(size
, buffer
);
2115 wxPyEndBlockThreads(blocked
);
2118 static bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
2120 unsigned char* buffer
;
2124 bool blocked
= wxPyBeginBlockThreads();
2125 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2127 rv
= self
->Create(size
, buffer
);
2129 wxPyEndBlockThreads(blocked
);
2132 bool blocked
= wxPyBeginBlockThreads();
2133 PyErr_SetString(PyExc_NotImplementedError
,
2134 "Create from data is not available on this platform.");
2135 wxPyEndBlockThreads(blocked
);
2140 #include <wx/mimetype.h>
2142 static PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
2144 if (self
->GetMimeType(&str
))
2145 return wx2PyString(str
);
2149 static PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
2151 if (self
->GetMimeTypes(arr
))
2152 return wxArrayString2PyList_helper(arr
);
2156 static PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
2158 if (self
->GetExtensions(arr
))
2159 return wxArrayString2PyList_helper(arr
);
2163 static wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
2165 if (self
->GetIcon(&loc
))
2166 return new wxIcon(loc
);
2170 static PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
2172 if (self
->GetIcon(&loc
)) {
2173 wxString iconFile
= loc
.GetFileName();
2178 // Make a tuple and put the values in it
2179 bool blocked
= wxPyBeginBlockThreads();
2180 PyObject
* tuple
= PyTuple_New(3);
2181 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
2182 wxT("wxIcon"), true));
2183 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
2184 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
2185 wxPyEndBlockThreads(blocked
);
2191 static PyObject
*wxFileType_GetDescription(wxFileType
*self
){
2193 if (self
->GetDescription(&str
))
2194 return wx2PyString(str
);
2198 static PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2200 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2201 return wx2PyString(str
);
2205 static PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2207 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
2208 return wx2PyString(str
);
2212 static PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2213 wxArrayString verbs
;
2214 wxArrayString commands
;
2215 if (self
->GetAllCommands(&verbs
, &commands
,
2216 wxFileType::MessageParameters(filename
, mimetype
))) {
2217 bool blocked
= wxPyBeginBlockThreads();
2218 PyObject
* tuple
= PyTuple_New(2);
2219 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
2220 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
2221 wxPyEndBlockThreads(blocked
);
2227 static wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
2228 return wxFileType::ExpandCommand(command
,
2229 wxFileType::MessageParameters(filename
, mimetype
));
2231 static PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
2233 self
->EnumAllFileTypes(arr
);
2234 return wxArrayString2PyList_helper(arr
);
2237 #include <wx/artprov.h>
2239 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
2240 static const wxString
wxPyART_MENU(wxART_MENU
);
2241 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
2242 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
2243 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
2244 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
2245 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
2246 static const wxString
wxPyART_OTHER(wxART_OTHER
);
2247 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
2248 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
2249 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
2250 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
2251 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
2252 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
2253 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
2254 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
2255 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
2256 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
2257 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
2258 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
2259 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
2260 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
2261 static const wxString
wxPyART_PRINT(wxART_PRINT
);
2262 static const wxString
wxPyART_HELP(wxART_HELP
);
2263 static const wxString
wxPyART_TIP(wxART_TIP
);
2264 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
2265 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
2266 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
2267 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
2268 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
2269 static const wxString
wxPyART_CDROM(wxART_CDROM
);
2270 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
2271 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
2272 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
2273 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
2274 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
2275 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
2276 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
2277 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
2278 static const wxString
wxPyART_ERROR(wxART_ERROR
);
2279 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
2280 static const wxString
wxPyART_WARNING(wxART_WARNING
);
2281 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
2282 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
2283 // Python aware wxArtProvider
2284 class wxPyArtProvider
: public wxArtProvider
{
2287 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
2288 const wxArtClient
& client
,
2289 const wxSize
& size
) {
2290 wxBitmap rval
= wxNullBitmap
;
2291 bool blocked
= wxPyBeginBlockThreads();
2292 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
2293 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
2297 s1
= wx2PyString(id
);
2298 s2
= wx2PyString(client
);
2299 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
2304 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
2309 wxPyEndBlockThreads(blocked
);
2316 static void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
2320 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
2321 PyObject
* ret
= PyTuple_New(3);
2323 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
2324 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
2325 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
2330 static PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
2335 cont
= self
->GetFirstGroup(value
, index
);
2336 return __EnumerationHelper(cont
, value
, index
);
2338 static PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
2342 cont
= self
->GetNextGroup(value
, index
);
2343 return __EnumerationHelper(cont
, value
, index
);
2345 static PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
2350 cont
= self
->GetFirstEntry(value
, index
);
2351 return __EnumerationHelper(cont
, value
, index
);
2353 static PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
2357 cont
= self
->GetNextEntry(value
, index
);
2358 return __EnumerationHelper(cont
, value
, index
);
2360 static long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
2362 self
->Read(key
, &rv
, defaultVal
);
2367 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2369 if (PyNumber_Check(obj
)) {
2370 if (val
) *val
= PyFloat_AsDouble(obj
);
2374 SWIG_type_error("number", obj
);
2380 SWIGINTERNSHORT
double
2381 SWIG_As_double(PyObject
* obj
)
2384 if (!SWIG_AsVal_double(obj
, &v
)) {
2386 this is needed to make valgrind/purify happier.
2388 memset((void*)&v
, 0, sizeof(double));
2395 SWIG_Check_double(PyObject
* obj
)
2397 return SWIG_AsVal_double(obj
, (double*)0);
2400 static double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
2402 self
->Read(key
, &rv
, defaultVal
);
2406 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2407 #define SWIG_From_double PyFloat_FromDouble
2410 static bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
2412 self
->Read(key
, &rv
, defaultVal
);
2416 #include <wx/datetime.h>
2418 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
2419 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
2421 #define LOCAL_TZ wxDateTime::Local
2424 #if UINT_MAX < LONG_MAX
2425 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2426 #define SWIG_From_unsigned_SS_int SWIG_From_long
2429 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2430 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2434 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2435 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2436 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2437 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2438 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2439 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2440 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2441 return (*self
< *other
);
2443 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2444 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2445 return (*self
<= *other
);
2447 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2448 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2449 return (*self
> *other
);
2451 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2452 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2453 return (*self
>= *other
);
2455 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2456 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2457 return (*self
== *other
);
2459 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2460 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2461 return (*self
!= *other
);
2463 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2465 const wxChar
* _date
= date
;
2466 rv
= self
->ParseRfc822Date(_date
);
2467 if (rv
== NULL
) return -1;
2470 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2472 const wxChar
* _date
= date
;
2473 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2474 if (rv
== NULL
) return -1;
2477 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2479 const wxChar
* _datetime
= datetime
;
2480 rv
= self
->ParseDateTime(_datetime
);
2481 if (rv
== NULL
) return -1;
2482 return rv
- _datetime
;
2484 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2486 const wxChar
* _date
= date
;
2487 rv
= self
->ParseDate(_date
);
2488 if (rv
== NULL
) return -1;
2491 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2493 const wxChar
* _time
= time
;
2494 rv
= self
->ParseTime(_time
);
2495 if (rv
== NULL
) return -1;
2498 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2499 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2500 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2501 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2502 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2503 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2504 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2505 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2506 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2507 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2508 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2509 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2510 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2511 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2512 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2513 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2515 #include <wx/dataobj.h>
2517 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2518 size_t count
= self
->GetFormatCount(dir
);
2519 wxDataFormat
* formats
= new wxDataFormat
[count
];
2520 self
->GetAllFormats(formats
, dir
);
2522 bool blocked
= wxPyBeginBlockThreads();
2523 PyObject
* list
= PyList_New(count
);
2524 for (size_t i
=0; i
<count
; i
++) {
2525 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2526 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2527 PyList_Append(list
, obj
);
2530 wxPyEndBlockThreads(blocked
);
2534 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2535 PyObject
* rval
= NULL
;
2536 size_t size
= self
->GetDataSize(format
);
2537 bool blocked
= wxPyBeginBlockThreads();
2539 char* buf
= new char[size
];
2540 if (self
->GetDataHere(format
, buf
))
2541 rval
= PyString_FromStringAndSize(buf
, size
);
2548 wxPyEndBlockThreads(blocked
);
2551 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2553 bool blocked
= wxPyBeginBlockThreads();
2554 if (PyString_Check(data
)) {
2555 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2558 // raise a TypeError if not a string
2559 PyErr_SetString(PyExc_TypeError
, "String expected.");
2562 wxPyEndBlockThreads(blocked
);
2565 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2566 PyObject
* rval
= NULL
;
2567 size_t size
= self
->GetDataSize();
2568 bool blocked
= wxPyBeginBlockThreads();
2570 char* buf
= new char[size
];
2571 if (self
->GetDataHere(buf
))
2572 rval
= PyString_FromStringAndSize(buf
, size
);
2579 wxPyEndBlockThreads(blocked
);
2582 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2584 bool blocked
= wxPyBeginBlockThreads();
2585 if (PyString_Check(data
)) {
2586 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2589 // raise a TypeError if not a string
2590 PyErr_SetString(PyExc_TypeError
, "String expected.");
2593 wxPyEndBlockThreads(blocked
);
2596 // Create a new class for wxPython to use
2597 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2599 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2600 : wxDataObjectSimple(format
) {}
2602 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2603 bool GetDataHere(void *buf
) const;
2604 bool SetData(size_t len
, const void *buf
) const;
2608 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2610 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2611 // We need to get the data for this object and write it to buf. I think
2612 // the best way to do this for wxPython is to have the Python method
2613 // return either a string or None and then act appropriately with the
2617 bool blocked
= wxPyBeginBlockThreads();
2618 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2620 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2622 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2624 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2628 wxPyEndBlockThreads(blocked
);
2632 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2633 // For this one we simply need to make a string from buf and len
2634 // and send it to the Python method.
2636 bool blocked
= wxPyBeginBlockThreads();
2637 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2638 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2639 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2642 wxPyEndBlockThreads(blocked
);
2646 // Create a new class for wxPython to use
2647 class wxPyTextDataObject
: public wxTextDataObject
{
2649 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2650 : wxTextDataObject(text
) {}
2652 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2653 DEC_PYCALLBACK_STRING__const(GetText
);
2654 DEC_PYCALLBACK__STRING(SetText
);
2658 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2659 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2660 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2663 // Create a new class for wxPython to use
2664 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2666 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2667 : wxBitmapDataObject(bitmap
) {}
2669 wxBitmap
GetBitmap() const;
2670 void SetBitmap(const wxBitmap
& bitmap
);
2674 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2675 wxBitmap
* rval
= &wxNullBitmap
;
2676 bool blocked
= wxPyBeginBlockThreads();
2677 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2680 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2682 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2687 wxPyEndBlockThreads(blocked
);
2691 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2692 bool blocked
= wxPyBeginBlockThreads();
2693 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2694 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2695 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2698 wxPyEndBlockThreads(blocked
);
2701 static wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
2702 return new wxCustomDataObject(wxDataFormat(formatName
));
2704 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2706 bool blocked
= wxPyBeginBlockThreads();
2707 if (PyString_Check(data
)) {
2708 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2711 // raise a TypeError if not a string
2712 PyErr_SetString(PyExc_TypeError
, "String expected.");
2715 wxPyEndBlockThreads(blocked
);
2718 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2720 bool blocked
= wxPyBeginBlockThreads();
2721 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2722 wxPyEndBlockThreads(blocked
);
2726 class wxMetafileDataObject
: public wxDataObjectSimple
2729 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2733 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2736 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2737 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2738 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2739 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2740 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2743 class wxPyTextDropTarget
: public wxTextDropTarget
{
2745 wxPyTextDropTarget() {}
2747 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2749 DEC_PYCALLBACK__(OnLeave
);
2750 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2751 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2752 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2753 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2758 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2759 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2760 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2761 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2762 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2763 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2767 class wxPyFileDropTarget
: public wxFileDropTarget
{
2769 wxPyFileDropTarget() {}
2771 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2773 DEC_PYCALLBACK__(OnLeave
);
2774 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2775 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2776 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2777 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2782 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2783 const wxArrayString
& filenames
) {
2785 bool blocked
= wxPyBeginBlockThreads();
2786 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2787 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2788 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2791 wxPyEndBlockThreads(blocked
);
2797 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2798 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2799 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2800 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2801 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2806 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2808 #include <wx/display.h>
2810 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2811 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2813 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2815 #include <wx/dynarray.h>
2816 #include <wx/vidmode.h>
2818 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2819 #include "wx/arrimpl.cpp"
2820 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2821 const wxVideoMode wxDefaultVideoMode
;
2826 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2829 static size_t GetCount()
2830 { wxPyRaiseNotImplemented(); return 0; }
2832 static int GetFromPoint(const wxPoint
& pt
)
2833 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2834 static int GetFromWindow(wxWindow
*window
)
2835 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2837 virtual bool IsOk() const { return false; }
2838 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2839 virtual wxString
GetName() const { return wxEmptyString
; }
2840 bool IsPrimary() const { return false; }
2842 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2843 { wxArrayVideoModes a
; return a
; }
2845 virtual wxVideoMode
GetCurrentMode() const
2846 { return wxDefaultVideoMode
; }
2848 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2855 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2856 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2857 PyObject
* pyList
= NULL
;
2858 wxArrayVideoModes arr
= self
->GetModes(mode
);
2859 bool blocked
= wxPyBeginBlockThreads();
2860 pyList
= PyList_New(0);
2861 for (int i
=0; i
< arr
.GetCount(); i
++) {
2862 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2863 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2864 PyList_Append(pyList
, pyObj
);
2867 wxPyEndBlockThreads(blocked
);
2871 #include <wx/stdpaths.h>
2873 static wxStandardPaths
*StandardPaths_Get(){
2874 return (wxStandardPaths
*) &wxStandardPaths::Get();
2879 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxSystemColour arg1
;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "index", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2890 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2891 if (SWIG_arg_fail(1)) SWIG_fail
;
2894 if (!wxPyCheckForApp()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxColour
* resultptr
;
2903 resultptr
= new wxColour((wxColour
&)(result
));
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2912 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2916 PyObject
* obj0
= 0 ;
2918 (char *) "index", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
2923 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
2924 if (SWIG_arg_fail(1)) SWIG_fail
;
2927 if (!wxPyCheckForApp()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2936 resultptr
= new wxFont((wxFont
&)(result
));
2937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
2945 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxSystemMetric arg1
;
2949 PyObject
* obj0
= 0 ;
2951 (char *) "index", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
2956 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
2957 if (SWIG_arg_fail(1)) SWIG_fail
;
2960 if (!wxPyCheckForApp()) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= SWIG_From_int((int)(result
));
2976 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxSystemFeature arg1
;
2980 PyObject
* obj0
= 0 ;
2982 (char *) "index", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
2987 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
2988 if (SWIG_arg_fail(1)) SWIG_fail
;
2991 if (!wxPyCheckForApp()) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3007 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxSystemScreenType result
;
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3016 if (!wxPyCheckForApp()) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= SWIG_From_int((result
));
3030 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxSystemScreenType arg1
;
3033 PyObject
* obj0
= 0 ;
3035 (char *) "screen", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3040 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3041 if (SWIG_arg_fail(1)) SWIG_fail
;
3044 if (!wxPyCheckForApp()) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3058 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3061 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3063 return Py_BuildValue((char *)"");
3065 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3066 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3071 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3076 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3078 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3085 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxSystemOptions
*result
;
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (wxSystemOptions
*)new wxSystemOptions();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3107 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxString
*arg1
= 0 ;
3110 wxString
*arg2
= 0 ;
3111 bool temp1
= false ;
3112 bool temp2
= false ;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3116 (char *) "name",(char *) "value", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3121 arg1
= wxString_in_helper(obj0
);
3122 if (arg1
== NULL
) SWIG_fail
;
3126 arg2
= wxString_in_helper(obj1
);
3127 if (arg2
== NULL
) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxString
*arg1
= 0 ;
3164 bool temp1
= false ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "name",(char *) "value", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3173 arg1
= wxString_in_helper(obj0
);
3174 if (arg1
== NULL
) SWIG_fail
;
3178 arg2
= (int)(SWIG_As_int(obj1
));
3179 if (SWIG_arg_fail(2)) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 Py_INCREF(Py_None
); resultobj
= Py_None
;
3203 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxString
*arg1
= 0 ;
3207 bool temp1
= false ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "name", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3215 arg1
= wxString_in_helper(obj0
);
3216 if (arg1
== NULL
) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3247 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxString
*arg1
= 0 ;
3251 bool temp1
= false ;
3252 PyObject
* obj0
= 0 ;
3254 (char *) "name", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3259 arg1
= wxString_in_helper(obj0
);
3260 if (arg1
== NULL
) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 resultobj
= SWIG_From_int((int)(result
));
3287 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxString
*arg1
= 0 ;
3291 bool temp1
= false ;
3292 PyObject
* obj0
= 0 ;
3294 (char *) "name", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3299 arg1
= wxString_in_helper(obj0
);
3300 if (arg1
== NULL
) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3327 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3330 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3332 return Py_BuildValue((char *)"");
3334 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3335 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3340 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3345 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3347 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3354 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3355 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3360 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3365 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3367 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3374 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3375 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3380 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3385 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3387 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3394 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 result
= (long)wxNewId();
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_From_long((long)(result
));
3418 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3421 PyObject
* obj0
= 0 ;
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3428 arg1
= (long)(SWIG_As_long(obj0
));
3429 if (SWIG_arg_fail(1)) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 result
= (long)wxGetCurrentId();
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3461 resultobj
= SWIG_From_long((long)(result
));
3469 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3473 PyObject
* obj0
= 0 ;
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3480 arg1
= (int)(SWIG_As_int(obj0
));
3481 if (SWIG_arg_fail(1)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (bool)wxIsStockID(arg1
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3499 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3502 wxString
*arg2
= 0 ;
3504 bool temp2
= false ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3508 (char *) "id",(char *) "label", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3513 arg1
= (int)(SWIG_As_int(obj0
));
3514 if (SWIG_arg_fail(1)) SWIG_fail
;
3517 arg2
= wxString_in_helper(obj1
);
3518 if (arg2
== NULL
) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3545 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3549 PyObject
* obj0
= 0 ;
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
3556 arg1
= (int)(SWIG_As_int(obj0
));
3557 if (SWIG_arg_fail(1)) SWIG_fail
;
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 result
= wxGetStockLabel(arg1
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3579 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3587 if (!wxPyCheckForApp()) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 Py_INCREF(Py_None
); resultobj
= Py_None
;
3601 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3609 if (!wxPyCheckForApp()) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 Py_INCREF(Py_None
); resultobj
= Py_None
;
3623 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 bool arg1
= (bool) true ;
3627 PyObject
* obj0
= 0 ;
3629 (char *) "resetTimer", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3635 arg1
= (bool)(SWIG_As_bool(obj0
));
3636 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (long)wxGetElapsedTime(arg1
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= SWIG_From_long((long)(result
));
3655 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 int *arg1
= (int *) 0 ;
3658 int *arg2
= (int *) 0 ;
3667 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3668 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3671 if (!wxPyCheckForApp()) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 wxGetMousePosition(arg1
,arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3679 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3680 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3681 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3682 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3689 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (bool)wxIsBusy();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3713 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3741 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3744 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3746 bool temp1
= false ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "command", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3755 arg1
= wxString_in_helper(obj0
);
3756 if (arg1
== NULL
) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (bool)wxShell((wxString
const &)*arg1
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3784 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3805 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 int *arg1
= (int *) 0 ;
3808 int *arg2
= (int *) 0 ;
3818 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3819 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (int)wxGetOsVersion(arg1
,arg2
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_int((int)(result
));
3831 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3832 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3833 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3834 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3841 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= wxGetOsDescription();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3869 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (long)wxGetFreeMemory();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_From_long((long)(result
));
3893 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxShutdownFlags arg1
;
3897 PyObject
* obj0
= 0 ;
3899 (char *) "wFlags", NULL
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3904 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3905 if (SWIG_arg_fail(1)) SWIG_fail
;
3908 if (!wxPyCheckForApp()) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3924 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3927 PyObject
* obj0
= 0 ;
3929 (char *) "secs", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
3934 arg1
= (int)(SWIG_As_int(obj0
));
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 Py_INCREF(Py_None
); resultobj
= Py_None
;
3951 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 unsigned long arg1
;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "milliseconds", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
3961 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3962 if (SWIG_arg_fail(1)) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 unsigned long arg1
;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "microseconds", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
3988 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3989 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4005 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4008 PyObject
* obj0
= 0 ;
4010 (char *) "enable", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4015 arg1
= (bool)(SWIG_As_bool(obj0
));
4016 if (SWIG_arg_fail(1)) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 wxEnableTopLevelWindows(arg1
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxString
*arg1
= 0 ;
4036 bool temp1
= false ;
4037 PyObject
* obj0
= 0 ;
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4044 arg1
= wxString_in_helper(obj0
);
4045 if (arg1
== NULL
) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4076 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= wxGetEmailAddress();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4104 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= wxGetHostName();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4132 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= wxGetFullHostName();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4160 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= wxGetUserId();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4188 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= wxGetUserName();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4216 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= wxGetHomeDir();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4244 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4247 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4249 bool temp1
= false ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "user", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4258 arg1
= wxString_in_helper(obj0
);
4259 if (arg1
== NULL
) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= wxGetUserHome((wxString
const &)*arg1
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4291 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 unsigned long result
;
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (unsigned long)wxGetProcessId();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4315 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4339 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4340 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4341 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4342 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4344 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4345 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4346 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4347 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4348 int arg6
= (int) 0 ;
4349 wxWindow
*arg7
= (wxWindow
*) NULL
;
4350 int arg8
= (int) -1 ;
4351 int arg9
= (int) -1 ;
4353 bool temp1
= false ;
4354 bool temp2
= false ;
4355 bool temp3
= false ;
4356 bool temp4
= false ;
4357 bool temp5
= false ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 PyObject
* obj3
= 0 ;
4362 PyObject
* obj4
= 0 ;
4363 PyObject
* obj5
= 0 ;
4364 PyObject
* obj6
= 0 ;
4365 PyObject
* obj7
= 0 ;
4366 PyObject
* obj8
= 0 ;
4368 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4374 arg1
= wxString_in_helper(obj0
);
4375 if (arg1
== NULL
) SWIG_fail
;
4381 arg2
= wxString_in_helper(obj1
);
4382 if (arg2
== NULL
) SWIG_fail
;
4388 arg3
= wxString_in_helper(obj2
);
4389 if (arg3
== NULL
) SWIG_fail
;
4395 arg4
= wxString_in_helper(obj3
);
4396 if (arg4
== NULL
) SWIG_fail
;
4402 arg5
= wxString_in_helper(obj4
);
4403 if (arg5
== NULL
) SWIG_fail
;
4409 arg6
= (int)(SWIG_As_int(obj5
));
4410 if (SWIG_arg_fail(6)) SWIG_fail
;
4414 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4415 if (SWIG_arg_fail(7)) SWIG_fail
;
4419 arg8
= (int)(SWIG_As_int(obj7
));
4420 if (SWIG_arg_fail(8)) SWIG_fail
;
4425 arg9
= (int)(SWIG_As_int(obj8
));
4426 if (SWIG_arg_fail(9)) SWIG_fail
;
4430 if (!wxPyCheckForApp()) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4490 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxString
*arg1
= 0 ;
4493 wxString
*arg2
= 0 ;
4494 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4495 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4496 wxWindow
*arg4
= (wxWindow
*) NULL
;
4498 bool temp1
= false ;
4499 bool temp2
= false ;
4500 bool temp3
= false ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 PyObject
* obj2
= 0 ;
4504 PyObject
* obj3
= 0 ;
4506 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4511 arg1
= wxString_in_helper(obj0
);
4512 if (arg1
== NULL
) SWIG_fail
;
4516 arg2
= wxString_in_helper(obj1
);
4517 if (arg2
== NULL
) SWIG_fail
;
4522 arg3
= wxString_in_helper(obj2
);
4523 if (arg3
== NULL
) SWIG_fail
;
4528 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(4)) SWIG_fail
;
4532 if (!wxPyCheckForApp()) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4576 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxString
*arg1
= 0 ;
4579 wxString
*arg2
= 0 ;
4580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4582 wxWindow
*arg4
= (wxWindow
*) NULL
;
4584 bool temp1
= false ;
4585 bool temp2
= false ;
4586 bool temp3
= false ;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4589 PyObject
* obj2
= 0 ;
4590 PyObject
* obj3
= 0 ;
4592 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4597 arg1
= wxString_in_helper(obj0
);
4598 if (arg1
== NULL
) SWIG_fail
;
4602 arg2
= wxString_in_helper(obj1
);
4603 if (arg2
== NULL
) SWIG_fail
;
4608 arg3
= wxString_in_helper(obj2
);
4609 if (arg3
== NULL
) SWIG_fail
;
4614 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4615 if (SWIG_arg_fail(4)) SWIG_fail
;
4618 if (!wxPyCheckForApp()) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4662 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4665 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4666 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4667 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4668 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4671 wxWindow
*arg5
= (wxWindow
*) NULL
;
4673 bool temp1
= false ;
4674 bool temp2
= false ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4682 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4688 arg1
= wxString_in_helper(obj0
);
4689 if (arg1
== NULL
) SWIG_fail
;
4695 arg2
= wxString_in_helper(obj1
);
4696 if (arg2
== NULL
) SWIG_fail
;
4702 arg3
= (long)(SWIG_As_long(obj2
));
4703 if (SWIG_arg_fail(3)) SWIG_fail
;
4709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4713 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4714 if (SWIG_arg_fail(5)) SWIG_fail
;
4717 if (!wxPyCheckForApp()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4753 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxString
*arg1
= 0 ;
4756 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4757 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4758 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4759 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4760 wxWindow
*arg4
= (wxWindow
*) NULL
;
4761 int arg5
= (int) -1 ;
4762 int arg6
= (int) -1 ;
4763 bool arg7
= (bool) true ;
4765 bool temp1
= false ;
4766 bool temp2
= false ;
4767 bool temp3
= false ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4770 PyObject
* obj2
= 0 ;
4771 PyObject
* obj3
= 0 ;
4772 PyObject
* obj4
= 0 ;
4773 PyObject
* obj5
= 0 ;
4774 PyObject
* obj6
= 0 ;
4776 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4781 arg1
= wxString_in_helper(obj0
);
4782 if (arg1
== NULL
) SWIG_fail
;
4787 arg2
= wxString_in_helper(obj1
);
4788 if (arg2
== NULL
) SWIG_fail
;
4794 arg3
= wxString_in_helper(obj2
);
4795 if (arg3
== NULL
) SWIG_fail
;
4800 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4801 if (SWIG_arg_fail(4)) SWIG_fail
;
4805 arg5
= (int)(SWIG_As_int(obj4
));
4806 if (SWIG_arg_fail(5)) SWIG_fail
;
4811 arg6
= (int)(SWIG_As_int(obj5
));
4812 if (SWIG_arg_fail(6)) SWIG_fail
;
4817 arg7
= (bool)(SWIG_As_bool(obj6
));
4818 if (SWIG_arg_fail(7)) SWIG_fail
;
4822 if (!wxPyCheckForApp()) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4866 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxString
*arg1
= 0 ;
4869 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4870 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4871 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4872 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4873 wxWindow
*arg4
= (wxWindow
*) NULL
;
4875 bool temp1
= false ;
4876 bool temp2
= false ;
4877 bool temp3
= false ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 PyObject
* obj2
= 0 ;
4881 PyObject
* obj3
= 0 ;
4883 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4888 arg1
= wxString_in_helper(obj0
);
4889 if (arg1
== NULL
) SWIG_fail
;
4894 arg2
= wxString_in_helper(obj1
);
4895 if (arg2
== NULL
) SWIG_fail
;
4901 arg3
= wxString_in_helper(obj2
);
4902 if (arg3
== NULL
) SWIG_fail
;
4907 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4908 if (SWIG_arg_fail(4)) SWIG_fail
;
4911 if (!wxPyCheckForApp()) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4955 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxString
*arg1
= 0 ;
4958 wxString
*arg2
= 0 ;
4960 wxString
*arg4
= (wxString
*) 0 ;
4961 wxWindow
*arg5
= (wxWindow
*) NULL
;
4962 int arg6
= (int) -1 ;
4963 int arg7
= (int) -1 ;
4964 bool arg8
= (bool) true ;
4965 int arg9
= (int) 150 ;
4966 int arg10
= (int) 200 ;
4968 bool temp1
= false ;
4969 bool temp2
= false ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4972 PyObject
* obj2
= 0 ;
4973 PyObject
* obj3
= 0 ;
4974 PyObject
* obj4
= 0 ;
4975 PyObject
* obj5
= 0 ;
4976 PyObject
* obj6
= 0 ;
4977 PyObject
* obj7
= 0 ;
4978 PyObject
* obj8
= 0 ;
4980 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4985 arg1
= wxString_in_helper(obj0
);
4986 if (arg1
== NULL
) SWIG_fail
;
4990 arg2
= wxString_in_helper(obj1
);
4991 if (arg2
== NULL
) SWIG_fail
;
4995 arg3
= PyList_Size(obj2
);
4996 arg4
= wxString_LIST_helper(obj2
);
4997 if (arg4
== NULL
) SWIG_fail
;
5000 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5001 if (SWIG_arg_fail(5)) SWIG_fail
;
5005 arg6
= (int)(SWIG_As_int(obj4
));
5006 if (SWIG_arg_fail(6)) SWIG_fail
;
5011 arg7
= (int)(SWIG_As_int(obj5
));
5012 if (SWIG_arg_fail(7)) SWIG_fail
;
5017 arg8
= (bool)(SWIG_As_bool(obj6
));
5018 if (SWIG_arg_fail(8)) SWIG_fail
;
5023 arg9
= (int)(SWIG_As_int(obj7
));
5024 if (SWIG_arg_fail(9)) SWIG_fail
;
5029 arg10
= (int)(SWIG_As_int(obj8
));
5030 if (SWIG_arg_fail(10)) SWIG_fail
;
5034 if (!wxPyCheckForApp()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5057 if (arg4
) delete [] arg4
;
5070 if (arg4
) delete [] arg4
;
5076 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxString
*arg1
= 0 ;
5079 wxString
*arg2
= 0 ;
5081 wxString
*arg4
= (wxString
*) 0 ;
5082 wxWindow
*arg5
= (wxWindow
*) NULL
;
5083 int arg6
= (int) -1 ;
5084 int arg7
= (int) -1 ;
5085 bool arg8
= (bool) true ;
5086 int arg9
= (int) 150 ;
5087 int arg10
= (int) 200 ;
5089 bool temp1
= false ;
5090 bool temp2
= false ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 PyObject
* obj2
= 0 ;
5094 PyObject
* obj3
= 0 ;
5095 PyObject
* obj4
= 0 ;
5096 PyObject
* obj5
= 0 ;
5097 PyObject
* obj6
= 0 ;
5098 PyObject
* obj7
= 0 ;
5099 PyObject
* obj8
= 0 ;
5101 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5106 arg1
= wxString_in_helper(obj0
);
5107 if (arg1
== NULL
) SWIG_fail
;
5111 arg2
= wxString_in_helper(obj1
);
5112 if (arg2
== NULL
) SWIG_fail
;
5116 arg3
= PyList_Size(obj2
);
5117 arg4
= wxString_LIST_helper(obj2
);
5118 if (arg4
== NULL
) SWIG_fail
;
5121 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5122 if (SWIG_arg_fail(5)) SWIG_fail
;
5126 arg6
= (int)(SWIG_As_int(obj4
));
5127 if (SWIG_arg_fail(6)) SWIG_fail
;
5132 arg7
= (int)(SWIG_As_int(obj5
));
5133 if (SWIG_arg_fail(7)) SWIG_fail
;
5138 arg8
= (bool)(SWIG_As_bool(obj6
));
5139 if (SWIG_arg_fail(8)) SWIG_fail
;
5144 arg9
= (int)(SWIG_As_int(obj7
));
5145 if (SWIG_arg_fail(9)) SWIG_fail
;
5150 arg10
= (int)(SWIG_As_int(obj8
));
5151 if (SWIG_arg_fail(10)) SWIG_fail
;
5155 if (!wxPyCheckForApp()) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_From_int((int)(result
));
5174 if (arg4
) delete [] arg4
;
5187 if (arg4
) delete [] arg4
;
5193 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxString
*arg1
= 0 ;
5196 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5197 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5198 int arg3
= (int) wxOK
|wxCENTRE
;
5199 wxWindow
*arg4
= (wxWindow
*) NULL
;
5200 int arg5
= (int) -1 ;
5201 int arg6
= (int) -1 ;
5203 bool temp1
= false ;
5204 bool temp2
= false ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5207 PyObject
* obj2
= 0 ;
5208 PyObject
* obj3
= 0 ;
5209 PyObject
* obj4
= 0 ;
5210 PyObject
* obj5
= 0 ;
5212 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5217 arg1
= wxString_in_helper(obj0
);
5218 if (arg1
== NULL
) SWIG_fail
;
5223 arg2
= wxString_in_helper(obj1
);
5224 if (arg2
== NULL
) SWIG_fail
;
5230 arg3
= (int)(SWIG_As_int(obj2
));
5231 if (SWIG_arg_fail(3)) SWIG_fail
;
5235 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5236 if (SWIG_arg_fail(4)) SWIG_fail
;
5240 arg5
= (int)(SWIG_As_int(obj4
));
5241 if (SWIG_arg_fail(5)) SWIG_fail
;
5246 arg6
= (int)(SWIG_As_int(obj5
));
5247 if (SWIG_arg_fail(6)) SWIG_fail
;
5251 if (!wxPyCheckForApp()) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_From_int((int)(result
));
5283 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxString
*arg1
= 0 ;
5286 wxString
*arg2
= 0 ;
5287 wxString
*arg3
= 0 ;
5289 long arg5
= (long) 0 ;
5290 long arg6
= (long) 100 ;
5291 wxWindow
*arg7
= (wxWindow
*) NULL
;
5292 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5293 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5295 bool temp1
= false ;
5296 bool temp2
= false ;
5297 bool temp3
= false ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5301 PyObject
* obj2
= 0 ;
5302 PyObject
* obj3
= 0 ;
5303 PyObject
* obj4
= 0 ;
5304 PyObject
* obj5
= 0 ;
5305 PyObject
* obj6
= 0 ;
5306 PyObject
* obj7
= 0 ;
5308 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5313 arg1
= wxString_in_helper(obj0
);
5314 if (arg1
== NULL
) SWIG_fail
;
5318 arg2
= wxString_in_helper(obj1
);
5319 if (arg2
== NULL
) SWIG_fail
;
5323 arg3
= wxString_in_helper(obj2
);
5324 if (arg3
== NULL
) SWIG_fail
;
5328 arg4
= (long)(SWIG_As_long(obj3
));
5329 if (SWIG_arg_fail(4)) SWIG_fail
;
5333 arg5
= (long)(SWIG_As_long(obj4
));
5334 if (SWIG_arg_fail(5)) SWIG_fail
;
5339 arg6
= (long)(SWIG_As_long(obj5
));
5340 if (SWIG_arg_fail(6)) SWIG_fail
;
5344 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5345 if (SWIG_arg_fail(7)) SWIG_fail
;
5350 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5354 if (!wxPyCheckForApp()) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= SWIG_From_long((long)(result
));
5394 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5403 if (!wxPyCheckForApp()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)wxColourDisplay();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5419 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5428 if (!wxPyCheckForApp()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (int)wxDisplayDepth();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= SWIG_From_int((int)(result
));
5444 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5453 if (!wxPyCheckForApp()) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (int)wxGetDisplayDepth();
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_From_int((int)(result
));
5469 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 int *arg1
= (int *) 0 ;
5472 int *arg2
= (int *) 0 ;
5481 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5485 if (!wxPyCheckForApp()) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 wxDisplaySize(arg1
,arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5494 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5503 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5512 if (!wxPyCheckForApp()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= wxGetDisplaySize();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5521 resultptr
= new wxSize((wxSize
&)(result
));
5522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5530 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 int *arg1
= (int *) 0 ;
5533 int *arg2
= (int *) 0 ;
5542 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5543 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5546 if (!wxPyCheckForApp()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 wxDisplaySizeMM(arg1
,arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5555 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5556 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5557 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5564 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5573 if (!wxPyCheckForApp()) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= wxGetDisplaySizeMM();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5582 resultptr
= new wxSize((wxSize
&)(result
));
5583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5591 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 int *arg1
= (int *) 0 ;
5594 int *arg2
= (int *) 0 ;
5595 int *arg3
= (int *) 0 ;
5596 int *arg4
= (int *) 0 ;
5609 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5610 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5611 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5612 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5615 if (!wxPyCheckForApp()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5623 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5624 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5625 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5626 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5629 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5630 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5637 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= wxGetClientDisplayRect();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5655 resultptr
= new wxRect((wxRect
&)(result
));
5656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5664 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxCursor
*arg1
= 0 ;
5667 PyObject
* obj0
= 0 ;
5669 (char *) "cursor", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail
;
5677 SWIG_null_ref("wxCursor");
5679 if (SWIG_arg_fail(1)) SWIG_fail
;
5682 if (!wxPyCheckForApp()) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 Py_INCREF(Py_None
); resultobj
= Py_None
;
5696 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "cursor", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 wxBeginBusyCursor(arg1
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 Py_INCREF(Py_None
); resultobj
= Py_None
;
5724 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5733 if (!wxPyCheckForApp()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (wxWindow
*)wxGetActiveWindow();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= wxPyMake_wxObject(result
, 0);
5749 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5754 PyObject
* obj0
= 0 ;
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5762 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5765 if (!wxPyCheckForApp()) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= wxPyMake_wxObject(result
, 0);
5781 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5786 PyObject
* obj0
= 0 ;
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5794 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5797 if (!wxPyCheckForApp()) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= wxPyMake_wxObject(result
, 0);
5813 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxWindow
*arg1
= (wxWindow
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "win", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5824 if (SWIG_arg_fail(1)) SWIG_fail
;
5826 if (!wxPyCheckForApp()) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= wxPyMake_wxObject(result
, 0);
5842 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "key", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5853 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5854 if (SWIG_arg_fail(1)) SWIG_fail
;
5857 if (!wxPyCheckForApp()) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5873 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5881 if (!wxPyCheckForApp()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 wxWakeUpMainThread();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 Py_INCREF(Py_None
); resultobj
= Py_None
;
5895 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5903 if (!wxPyCheckForApp()) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
5925 if (!wxPyCheckForApp()) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxMutexGuiLocker
*result
;
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
5948 if (!wxPyCheckForApp()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
5962 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
5971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
5972 if (SWIG_arg_fail(1)) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
5989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5990 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
5992 return Py_BuildValue((char *)"");
5994 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (bool)wxThread_IsMain();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6018 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxString
*arg1
= 0 ;
6022 bool temp1
= false ;
6023 PyObject
* obj0
= 0 ;
6025 (char *) "tip", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6030 arg1
= wxString_in_helper(obj0
);
6031 if (arg1
== NULL
) SWIG_fail
;
6035 if (!wxPyCheckForApp()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= wxPyMake_wxObject(result
, 1);
6059 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6062 wxString
*arg2
= 0 ;
6063 bool temp2
= false ;
6064 PyObject
* obj0
= 0 ;
6065 PyObject
* obj1
= 0 ;
6067 (char *) "self",(char *) "tip", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail
;
6074 arg2
= wxString_in_helper(obj1
);
6075 if (arg2
== NULL
) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 (arg1
)->SetTip((wxString
const &)*arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (arg1
)->GetTip();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6132 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "self", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6143 if (SWIG_arg_fail(1)) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (wxWindow
*)(arg1
)->GetWindow();
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= wxPyMake_wxObject(result
, 0);
6160 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6163 PyObject
* obj0
= 0 ;
6165 (char *) "flag", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6170 arg1
= (bool)(SWIG_As_bool(obj0
));
6171 if (SWIG_arg_fail(1)) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 wxToolTip::Enable(arg1
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 Py_INCREF(Py_None
); resultobj
= Py_None
;
6187 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6190 PyObject
* obj0
= 0 ;
6192 (char *) "milliseconds", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6197 arg1
= (long)(SWIG_As_long(obj0
));
6198 if (SWIG_arg_fail(1)) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 wxToolTip::SetDelay(arg1
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 Py_INCREF(Py_None
); resultobj
= Py_None
;
6214 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6219 return Py_BuildValue((char *)"");
6221 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxWindow
*arg1
= (wxWindow
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "window",(char *) "size", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6235 if (SWIG_arg_fail(1)) SWIG_fail
;
6238 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6241 if (!wxPyCheckForApp()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6255 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxCaret
*arg1
= (wxCaret
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6260 (char *) "self", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxCaret
*arg1
= (wxCaret
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "self", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6291 if (SWIG_arg_fail(1)) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (bool)(arg1
)->IsOk();
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxCaret
*arg1
= (wxCaret
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (bool)(arg1
)->IsVisible();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6336 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxCaret
*arg1
= (wxCaret
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6342 (char *) "self", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6347 if (SWIG_arg_fail(1)) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (arg1
)->GetPosition();
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 wxPoint
* resultptr
;
6357 resultptr
= new wxPoint((wxPoint
&)(result
));
6358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6366 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxCaret
*arg1
= (wxCaret
*) 0 ;
6369 int *arg2
= (int *) 0 ;
6370 int *arg3
= (int *) 0 ;
6375 PyObject
* obj0
= 0 ;
6377 (char *) "self", NULL
6380 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6381 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 (arg1
)->GetPosition(arg2
,arg3
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 Py_INCREF(Py_None
); resultobj
= Py_None
;
6393 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6394 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6395 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6396 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6403 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxCaret
*arg1
= (wxCaret
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6414 if (SWIG_arg_fail(1)) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (arg1
)->GetSize();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6424 resultptr
= new wxSize((wxSize
&)(result
));
6425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6433 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxCaret
*arg1
= (wxCaret
*) 0 ;
6436 int *arg2
= (int *) 0 ;
6437 int *arg3
= (int *) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6448 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6451 if (SWIG_arg_fail(1)) SWIG_fail
;
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 (arg1
)->GetSize(arg2
,arg3
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 Py_INCREF(Py_None
); resultobj
= Py_None
;
6460 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6461 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6462 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6463 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6470 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxCaret
*arg1
= (wxCaret
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6481 if (SWIG_arg_fail(1)) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (wxWindow
*)(arg1
)->GetWindow();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= wxPyMake_wxObject(result
, 0);
6498 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxCaret
*arg1
= (wxCaret
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6505 PyObject
* obj2
= 0 ;
6507 (char *) "self",(char *) "x",(char *) "y", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6512 if (SWIG_arg_fail(1)) SWIG_fail
;
6514 arg2
= (int)(SWIG_As_int(obj1
));
6515 if (SWIG_arg_fail(2)) SWIG_fail
;
6518 arg3
= (int)(SWIG_As_int(obj2
));
6519 if (SWIG_arg_fail(3)) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 (arg1
)->Move(arg2
,arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 Py_INCREF(Py_None
); resultobj
= Py_None
;
6535 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxCaret
*arg1
= (wxCaret
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6543 (char *) "self",(char *) "pt", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail
;
6551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 (arg1
)->Move((wxPoint
const &)*arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 Py_INCREF(Py_None
); resultobj
= Py_None
;
6567 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxCaret
*arg1
= (wxCaret
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6574 PyObject
* obj2
= 0 ;
6576 (char *) "self",(char *) "width",(char *) "height", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6581 if (SWIG_arg_fail(1)) SWIG_fail
;
6583 arg2
= (int)(SWIG_As_int(obj1
));
6584 if (SWIG_arg_fail(2)) SWIG_fail
;
6587 arg3
= (int)(SWIG_As_int(obj2
));
6588 if (SWIG_arg_fail(3)) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->SetSize(arg2
,arg3
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxCaret
*arg1
= (wxCaret
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6612 (char *) "self",(char *) "size", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->SetSize((wxSize
const &)*arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6636 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxCaret
*arg1
= (wxCaret
*) 0 ;
6639 int arg2
= (int) true ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6643 (char *) "self",(char *) "show", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6651 arg2
= (int)(SWIG_As_int(obj1
));
6652 if (SWIG_arg_fail(2)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxCaret
*arg1
= (wxCaret
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6674 (char *) "self", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6679 if (SWIG_arg_fail(1)) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 Py_INCREF(Py_None
); resultobj
= Py_None
;
6694 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6697 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6699 return Py_BuildValue((char *)"");
6701 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (int)wxCaret_GetBlinkTime();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_From_int((int)(result
));
6725 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "milliseconds", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6735 arg1
= (int)(SWIG_As_int(obj0
));
6736 if (SWIG_arg_fail(1)) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 wxCaret_SetBlinkTime(arg1
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6755 wxBusyCursor
*result
;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "cursor", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail
;
6767 if (!wxPyCheckForApp()) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6781 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6786 (char *) "self", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6791 if (SWIG_arg_fail(1)) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6809 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6811 return Py_BuildValue((char *)"");
6813 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxWindow
*arg1
= (wxWindow
*) NULL
;
6816 wxWindowDisabler
*result
;
6817 PyObject
* obj0
= 0 ;
6819 (char *) "winToSkip", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6825 if (SWIG_arg_fail(1)) SWIG_fail
;
6828 if (!wxPyCheckForApp()) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6842 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "self", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6852 if (SWIG_arg_fail(1)) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6867 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6870 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6872 return Py_BuildValue((char *)"");
6874 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxString
*arg1
= 0 ;
6878 bool temp1
= false ;
6879 PyObject
* obj0
= 0 ;
6881 (char *) "message", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6886 arg1
= wxString_in_helper(obj0
);
6887 if (arg1
== NULL
) SWIG_fail
;
6891 if (!wxPyCheckForApp()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6913 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
6922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
6923 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
6940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6941 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
6943 return Py_BuildValue((char *)"");
6945 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxStopWatch
*result
;
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 result
= (wxStopWatch
*)new wxStopWatch();
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
6967 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
6970 long arg2
= (long) 0 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6974 (char *) "self",(char *) "t0", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
6978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
6979 if (SWIG_arg_fail(1)) SWIG_fail
;
6982 arg2
= (long)(SWIG_As_long(obj1
));
6983 if (SWIG_arg_fail(2)) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 (arg1
)->Start(arg2
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 Py_INCREF(Py_None
); resultobj
= Py_None
;
7000 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "self", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7010 if (SWIG_arg_fail(1)) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 Py_INCREF(Py_None
); resultobj
= Py_None
;
7025 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7061 if (SWIG_arg_fail(1)) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_From_long((long)(result
));
7078 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7081 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7083 return Py_BuildValue((char *)"");
7085 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 int arg1
= (int) 9 ;
7088 int arg2
= (int) wxID_FILE1
;
7089 wxFileHistory
*result
;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "maxFiles",(char *) "idBase", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7099 arg1
= (int)(SWIG_As_int(obj0
));
7100 if (SWIG_arg_fail(1)) SWIG_fail
;
7105 arg2
= (int)(SWIG_As_int(obj1
));
7106 if (SWIG_arg_fail(2)) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7123 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7151 wxString
*arg2
= 0 ;
7152 bool temp2
= false ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7156 (char *) "self",(char *) "file", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail
;
7163 arg2
= wxString_in_helper(obj1
);
7164 if (arg2
== NULL
) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "i", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(1)) SWIG_fail
;
7203 arg2
= (int)(SWIG_As_int(obj1
));
7204 if (SWIG_arg_fail(2)) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 (arg1
)->RemoveFileFromHistory(arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= SWIG_From_int((int)(result
));
7248 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7251 wxMenu
*arg2
= (wxMenu
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7255 (char *) "self",(char *) "menu", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail
;
7261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7262 if (SWIG_arg_fail(2)) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 (arg1
)->UseMenu(arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 Py_INCREF(Py_None
); resultobj
= Py_None
;
7277 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7280 wxMenu
*arg2
= (wxMenu
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7284 (char *) "self",(char *) "menu", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7289 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7291 if (SWIG_arg_fail(2)) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->RemoveMenu(arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7309 wxConfigBase
*arg2
= 0 ;
7310 PyObject
* obj0
= 0 ;
7311 PyObject
* obj1
= 0 ;
7313 (char *) "self",(char *) "config", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7318 if (SWIG_arg_fail(1)) SWIG_fail
;
7320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7321 if (SWIG_arg_fail(2)) SWIG_fail
;
7323 SWIG_null_ref("wxConfigBase");
7325 if (SWIG_arg_fail(2)) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 (arg1
)->Load(*arg2
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 Py_INCREF(Py_None
); resultobj
= Py_None
;
7341 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7344 wxConfigBase
*arg2
= 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7348 (char *) "self",(char *) "config", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7353 if (SWIG_arg_fail(1)) SWIG_fail
;
7355 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7356 if (SWIG_arg_fail(2)) SWIG_fail
;
7358 SWIG_null_ref("wxConfigBase");
7360 if (SWIG_arg_fail(2)) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->Save(*arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7381 (char *) "self", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 (arg1
)->AddFilesToMenu();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7404 wxMenu
*arg2
= (wxMenu
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7408 (char *) "self",(char *) "menu", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7413 if (SWIG_arg_fail(1)) SWIG_fail
;
7414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7415 if (SWIG_arg_fail(2)) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 (arg1
)->AddFilesToMenu(arg2
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 Py_INCREF(Py_None
); resultobj
= Py_None
;
7430 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7438 (char *) "self",(char *) "i", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7443 if (SWIG_arg_fail(1)) SWIG_fail
;
7445 arg2
= (int)(SWIG_As_int(obj1
));
7446 if (SWIG_arg_fail(2)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7468 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7474 (char *) "self", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7479 if (SWIG_arg_fail(1)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_From_int((int)(result
));
7496 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7499 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7501 return Py_BuildValue((char *)"");
7503 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxString
*arg1
= 0 ;
7506 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7507 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7508 wxSingleInstanceChecker
*result
;
7509 bool temp1
= false ;
7510 bool temp2
= false ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7514 (char *) "name",(char *) "path", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 arg1
= wxString_in_helper(obj0
);
7520 if (arg1
== NULL
) SWIG_fail
;
7525 arg2
= wxString_in_helper(obj1
);
7526 if (arg2
== NULL
) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7560 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxSingleInstanceChecker
*result
;
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7582 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7610 wxString
*arg2
= 0 ;
7611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7614 bool temp2
= false ;
7615 bool temp3
= false ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "name",(char *) "path", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail
;
7627 arg2
= wxString_in_helper(obj1
);
7628 if (arg2
== NULL
) SWIG_fail
;
7633 arg3
= wxString_in_helper(obj2
);
7634 if (arg3
== NULL
) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7670 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7703 return Py_BuildValue((char *)"");
7705 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 Py_INCREF(Py_None
); resultobj
= Py_None
;
7730 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7741 if (SWIG_arg_fail(1)) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (arg1
)->GetTip();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7762 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "self", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (size_t)(arg1
)->GetCurrentTip();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7790 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7793 wxString
*arg2
= 0 ;
7795 bool temp2
= false ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7799 (char *) "self",(char *) "tip", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7804 if (SWIG_arg_fail(1)) SWIG_fail
;
7806 arg2
= wxString_in_helper(obj1
);
7807 if (arg2
== NULL
) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7838 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7843 return Py_BuildValue((char *)"");
7845 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7848 wxPyTipProvider
*result
;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "currentTip", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7856 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7857 if (SWIG_arg_fail(1)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7873 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7876 PyObject
*arg2
= (PyObject
*) 0 ;
7877 PyObject
*arg3
= (PyObject
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7880 PyObject
* obj2
= 0 ;
7882 (char *) "self",(char *) "self",(char *) "_class", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7887 if (SWIG_arg_fail(1)) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
7906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7907 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
7909 return Py_BuildValue((char *)"");
7911 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxWindow
*arg1
= (wxWindow
*) 0 ;
7914 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
7915 bool arg3
= (bool) true ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 PyObject
* obj2
= 0 ;
7921 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7926 if (SWIG_arg_fail(1)) SWIG_fail
;
7927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7928 if (SWIG_arg_fail(2)) SWIG_fail
;
7931 arg3
= (bool)(SWIG_As_bool(obj2
));
7932 if (SWIG_arg_fail(3)) SWIG_fail
;
7936 if (!wxPyCheckForApp()) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7952 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxString
*arg1
= 0 ;
7956 wxTipProvider
*result
;
7957 bool temp1
= false ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7961 (char *) "filename",(char *) "currentTip", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 arg1
= wxString_in_helper(obj0
);
7967 if (arg1
== NULL
) SWIG_fail
;
7971 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7972 if (SWIG_arg_fail(2)) SWIG_fail
;
7975 if (!wxPyCheckForApp()) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
7997 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8000 int arg2
= (int) -1 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "owner",(char *) "id", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail
;
8015 arg2
= (int)(SWIG_As_int(obj1
));
8016 if (SWIG_arg_fail(2)) SWIG_fail
;
8020 if (!wxPyCheckForApp()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8034 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8062 PyObject
*arg2
= (PyObject
*) 0 ;
8063 PyObject
*arg3
= (PyObject
*) 0 ;
8064 int arg4
= (int) 1 ;
8065 PyObject
* obj0
= 0 ;
8066 PyObject
* obj1
= 0 ;
8067 PyObject
* obj2
= 0 ;
8068 PyObject
* obj3
= 0 ;
8070 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8075 if (SWIG_arg_fail(1)) SWIG_fail
;
8080 arg4
= (int)(SWIG_As_int(obj3
));
8081 if (SWIG_arg_fail(4)) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 Py_INCREF(Py_None
); resultobj
= Py_None
;
8098 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8101 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8102 int arg3
= (int) -1 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8107 (char *) "self",(char *) "owner",(char *) "id", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8112 if (SWIG_arg_fail(1)) SWIG_fail
;
8113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8114 if (SWIG_arg_fail(2)) SWIG_fail
;
8117 arg3
= (int)(SWIG_As_int(obj2
));
8118 if (SWIG_arg_fail(3)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetOwner(arg2
,arg3
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8138 wxEvtHandler
*result
;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8146 if (SWIG_arg_fail(1)) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= wxPyMake_wxObject(result
, 0);
8163 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8166 int arg2
= (int) -1 ;
8167 bool arg3
= (bool) false ;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8173 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 arg2
= (int)(SWIG_As_int(obj1
));
8182 if (SWIG_arg_fail(2)) SWIG_fail
;
8187 arg3
= (bool)(SWIG_As_bool(obj2
));
8188 if (SWIG_arg_fail(3)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8207 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8243 if (SWIG_arg_fail(1)) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8260 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "self", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8271 if (SWIG_arg_fail(1)) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= SWIG_From_int((int)(result
));
8288 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8294 (char *) "self", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8316 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "self", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8327 if (SWIG_arg_fail(1)) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_From_int((int)(result
));
8344 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8347 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8349 return Py_BuildValue((char *)"");
8351 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 int arg1
= (int) 0 ;
8354 int arg2
= (int) 0 ;
8355 wxTimerEvent
*result
;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8359 (char *) "timerid",(char *) "interval", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 arg1
= (int)(SWIG_As_int(obj0
));
8366 if (SWIG_arg_fail(1)) SWIG_fail
;
8371 arg2
= (int)(SWIG_As_int(obj1
));
8372 if (SWIG_arg_fail(2)) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8389 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8395 (char *) "self", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8400 if (SWIG_arg_fail(1)) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_From_int((int)(result
));
8417 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8420 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8422 return Py_BuildValue((char *)"");
8424 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8425 PyObject
*resultobj
;
8427 wxTimerRunner
*result
;
8428 PyObject
* obj0
= 0 ;
8430 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8433 if (SWIG_arg_fail(1)) SWIG_fail
;
8435 SWIG_null_ref("wxTimer");
8437 if (SWIG_arg_fail(1)) SWIG_fail
;
8440 if (!wxPyCheckForApp()) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8454 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8455 PyObject
*resultobj
;
8458 bool arg3
= (bool) false ;
8459 wxTimerRunner
*result
;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8462 PyObject
* obj2
= 0 ;
8464 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail
;
8469 SWIG_null_ref("wxTimer");
8471 if (SWIG_arg_fail(1)) SWIG_fail
;
8474 arg2
= (int)(SWIG_As_int(obj1
));
8475 if (SWIG_arg_fail(2)) SWIG_fail
;
8479 arg3
= (bool)(SWIG_As_bool(obj2
));
8480 if (SWIG_arg_fail(3)) SWIG_fail
;
8484 if (!wxPyCheckForApp()) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8498 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8503 argc
= PyObject_Length(args
);
8504 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8505 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8519 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8522 if ((argc
>= 2) && (argc
<= 3)) {
8526 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8534 _v
= SWIG_Check_int(argv
[1]);
8537 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8539 _v
= SWIG_Check_bool(argv
[2]);
8541 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8547 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8552 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8555 PyObject
* obj0
= 0 ;
8557 (char *) "self", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8562 if (SWIG_arg_fail(1)) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 Py_INCREF(Py_None
); resultobj
= Py_None
;
8577 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8581 bool arg3
= (bool) false ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8586 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 arg2
= (int)(SWIG_As_int(obj1
));
8594 if (SWIG_arg_fail(2)) SWIG_fail
;
8598 arg3
= (bool)(SWIG_As_bool(obj2
));
8599 if (SWIG_arg_fail(3)) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 (arg1
)->Start(arg2
,arg3
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 Py_INCREF(Py_None
); resultobj
= Py_None
;
8616 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8619 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8621 return Py_BuildValue((char *)"");
8623 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxLog
*)new wxLog();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8645 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (bool)wxLog::IsEnabled();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8669 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 bool arg1
= (bool) true ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "doIt", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8681 arg1
= (bool)(SWIG_As_bool(obj0
));
8682 if (SWIG_arg_fail(1)) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (bool)wxLog::EnableLogging(arg1
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8701 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8704 wxChar
*arg2
= (wxChar
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8708 PyObject
* obj2
= 0 ;
8710 (char *) "level",(char *) "szString",(char *) "t", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8715 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8716 if (SWIG_arg_fail(1)) SWIG_fail
;
8718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(2)) SWIG_fail
;
8721 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8722 if (SWIG_arg_fail(3)) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 Py_INCREF(Py_None
); resultobj
= Py_None
;
8738 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8740 wxLog
*arg1
= (wxLog
*) 0 ;
8741 PyObject
* obj0
= 0 ;
8743 (char *) "self", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 Py_INCREF(Py_None
); resultobj
= Py_None
;
8763 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 wxLog::FlushActive();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= (wxLog
*)wxLog::GetActiveTarget();
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8806 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxLog
*arg1
= (wxLog
*) 0 ;
8810 PyObject
* obj0
= 0 ;
8812 (char *) "pLogger", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8832 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 Py_INCREF(Py_None
); resultobj
= Py_None
;
8853 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8874 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 bool arg1
= (bool) true ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "bVerbose", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
8885 arg1
= (bool)(SWIG_As_bool(obj0
));
8886 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 wxLog::SetVerbose(arg1
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8906 PyObject
* obj0
= 0 ;
8908 (char *) "logLevel", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
8913 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxLog::SetLogLevel(arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 wxLog::DontCreateOnDemand();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "ulMask", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
8961 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
8962 if (SWIG_arg_fail(1)) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 wxLog::SetTraceMask(arg1
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxString
*arg1
= 0 ;
8981 bool temp1
= false ;
8982 PyObject
* obj0
= 0 ;
8984 (char *) "str", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
8989 arg1
= wxString_in_helper(obj0
);
8990 if (arg1
== NULL
) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 wxLog::AddTraceMask((wxString
const &)*arg1
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxString
*arg1
= 0 ;
9018 bool temp1
= false ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "str", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9026 arg1
= wxString_in_helper(obj0
);
9027 if (arg1
== NULL
) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 wxLog::ClearTraceMasks();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxArrayString
*result
;
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9085 result
= (wxArrayString
*) &_result_ref
;
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= wxArrayString2PyList_helper(*result
);
9100 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxChar
*arg1
= (wxChar
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9110 if (SWIG_arg_fail(1)) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 wxLog::SetTimestamp((wxChar
const *)arg1
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (bool)wxLog::GetVerbose();
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9149 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxTraceMask
)wxLog::GetTraceMask();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9173 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxChar
*arg1
= (wxChar
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "mask", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9201 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (wxLogLevel
)wxLog::GetLogLevel();
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9225 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxChar
*)wxLog::GetTimestamp();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9247 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= Log_TimeStamp();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9275 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxLog
*arg1
= (wxLog
*) 0 ;
9278 PyObject
* obj0
= 0 ;
9280 (char *) "self", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9285 if (SWIG_arg_fail(1)) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 wxLog_Destroy(arg1
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 Py_INCREF(Py_None
); resultobj
= Py_None
;
9300 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9303 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9305 return Py_BuildValue((char *)"");
9307 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxLogStderr
*result
;
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (wxLogStderr
*)new wxLogStderr();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9329 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9332 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9334 return Py_BuildValue((char *)"");
9336 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9339 wxLogTextCtrl
*result
;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "pTextCtrl", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9347 if (SWIG_arg_fail(1)) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9362 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9365 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9367 return Py_BuildValue((char *)"");
9369 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (wxLogGui
*)new wxLogGui();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9391 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9394 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9396 return Py_BuildValue((char *)"");
9398 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxFrame
*arg1
= (wxFrame
*) 0 ;
9401 wxString
*arg2
= 0 ;
9402 bool arg3
= (bool) true ;
9403 bool arg4
= (bool) true ;
9404 wxLogWindow
*result
;
9405 bool temp2
= false ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9409 PyObject
* obj3
= 0 ;
9411 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 arg2
= wxString_in_helper(obj1
);
9419 if (arg2
== NULL
) SWIG_fail
;
9424 arg3
= (bool)(SWIG_As_bool(obj2
));
9425 if (SWIG_arg_fail(3)) SWIG_fail
;
9430 arg4
= (bool)(SWIG_As_bool(obj3
));
9431 if (SWIG_arg_fail(4)) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9456 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9459 bool arg2
= (bool) true ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "bShow", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9468 if (SWIG_arg_fail(1)) SWIG_fail
;
9471 arg2
= (bool)(SWIG_As_bool(obj1
));
9472 if (SWIG_arg_fail(2)) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9495 (char *) "self", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(1)) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= wxPyMake_wxObject(result
, 0);
9517 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9528 if (SWIG_arg_fail(1)) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9543 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9547 PyObject
* obj0
= 0 ;
9549 (char *) "self", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9554 if (SWIG_arg_fail(1)) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9571 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9576 PyObject
* obj1
= 0 ;
9578 (char *) "self",(char *) "bDoPass", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9583 if (SWIG_arg_fail(1)) SWIG_fail
;
9585 arg2
= (bool)(SWIG_As_bool(obj1
));
9586 if (SWIG_arg_fail(2)) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 (arg1
)->PassMessages(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 Py_INCREF(Py_None
); resultobj
= Py_None
;
9602 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9605 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9607 return Py_BuildValue((char *)"");
9609 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxLog
*arg1
= (wxLog
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "logger", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9620 if (SWIG_arg_fail(1)) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (wxLogChain
*)new wxLogChain(arg1
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9635 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9638 wxLog
*arg2
= (wxLog
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9642 (char *) "self",(char *) "logger", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9647 if (SWIG_arg_fail(1)) SWIG_fail
;
9648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9649 if (SWIG_arg_fail(2)) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->SetLog(arg2
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 Py_INCREF(Py_None
); resultobj
= Py_None
;
9664 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9671 (char *) "self",(char *) "bDoPass", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9676 if (SWIG_arg_fail(1)) SWIG_fail
;
9678 arg2
= (bool)(SWIG_As_bool(obj1
));
9679 if (SWIG_arg_fail(2)) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 (arg1
)->PassMessages(arg2
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9695 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9706 if (SWIG_arg_fail(1)) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)(arg1
)->IsPassingMessages();
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9729 (char *) "self", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9734 if (SWIG_arg_fail(1)) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxLog
*)(arg1
)->GetOldLog();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9749 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9752 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9754 return Py_BuildValue((char *)"");
9756 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 unsigned long result
;
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (unsigned long)wxSysErrorCode();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9780 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 unsigned long arg1
= (unsigned long) 0 ;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "nErrCode", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9792 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9793 if (SWIG_arg_fail(1)) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= wxSysErrorMsg(arg1
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9816 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxString
*arg1
= 0 ;
9819 bool temp1
= false ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "msg", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9827 arg1
= wxString_in_helper(obj0
);
9828 if (arg1
== NULL
) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 wxPyLogFatalError((wxString
const &)*arg1
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 Py_INCREF(Py_None
); resultobj
= Py_None
;
9853 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxString
*arg1
= 0 ;
9856 bool temp1
= false ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "msg", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9864 arg1
= wxString_in_helper(obj0
);
9865 if (arg1
== NULL
) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 wxPyLogError((wxString
const &)*arg1
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9890 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxString
*arg1
= 0 ;
9893 bool temp1
= false ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "msg", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
9901 arg1
= wxString_in_helper(obj0
);
9902 if (arg1
== NULL
) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 wxPyLogWarning((wxString
const &)*arg1
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 Py_INCREF(Py_None
); resultobj
= Py_None
;
9927 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxString
*arg1
= 0 ;
9930 bool temp1
= false ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "msg", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
9938 arg1
= wxString_in_helper(obj0
);
9939 if (arg1
== NULL
) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxPyLogMessage((wxString
const &)*arg1
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9964 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxString
*arg1
= 0 ;
9967 bool temp1
= false ;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "msg", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
9975 arg1
= wxString_in_helper(obj0
);
9976 if (arg1
== NULL
) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 wxPyLogInfo((wxString
const &)*arg1
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxString
*arg1
= 0 ;
10004 bool temp1
= false ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "msg", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10012 arg1
= wxString_in_helper(obj0
);
10013 if (arg1
== NULL
) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 wxPyLogDebug((wxString
const &)*arg1
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 Py_INCREF(Py_None
); resultobj
= Py_None
;
10038 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxString
*arg1
= 0 ;
10041 bool temp1
= false ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "msg", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10049 arg1
= wxString_in_helper(obj0
);
10050 if (arg1
== NULL
) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxPyLogVerbose((wxString
const &)*arg1
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 Py_INCREF(Py_None
); resultobj
= Py_None
;
10075 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxString
*arg1
= 0 ;
10078 bool temp1
= false ;
10079 PyObject
* obj0
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "msg", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10086 arg1
= wxString_in_helper(obj0
);
10087 if (arg1
== NULL
) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 wxPyLogStatus((wxString
const &)*arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 Py_INCREF(Py_None
); resultobj
= Py_None
;
10112 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxFrame
*arg1
= (wxFrame
*) 0 ;
10115 wxString
*arg2
= 0 ;
10116 bool temp2
= false ;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "pFrame",(char *) "msg", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10125 if (SWIG_arg_fail(1)) SWIG_fail
;
10127 arg2
= wxString_in_helper(obj1
);
10128 if (arg2
== NULL
) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10153 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxString
*arg1
= 0 ;
10156 bool temp1
= false ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "msg", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10164 arg1
= wxString_in_helper(obj0
);
10165 if (arg1
== NULL
) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 wxPyLogSysError((wxString
const &)*arg1
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10190 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 unsigned long arg1
;
10193 wxString
*arg2
= 0 ;
10194 bool temp2
= false ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "level",(char *) "msg", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10203 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10204 if (SWIG_arg_fail(1)) SWIG_fail
;
10207 arg2
= wxString_in_helper(obj1
);
10208 if (arg2
== NULL
) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 Py_INCREF(Py_None
); resultobj
= Py_None
;
10233 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10234 PyObject
*resultobj
;
10235 unsigned long arg1
;
10236 wxString
*arg2
= 0 ;
10237 bool temp2
= false ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10241 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10243 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10244 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 arg2
= wxString_in_helper(obj1
);
10248 if (arg2
== NULL
) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10274 PyObject
*resultobj
;
10275 wxString
*arg1
= 0 ;
10276 wxString
*arg2
= 0 ;
10277 bool temp1
= false ;
10278 bool temp2
= false ;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10282 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10284 arg1
= wxString_in_helper(obj0
);
10285 if (arg1
== NULL
) SWIG_fail
;
10289 arg2
= wxString_in_helper(obj1
);
10290 if (arg2
== NULL
) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10323 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10328 argc
= PyObject_Length(args
);
10329 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10330 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10335 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10339 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10342 return _wrap_LogTrace__SWIG_1(self
,args
);
10348 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10351 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10354 return _wrap_LogTrace__SWIG_0(self
,args
);
10359 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10364 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxString
*arg1
= 0 ;
10367 wxString
*arg2
= 0 ;
10368 bool temp1
= false ;
10369 bool temp2
= false ;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "title",(char *) "text", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10378 arg1
= wxString_in_helper(obj0
);
10379 if (arg1
== NULL
) SWIG_fail
;
10383 arg2
= wxString_in_helper(obj1
);
10384 if (arg2
== NULL
) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10417 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10420 char *kwnames
[] = {
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (wxLogNull
*)new wxLogNull();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10439 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10467 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10469 return Py_BuildValue((char *)"");
10471 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10474 char *kwnames
[] = {
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxPyLog
*)new wxPyLog();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10493 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10496 PyObject
*arg2
= (PyObject
*) 0 ;
10497 PyObject
*arg3
= (PyObject
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 PyObject
* obj2
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "self",(char *) "_class", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10507 if (SWIG_arg_fail(1)) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 Py_INCREF(Py_None
); resultobj
= Py_None
;
10524 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10527 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10529 return Py_BuildValue((char *)"");
10531 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10534 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10535 int arg3
= (int) wxKILL_NOCHILDREN
;
10536 wxKillError result
;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10546 arg1
= (int)(SWIG_As_int(obj0
));
10547 if (SWIG_arg_fail(1)) SWIG_fail
;
10551 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10552 if (SWIG_arg_fail(2)) SWIG_fail
;
10557 arg3
= (int)(SWIG_As_int(obj2
));
10558 if (SWIG_arg_fail(3)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_From_int((result
));
10575 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10579 PyObject
* obj0
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "pid", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10586 arg1
= (int)(SWIG_As_int(obj0
));
10587 if (SWIG_arg_fail(1)) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)wxPyProcess::Exists(arg1
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10605 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxString
*arg1
= 0 ;
10608 int arg2
= (int) wxEXEC_ASYNC
;
10609 wxPyProcess
*result
;
10610 bool temp1
= false ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "cmd",(char *) "flags", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10619 arg1
= wxString_in_helper(obj0
);
10620 if (arg1
== NULL
) SWIG_fail
;
10625 arg2
= (int)(SWIG_As_int(obj1
));
10626 if (SWIG_arg_fail(2)) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10651 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10654 int arg2
= (int) -1 ;
10655 wxPyProcess
*result
;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "parent",(char *) "id", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10665 if (SWIG_arg_fail(1)) SWIG_fail
;
10669 arg2
= (int)(SWIG_As_int(obj1
));
10670 if (SWIG_arg_fail(2)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10687 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10690 PyObject
*arg2
= (PyObject
*) 0 ;
10691 PyObject
*arg3
= (PyObject
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 PyObject
* obj2
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "self",(char *) "_class", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "pid",(char *) "status", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10732 if (SWIG_arg_fail(1)) SWIG_fail
;
10734 arg2
= (int)(SWIG_As_int(obj1
));
10735 if (SWIG_arg_fail(2)) SWIG_fail
;
10738 arg3
= (int)(SWIG_As_int(obj2
));
10739 if (SWIG_arg_fail(3)) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->base_OnTerminate(arg2
,arg3
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10755 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->Redirect();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10791 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 result
= (bool)(arg1
)->IsRedirected();
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10808 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10836 wxInputStream
*result
;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10844 if (SWIG_arg_fail(1)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 wxPyInputStream
* _ptr
= NULL
;
10856 _ptr
= new wxPyInputStream(result
);
10858 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10866 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10869 wxInputStream
*result
;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 wxPyInputStream
* _ptr
= NULL
;
10889 _ptr
= new wxPyInputStream(result
);
10891 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10899 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10902 wxOutputStream
*result
;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
10909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
10925 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
10934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10935 if (SWIG_arg_fail(1)) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 (arg1
)->CloseOutput();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10954 PyObject
* obj0
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
10960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10961 if (SWIG_arg_fail(1)) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10978 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
10988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10989 if (SWIG_arg_fail(1)) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11006 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11017 if (SWIG_arg_fail(1)) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11034 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11037 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11039 return Py_BuildValue((char *)"");
11041 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 int arg1
= (int) 0 ;
11044 int arg2
= (int) 0 ;
11045 int arg3
= (int) 0 ;
11046 wxProcessEvent
*result
;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 PyObject
* obj2
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11057 arg1
= (int)(SWIG_As_int(obj0
));
11058 if (SWIG_arg_fail(1)) SWIG_fail
;
11063 arg2
= (int)(SWIG_As_int(obj1
));
11064 if (SWIG_arg_fail(2)) SWIG_fail
;
11069 arg3
= (int)(SWIG_As_int(obj2
));
11070 if (SWIG_arg_fail(3)) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11087 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (int)(arg1
)->GetPid();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_From_int((int)(result
));
11115 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (int)(arg1
)->GetExitCode();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_From_int((int)(result
));
11143 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "m_pid", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11155 if (SWIG_arg_fail(1)) SWIG_fail
;
11157 arg2
= (int)(SWIG_As_int(obj1
));
11158 if (SWIG_arg_fail(2)) SWIG_fail
;
11160 if (arg1
) (arg1
)->m_pid
= arg2
;
11162 Py_INCREF(Py_None
); resultobj
= Py_None
;
11169 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11180 if (SWIG_arg_fail(1)) SWIG_fail
;
11181 result
= (int) ((arg1
)->m_pid
);
11184 resultobj
= SWIG_From_int((int)(result
));
11192 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "m_exitcode", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 arg2
= (int)(SWIG_As_int(obj1
));
11207 if (SWIG_arg_fail(2)) SWIG_fail
;
11209 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11211 Py_INCREF(Py_None
); resultobj
= Py_None
;
11218 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11229 if (SWIG_arg_fail(1)) SWIG_fail
;
11230 result
= (int) ((arg1
)->m_exitcode
);
11233 resultobj
= SWIG_From_int((int)(result
));
11241 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11244 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11246 return Py_BuildValue((char *)"");
11248 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxString
*arg1
= 0 ;
11251 int arg2
= (int) wxEXEC_ASYNC
;
11252 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11254 bool temp1
= false ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 PyObject
* obj2
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "command",(char *) "flags",(char *) "process", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11264 arg1
= wxString_in_helper(obj0
);
11265 if (arg1
== NULL
) SWIG_fail
;
11270 arg2
= (int)(SWIG_As_int(obj1
));
11271 if (SWIG_arg_fail(2)) SWIG_fail
;
11275 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11276 if (SWIG_arg_fail(3)) SWIG_fail
;
11279 if (!wxPyCheckForApp()) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_From_long((long)(result
));
11303 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11306 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11307 wxKillError
*arg3
= (wxKillError
*) 0 ;
11308 int arg4
= (int) wxKILL_NOCHILDREN
;
11310 wxKillError temp3
;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11323 arg1
= (long)(SWIG_As_long(obj0
));
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11328 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11329 if (SWIG_arg_fail(2)) SWIG_fail
;
11334 arg4
= (int)(SWIG_As_int(obj2
));
11335 if (SWIG_arg_fail(4)) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int((int)(result
));
11350 o
= PyInt_FromLong((long) (*arg3
));
11351 resultobj
= t_output_helper(resultobj
, o
);
11359 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 int arg1
= (int) wxJOYSTICK1
;
11362 wxJoystick
*result
;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "joystick", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11371 arg1
= (int)(SWIG_As_int(obj0
));
11372 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 if (!wxPyCheckForApp()) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (wxJoystick
*)new wxJoystick(arg1
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11390 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11426 if (SWIG_arg_fail(1)) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (arg1
)->GetPosition();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 wxPoint
* resultptr
;
11436 resultptr
= new wxPoint((wxPoint
&)(result
));
11437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11445 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (int)(arg1
)->GetZPosition();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= SWIG_From_int((int)(result
));
11473 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (int)(arg1
)->GetButtonState();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_From_int((int)(result
));
11501 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11512 if (SWIG_arg_fail(1)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)(arg1
)->GetPOVPosition();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_From_int((int)(result
));
11529 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11540 if (SWIG_arg_fail(1)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (int)(arg1
)->GetPOVCTSPosition();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_From_int((int)(result
));
11557 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= (int)(arg1
)->GetRudderPosition();
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= SWIG_From_int((int)(result
));
11585 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11596 if (SWIG_arg_fail(1)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (int)(arg1
)->GetUPosition();
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_From_int((int)(result
));
11613 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (int)(arg1
)->GetVPosition();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_From_int((int)(result
));
11641 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11652 if (SWIG_arg_fail(1)) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (int)(arg1
)->GetMovementThreshold();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_From_int((int)(result
));
11669 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self",(char *) "threshold", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11681 if (SWIG_arg_fail(1)) SWIG_fail
;
11683 arg2
= (int)(SWIG_As_int(obj1
));
11684 if (SWIG_arg_fail(2)) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->SetMovementThreshold(arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 Py_INCREF(Py_None
); resultobj
= Py_None
;
11700 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11711 if (SWIG_arg_fail(1)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (bool)(arg1
)->IsOk();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11728 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11732 PyObject
* obj0
= 0 ;
11733 char *kwnames
[] = {
11734 (char *) "self", NULL
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (int)(arg1
)->GetNumberJoysticks();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_From_int((int)(result
));
11756 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11767 if (SWIG_arg_fail(1)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (int)(arg1
)->GetManufacturerId();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_From_int((int)(result
));
11784 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11788 PyObject
* obj0
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11795 if (SWIG_arg_fail(1)) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (int)(arg1
)->GetProductId();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_From_int((int)(result
));
11812 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11823 if (SWIG_arg_fail(1)) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (arg1
)->GetProductName();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11844 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11848 PyObject
* obj0
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11855 if (SWIG_arg_fail(1)) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (int)(arg1
)->GetXMin();
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_From_int((int)(result
));
11872 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
11882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11883 if (SWIG_arg_fail(1)) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (int)(arg1
)->GetYMin();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_From_int((int)(result
));
11900 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
11910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (int)(arg1
)->GetZMin();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_From_int((int)(result
));
11928 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
11938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11939 if (SWIG_arg_fail(1)) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (int)(arg1
)->GetXMax();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_From_int((int)(result
));
11956 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
11966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (int)(arg1
)->GetYMax();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= SWIG_From_int((int)(result
));
11984 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
11994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (int)(arg1
)->GetZMax();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_From_int((int)(result
));
12012 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (int)(arg1
)->GetNumberButtons();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_From_int((int)(result
));
12040 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12051 if (SWIG_arg_fail(1)) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (int)(arg1
)->GetNumberAxes();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_From_int((int)(result
));
12068 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12079 if (SWIG_arg_fail(1)) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (int)(arg1
)->GetMaxButtons();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_From_int((int)(result
));
12096 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12107 if (SWIG_arg_fail(1)) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (int)(arg1
)->GetMaxAxes();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_From_int((int)(result
));
12124 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
;
12126 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12128 PyObject
* obj0
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(1)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)(arg1
)->GetPollingMin();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_From_int((int)(result
));
12152 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12163 if (SWIG_arg_fail(1)) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (int)(arg1
)->GetPollingMax();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int((int)(result
));
12180 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12191 if (SWIG_arg_fail(1)) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (int)(arg1
)->GetRudderMin();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= SWIG_From_int((int)(result
));
12208 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12219 if (SWIG_arg_fail(1)) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (int)(arg1
)->GetRudderMax();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_From_int((int)(result
));
12236 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12247 if (SWIG_arg_fail(1)) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (int)(arg1
)->GetUMin();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_From_int((int)(result
));
12264 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12275 if (SWIG_arg_fail(1)) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (int)(arg1
)->GetUMax();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_From_int((int)(result
));
12292 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)(arg1
)->GetVMin();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_From_int((int)(result
));
12320 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (int)(arg1
)->GetVMax();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_From_int((int)(result
));
12348 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (bool)(arg1
)->HasRudder();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12376 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (bool)(arg1
)->HasZ();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12404 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12415 if (SWIG_arg_fail(1)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (bool)(arg1
)->HasU();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12432 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12443 if (SWIG_arg_fail(1)) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (bool)(arg1
)->HasV();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12460 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (bool)(arg1
)->HasPOV();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12488 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (bool)(arg1
)->HasPOV4Dir();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12527 if (SWIG_arg_fail(1)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (bool)(arg1
)->HasPOVCTS();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12544 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12547 wxWindow
*arg2
= (wxWindow
*) 0 ;
12548 int arg3
= (int) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 PyObject
* obj2
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12559 if (SWIG_arg_fail(1)) SWIG_fail
;
12560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(2)) SWIG_fail
;
12564 arg3
= (int)(SWIG_As_int(obj2
));
12565 if (SWIG_arg_fail(3)) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12584 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (bool)(arg1
)->ReleaseCapture();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12612 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12615 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12617 return Py_BuildValue((char *)"");
12619 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12622 int arg2
= (int) 0 ;
12623 int arg3
= (int) wxJOYSTICK1
;
12624 int arg4
= (int) 0 ;
12625 wxJoystickEvent
*result
;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 PyObject
* obj2
= 0 ;
12629 PyObject
* obj3
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12637 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12638 if (SWIG_arg_fail(1)) SWIG_fail
;
12643 arg2
= (int)(SWIG_As_int(obj1
));
12644 if (SWIG_arg_fail(2)) SWIG_fail
;
12649 arg3
= (int)(SWIG_As_int(obj2
));
12650 if (SWIG_arg_fail(3)) SWIG_fail
;
12655 arg4
= (int)(SWIG_As_int(obj3
));
12656 if (SWIG_arg_fail(4)) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12673 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12684 if (SWIG_arg_fail(1)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 wxPoint
* resultptr
;
12694 resultptr
= new wxPoint((wxPoint
&)(result
));
12695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12703 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12714 if (SWIG_arg_fail(1)) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_From_int((int)(result
));
12731 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12742 if (SWIG_arg_fail(1)) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_From_int((int)(result
));
12759 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
12769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12770 if (SWIG_arg_fail(1)) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_From_int((int)(result
));
12787 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
12797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12798 if (SWIG_arg_fail(1)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_From_int((int)(result
));
12815 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self",(char *) "stick", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
12826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12827 if (SWIG_arg_fail(1)) SWIG_fail
;
12829 arg2
= (int)(SWIG_As_int(obj1
));
12830 if (SWIG_arg_fail(2)) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 (arg1
)->SetJoystick(arg2
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 Py_INCREF(Py_None
); resultobj
= Py_None
;
12846 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "state", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
12857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail
;
12860 arg2
= (int)(SWIG_As_int(obj1
));
12861 if (SWIG_arg_fail(2)) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 (arg1
)->SetButtonState(arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 Py_INCREF(Py_None
); resultobj
= Py_None
;
12877 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self",(char *) "change", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
12888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12889 if (SWIG_arg_fail(1)) SWIG_fail
;
12891 arg2
= (int)(SWIG_As_int(obj1
));
12892 if (SWIG_arg_fail(2)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->SetButtonChange(arg2
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12911 wxPoint
*arg2
= 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self",(char *) "pos", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail
;
12924 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 Py_INCREF(Py_None
); resultobj
= Py_None
;
12940 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "zPos", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12952 if (SWIG_arg_fail(1)) SWIG_fail
;
12954 arg2
= (int)(SWIG_As_int(obj1
));
12955 if (SWIG_arg_fail(2)) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 (arg1
)->SetZPosition(arg2
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 Py_INCREF(Py_None
); resultobj
= Py_None
;
12971 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12982 if (SWIG_arg_fail(1)) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12999 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13010 if (SWIG_arg_fail(1)) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13058 int arg2
= (int) wxJOY_BUTTON_ANY
;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self",(char *) "but", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail
;
13071 arg2
= (int)(SWIG_As_int(obj1
));
13072 if (SWIG_arg_fail(2)) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13091 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13094 int arg2
= (int) wxJOY_BUTTON_ANY
;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self",(char *) "but", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13104 if (SWIG_arg_fail(1)) SWIG_fail
;
13107 arg2
= (int)(SWIG_As_int(obj1
));
13108 if (SWIG_arg_fail(2)) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13127 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13130 int arg2
= (int) wxJOY_BUTTON_ANY
;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "but", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13140 if (SWIG_arg_fail(1)) SWIG_fail
;
13143 arg2
= (int)(SWIG_As_int(obj1
));
13144 if (SWIG_arg_fail(2)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13163 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13166 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13168 return Py_BuildValue((char *)"");
13170 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13173 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13175 bool temp1
= false ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "fileName", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13184 arg1
= wxString_in_helper(obj0
);
13185 if (arg1
== NULL
) SWIG_fail
;
13190 if (!wxPyCheckForApp()) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13212 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 PyObject
*arg1
= (PyObject
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "data", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13224 if (!wxPyCheckForApp()) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (wxSound
*)new_wxSound(arg1
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13238 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxSound
*arg1
= (wxSound
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13248 if (SWIG_arg_fail(1)) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 Py_INCREF(Py_None
); resultobj
= Py_None
;
13263 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxSound
*arg1
= (wxSound
*) 0 ;
13266 wxString
*arg2
= 0 ;
13268 bool temp2
= false ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "fileName", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13277 if (SWIG_arg_fail(1)) SWIG_fail
;
13279 arg2
= wxString_in_helper(obj1
);
13280 if (arg2
== NULL
) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13307 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxSound
*arg1
= (wxSound
*) 0 ;
13310 PyObject
*arg2
= (PyObject
*) 0 ;
13312 PyObject
* obj0
= 0 ;
13313 PyObject
* obj1
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self",(char *) "data", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13320 if (SWIG_arg_fail(1)) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxSound
*arg1
= (wxSound
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13349 if (SWIG_arg_fail(1)) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (bool)(arg1
)->IsOk();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13366 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxSound
*arg1
= (wxSound
*) 0 ;
13369 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self",(char *) "flags", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13379 if (SWIG_arg_fail(1)) SWIG_fail
;
13382 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13383 if (SWIG_arg_fail(2)) SWIG_fail
;
13387 if (!wxPyCheckForApp()) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13403 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxString
*arg1
= 0 ;
13406 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13408 bool temp1
= false ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "filename",(char *) "flags", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13417 arg1
= wxString_in_helper(obj0
);
13418 if (arg1
== NULL
) SWIG_fail
;
13423 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13424 if (SWIG_arg_fail(2)) SWIG_fail
;
13428 if (!wxPyCheckForApp()) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13452 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 char *kwnames
[] = {
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13460 if (!wxPyCheckForApp()) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 Py_INCREF(Py_None
); resultobj
= Py_None
;
13474 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13477 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13479 return Py_BuildValue((char *)"");
13481 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxString
*arg1
= 0 ;
13484 wxString
*arg2
= 0 ;
13485 wxString
*arg3
= 0 ;
13486 wxString
*arg4
= 0 ;
13487 wxFileTypeInfo
*result
;
13488 bool temp1
= false ;
13489 bool temp2
= false ;
13490 bool temp3
= false ;
13491 bool temp4
= false ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 PyObject
* obj2
= 0 ;
13495 PyObject
* obj3
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13502 arg1
= wxString_in_helper(obj0
);
13503 if (arg1
== NULL
) SWIG_fail
;
13507 arg2
= wxString_in_helper(obj1
);
13508 if (arg2
== NULL
) SWIG_fail
;
13512 arg3
= wxString_in_helper(obj2
);
13513 if (arg3
== NULL
) SWIG_fail
;
13517 arg4
= wxString_in_helper(obj3
);
13518 if (arg4
== NULL
) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13567 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxArrayString
*arg1
= 0 ;
13570 wxFileTypeInfo
*result
;
13571 bool temp1
= false ;
13572 PyObject
* obj0
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "sArray", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13579 if (! PySequence_Check(obj0
)) {
13580 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13583 arg1
= new wxArrayString
;
13585 int i
, len
=PySequence_Length(obj0
);
13586 for (i
=0; i
<len
; i
++) {
13587 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13589 PyObject
* str
= PyObject_Unicode(item
);
13591 PyObject
* str
= PyObject_Str(item
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13594 arg1
->Add(Py2wxString(str
));
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13608 if (temp1
) delete arg1
;
13613 if (temp1
) delete arg1
;
13619 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxFileTypeInfo
*result
;
13622 char *kwnames
[] = {
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13641 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13669 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13672 wxString
*arg2
= 0 ;
13673 int arg3
= (int) 0 ;
13674 bool temp2
= false ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 PyObject
* obj2
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13684 if (SWIG_arg_fail(1)) SWIG_fail
;
13686 arg2
= wxString_in_helper(obj1
);
13687 if (arg2
== NULL
) SWIG_fail
;
13692 arg3
= (int)(SWIG_As_int(obj2
));
13693 if (SWIG_arg_fail(3)) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 Py_INCREF(Py_None
); resultobj
= Py_None
;
13718 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13721 wxString
*arg2
= 0 ;
13722 bool temp2
= false ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "shortDesc", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13731 if (SWIG_arg_fail(1)) SWIG_fail
;
13733 arg2
= wxString_in_helper(obj1
);
13734 if (arg2
== NULL
) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 Py_INCREF(Py_None
); resultobj
= Py_None
;
13759 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13763 PyObject
* obj0
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "self", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
13769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13770 if (SWIG_arg_fail(1)) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
13775 result
= (wxString
*) &_result_ref
;
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13794 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
13804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13805 if (SWIG_arg_fail(1)) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
13810 result
= (wxString
*) &_result_ref
;
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13829 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
13839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13840 if (SWIG_arg_fail(1)) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
13845 result
= (wxString
*) &_result_ref
;
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13855 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13864 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
13874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13875 if (SWIG_arg_fail(1)) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
13880 result
= (wxString
*) &_result_ref
;
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13890 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13899 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13903 PyObject
* obj0
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
13909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13910 if (SWIG_arg_fail(1)) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
13915 result
= (wxString
*) &_result_ref
;
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13934 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13937 wxArrayString
*result
;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
13944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13945 if (SWIG_arg_fail(1)) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
13950 result
= (wxArrayString
*) &_result_ref
;
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= wxArrayString2PyList_helper(*result
);
13965 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
13975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13976 if (SWIG_arg_fail(1)) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= SWIG_From_int((int)(result
));
13993 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13997 PyObject
* obj0
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14004 if (SWIG_arg_fail(1)) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14009 result
= (wxString
*) &_result_ref
;
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14019 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14028 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_From_int((int)(result
));
14056 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14059 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14061 return Py_BuildValue((char *)"");
14063 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxFileTypeInfo
*arg1
= 0 ;
14066 wxFileType
*result
;
14067 PyObject
* obj0
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "ftInfo", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14076 if (arg1
== NULL
) {
14077 SWIG_null_ref("wxFileTypeInfo");
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14095 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxFileType
*arg1
= (wxFileType
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14105 if (SWIG_arg_fail(1)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxFileType
*arg1
= (wxFileType
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= result
;
14146 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxFileType
*arg1
= (wxFileType
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14157 if (SWIG_arg_fail(1)) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= result
;
14172 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxFileType
*arg1
= (wxFileType
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14183 if (SWIG_arg_fail(1)) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= result
;
14198 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxFileType
*arg1
= (wxFileType
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14224 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFileType
*arg1
= (wxFileType
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= result
;
14250 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxFileType
*arg1
= (wxFileType
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14261 if (SWIG_arg_fail(1)) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
;
14276 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxFileType
*arg1
= (wxFileType
*) 0 ;
14279 wxString
*arg2
= 0 ;
14280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14283 bool temp2
= false ;
14284 bool temp3
= false ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 PyObject
* obj2
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 arg2
= wxString_in_helper(obj1
);
14297 if (arg2
== NULL
) SWIG_fail
;
14302 arg3
= wxString_in_helper(obj2
);
14303 if (arg3
== NULL
) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
;
14337 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxFileType
*arg1
= (wxFileType
*) 0 ;
14340 wxString
*arg2
= 0 ;
14341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14344 bool temp2
= false ;
14345 bool temp3
= false ;
14346 PyObject
* obj0
= 0 ;
14347 PyObject
* obj1
= 0 ;
14348 PyObject
* obj2
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail
;
14357 arg2
= wxString_in_helper(obj1
);
14358 if (arg2
== NULL
) SWIG_fail
;
14363 arg3
= wxString_in_helper(obj2
);
14364 if (arg3
== NULL
) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= result
;
14398 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxFileType
*arg1
= (wxFileType
*) 0 ;
14401 wxString
*arg2
= 0 ;
14402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14405 bool temp2
= false ;
14406 bool temp3
= false ;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 PyObject
* obj2
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14418 arg2
= wxString_in_helper(obj1
);
14419 if (arg2
== NULL
) SWIG_fail
;
14424 arg3
= wxString_in_helper(obj2
);
14425 if (arg3
== NULL
) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= result
;
14459 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxFileType
*arg1
= (wxFileType
*) 0 ;
14462 wxString
*arg2
= 0 ;
14463 wxString
*arg3
= 0 ;
14464 bool arg4
= (bool) true ;
14466 bool temp2
= false ;
14467 bool temp3
= false ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 PyObject
* obj3
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14478 if (SWIG_arg_fail(1)) SWIG_fail
;
14480 arg2
= wxString_in_helper(obj1
);
14481 if (arg2
== NULL
) SWIG_fail
;
14485 arg3
= wxString_in_helper(obj2
);
14486 if (arg3
== NULL
) SWIG_fail
;
14491 arg4
= (bool)(SWIG_As_bool(obj3
));
14492 if (SWIG_arg_fail(4)) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxFileType
*arg1
= (wxFileType
*) 0 ;
14530 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14531 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14532 int arg3
= (int) 0 ;
14534 bool temp2
= false ;
14535 PyObject
* obj0
= 0 ;
14536 PyObject
* obj1
= 0 ;
14537 PyObject
* obj2
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self",(char *) "cmd",(char *) "index", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14544 if (SWIG_arg_fail(1)) SWIG_fail
;
14547 arg2
= wxString_in_helper(obj1
);
14548 if (arg2
== NULL
) SWIG_fail
;
14554 arg3
= (int)(SWIG_As_int(obj2
));
14555 if (SWIG_arg_fail(3)) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14582 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxFileType
*arg1
= (wxFileType
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14593 if (SWIG_arg_fail(1)) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->Unassociate();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxString
*arg1
= 0 ;
14613 wxString
*arg2
= 0 ;
14614 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14615 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14617 bool temp1
= false ;
14618 bool temp2
= false ;
14619 bool temp3
= false ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 PyObject
* obj2
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14629 arg1
= wxString_in_helper(obj0
);
14630 if (arg1
== NULL
) SWIG_fail
;
14634 arg2
= wxString_in_helper(obj1
);
14635 if (arg2
== NULL
) SWIG_fail
;
14640 arg3
= wxString_in_helper(obj2
);
14641 if (arg3
== NULL
) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14689 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14692 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14694 return Py_BuildValue((char *)"");
14696 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14697 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14702 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14705 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14710 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxString
*arg1
= 0 ;
14713 wxString
*arg2
= 0 ;
14715 bool temp1
= false ;
14716 bool temp2
= false ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "mimeType",(char *) "wildcard", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14725 arg1
= wxString_in_helper(obj0
);
14726 if (arg1
== NULL
) SWIG_fail
;
14730 arg2
= wxString_in_helper(obj1
);
14731 if (arg2
== NULL
) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14766 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxMimeTypesManager
*result
;
14769 char *kwnames
[] = {
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
14788 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14791 int arg2
= (int) wxMAILCAP_ALL
;
14792 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14793 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14794 bool temp3
= false ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail
;
14807 arg2
= (int)(SWIG_As_int(obj1
));
14808 if (SWIG_arg_fail(2)) SWIG_fail
;
14813 arg3
= wxString_in_helper(obj2
);
14814 if (arg3
== NULL
) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 Py_INCREF(Py_None
); resultobj
= Py_None
;
14840 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
14849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14850 if (SWIG_arg_fail(1)) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->ClearData();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14868 wxString
*arg2
= 0 ;
14869 wxFileType
*result
;
14870 bool temp2
= false ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "ext", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 arg2
= wxString_in_helper(obj1
);
14882 if (arg2
== NULL
) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14907 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14910 wxString
*arg2
= 0 ;
14911 wxFileType
*result
;
14912 bool temp2
= false ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self",(char *) "mimeType", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
14920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14921 if (SWIG_arg_fail(1)) SWIG_fail
;
14923 arg2
= wxString_in_helper(obj1
);
14924 if (arg2
== NULL
) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14949 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14952 wxString
*arg2
= 0 ;
14953 bool arg3
= (bool) false ;
14955 bool temp2
= false ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 PyObject
* obj2
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self",(char *) "filename",(char *) "fallback", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
14965 if (SWIG_arg_fail(1)) SWIG_fail
;
14967 arg2
= wxString_in_helper(obj1
);
14968 if (arg2
== NULL
) SWIG_fail
;
14973 arg3
= (bool)(SWIG_As_bool(obj2
));
14974 if (SWIG_arg_fail(3)) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15001 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15004 wxString
*arg2
= 0 ;
15006 bool temp2
= false ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self",(char *) "filename", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15015 if (SWIG_arg_fail(1)) SWIG_fail
;
15017 arg2
= wxString_in_helper(obj1
);
15018 if (arg2
== NULL
) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
;
15071 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15074 wxFileTypeInfo
*arg2
= 0 ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self",(char *) "ft", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15086 if (SWIG_arg_fail(2)) SWIG_fail
;
15087 if (arg2
== NULL
) {
15088 SWIG_null_ref("wxFileTypeInfo");
15090 if (SWIG_arg_fail(2)) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 Py_INCREF(Py_None
); resultobj
= Py_None
;
15106 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15109 wxFileTypeInfo
*arg2
= 0 ;
15110 wxFileType
*result
;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self",(char *) "ftInfo", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail
;
15121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(2)) SWIG_fail
;
15123 if (arg2
== NULL
) {
15124 SWIG_null_ref("wxFileTypeInfo");
15126 if (SWIG_arg_fail(2)) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15142 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15145 wxFileType
*arg2
= (wxFileType
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "ft", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15155 if (SWIG_arg_fail(1)) SWIG_fail
;
15156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15157 if (SWIG_arg_fail(2)) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (bool)(arg1
)->Unassociate(arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15174 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15184 if (SWIG_arg_fail(1)) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 Py_INCREF(Py_None
); resultobj
= Py_None
;
15199 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15202 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15204 return Py_BuildValue((char *)"");
15206 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15207 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15212 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15217 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15219 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15226 static int _wrap_ART_MENU_set(PyObject
*) {
15227 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15232 static PyObject
*_wrap_ART_MENU_get(void) {
15237 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15239 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15246 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15247 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15252 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15257 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15259 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15266 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15267 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15272 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15277 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15279 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15286 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15287 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15292 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15297 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15299 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15306 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15307 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15312 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15317 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15319 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15326 static int _wrap_ART_BUTTON_set(PyObject
*) {
15327 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15332 static PyObject
*_wrap_ART_BUTTON_get(void) {
15337 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15339 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15346 static int _wrap_ART_OTHER_set(PyObject
*) {
15347 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15352 static PyObject
*_wrap_ART_OTHER_get(void) {
15357 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15359 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15366 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15367 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15372 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15377 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15379 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15386 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15387 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15392 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15397 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15399 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15406 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15407 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15412 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15417 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15419 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15426 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15427 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15432 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15437 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15439 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15446 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15447 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15452 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15457 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15459 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15466 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15467 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15472 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15477 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15479 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15486 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15487 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15492 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15497 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15499 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15506 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15507 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15512 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15517 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15519 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15526 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15527 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15532 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15537 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15539 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15546 static int _wrap_ART_GO_UP_set(PyObject
*) {
15547 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15552 static PyObject
*_wrap_ART_GO_UP_get(void) {
15557 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15559 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15566 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15567 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15572 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15577 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15579 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15586 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15587 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15592 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15597 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15599 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15606 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15607 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15612 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15617 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15619 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15626 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15627 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15632 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15637 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15639 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15646 static int _wrap_ART_PRINT_set(PyObject
*) {
15647 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15652 static PyObject
*_wrap_ART_PRINT_get(void) {
15657 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15659 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15666 static int _wrap_ART_HELP_set(PyObject
*) {
15667 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15672 static PyObject
*_wrap_ART_HELP_get(void) {
15677 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15679 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15686 static int _wrap_ART_TIP_set(PyObject
*) {
15687 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15692 static PyObject
*_wrap_ART_TIP_get(void) {
15697 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15699 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15706 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15707 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15712 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15717 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15719 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15726 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15727 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15732 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15737 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15739 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15746 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15747 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15752 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15757 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15759 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15766 static int _wrap_ART_HARDDISK_set(PyObject
*) {
15767 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
15772 static PyObject
*_wrap_ART_HARDDISK_get(void) {
15777 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15779 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
15786 static int _wrap_ART_FLOPPY_set(PyObject
*) {
15787 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
15792 static PyObject
*_wrap_ART_FLOPPY_get(void) {
15797 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15799 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
15806 static int _wrap_ART_CDROM_set(PyObject
*) {
15807 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
15812 static PyObject
*_wrap_ART_CDROM_get(void) {
15817 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15819 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
15826 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
15827 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
15832 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
15837 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15839 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
15846 static int _wrap_ART_FOLDER_set(PyObject
*) {
15847 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
15852 static PyObject
*_wrap_ART_FOLDER_get(void) {
15857 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15859 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
15866 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
15867 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
15872 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
15877 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15879 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
15886 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
15887 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
15892 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
15897 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15899 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
15906 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
15907 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
15912 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
15917 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15919 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
15926 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
15927 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
15932 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
15937 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
15939 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
15946 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
15947 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
15952 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
15957 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
15959 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
15966 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
15967 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
15972 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
15977 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
15979 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
15986 static int _wrap_ART_ERROR_set(PyObject
*) {
15987 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
15992 static PyObject
*_wrap_ART_ERROR_get(void) {
15997 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
15999 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16006 static int _wrap_ART_QUESTION_set(PyObject
*) {
16007 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16012 static PyObject
*_wrap_ART_QUESTION_get(void) {
16017 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16019 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16026 static int _wrap_ART_WARNING_set(PyObject
*) {
16027 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16032 static PyObject
*_wrap_ART_WARNING_get(void) {
16037 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16039 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16046 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16047 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16052 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16057 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16059 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16066 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16067 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16072 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16077 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16079 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16086 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxPyArtProvider
*result
;
16089 char *kwnames
[] = {
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16095 if (!wxPyCheckForApp()) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16109 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16112 PyObject
*arg2
= (PyObject
*) 0 ;
16113 PyObject
*arg3
= (PyObject
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 PyObject
* obj2
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self",(char *) "self",(char *) "_class", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16123 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "provider", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16150 if (SWIG_arg_fail(1)) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 wxPyArtProvider::PushProvider(arg1
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16168 char *kwnames
[] = {
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)wxPyArtProvider::PopProvider();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16189 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16193 PyObject
* obj0
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "provider", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16217 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxString
*arg1
= 0 ;
16220 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16221 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16222 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16223 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16225 bool temp1
= false ;
16226 bool temp2
= false ;
16228 PyObject
* obj0
= 0 ;
16229 PyObject
* obj1
= 0 ;
16230 PyObject
* obj2
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "id",(char *) "client",(char *) "size", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16237 arg1
= wxString_in_helper(obj0
);
16238 if (arg1
== NULL
) SWIG_fail
;
16243 arg2
= wxString_in_helper(obj1
);
16244 if (arg2
== NULL
) SWIG_fail
;
16251 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16255 if (!wxPyCheckForApp()) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 wxBitmap
* resultptr
;
16264 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16289 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxString
*arg1
= 0 ;
16292 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16293 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16294 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16295 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16297 bool temp1
= false ;
16298 bool temp2
= false ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 PyObject
* obj2
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "id",(char *) "client",(char *) "size", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16309 arg1
= wxString_in_helper(obj0
);
16310 if (arg1
== NULL
) SWIG_fail
;
16315 arg2
= wxString_in_helper(obj1
);
16316 if (arg2
== NULL
) SWIG_fail
;
16323 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16327 if (!wxPyCheckForApp()) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 wxIcon
* resultptr
;
16336 resultptr
= new wxIcon((wxIcon
&)(result
));
16337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16361 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16371 if (SWIG_arg_fail(1)) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 wxPyArtProvider_Destroy(arg1
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 Py_INCREF(Py_None
); resultobj
= Py_None
;
16386 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16389 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16391 return Py_BuildValue((char *)"");
16393 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16403 if (SWIG_arg_fail(1)) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 Py_INCREF(Py_None
); resultobj
= Py_None
;
16418 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16421 wxConfigBase
*result
;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "config", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16429 if (SWIG_arg_fail(1)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16444 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 bool arg1
= (bool) true ;
16447 wxConfigBase
*result
;
16448 PyObject
* obj0
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "createOnDemand", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16456 arg1
= (bool)(SWIG_As_bool(obj0
));
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16474 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxConfigBase
*result
;
16477 char *kwnames
[] = {
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (wxConfigBase
*)wxConfigBase::Create();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16496 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 char *kwnames
[] = {
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 wxConfigBase::DontCreateOnDemand();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16520 wxString
*arg2
= 0 ;
16521 bool temp2
= false ;
16522 PyObject
* obj0
= 0 ;
16523 PyObject
* obj1
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self",(char *) "path", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16530 if (SWIG_arg_fail(1)) SWIG_fail
;
16532 arg2
= wxString_in_helper(obj1
);
16533 if (arg2
== NULL
) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 (arg1
)->SetPath((wxString
const &)*arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 Py_INCREF(Py_None
); resultobj
= Py_None
;
16558 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16569 if (SWIG_arg_fail(1)) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16574 result
= (wxString
*) &_result_ref
;
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16584 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16593 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16604 if (SWIG_arg_fail(1)) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= result
;
16619 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 PyObject
* obj1
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self",(char *) "index", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail
;
16634 arg2
= (long)(SWIG_As_long(obj1
));
16635 if (SWIG_arg_fail(2)) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= result
;
16651 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
16661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= result
;
16677 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "index", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail
;
16692 arg2
= (long)(SWIG_As_long(obj1
));
16693 if (SWIG_arg_fail(2)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= result
;
16709 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16712 bool arg2
= (bool) false ;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self",(char *) "recursive", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
16721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail
;
16725 arg2
= (bool)(SWIG_As_bool(obj1
));
16726 if (SWIG_arg_fail(2)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16745 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16748 bool arg2
= (bool) false ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "recursive", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
16757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16758 if (SWIG_arg_fail(1)) SWIG_fail
;
16761 arg2
= (bool)(SWIG_As_bool(obj1
));
16762 if (SWIG_arg_fail(2)) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16781 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16784 wxString
*arg2
= 0 ;
16786 bool temp2
= false ;
16787 PyObject
* obj0
= 0 ;
16788 PyObject
* obj1
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self",(char *) "name", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16795 if (SWIG_arg_fail(1)) SWIG_fail
;
16797 arg2
= wxString_in_helper(obj1
);
16798 if (arg2
== NULL
) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16825 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16828 wxString
*arg2
= 0 ;
16830 bool temp2
= false ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self",(char *) "name", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16839 if (SWIG_arg_fail(1)) SWIG_fail
;
16841 arg2
= wxString_in_helper(obj1
);
16842 if (arg2
== NULL
) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16869 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16872 wxString
*arg2
= 0 ;
16874 bool temp2
= false ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "name", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
16882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16883 if (SWIG_arg_fail(1)) SWIG_fail
;
16885 arg2
= wxString_in_helper(obj1
);
16886 if (arg2
== NULL
) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16913 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16916 wxString
*arg2
= 0 ;
16917 wxConfigBase::EntryType result
;
16918 bool temp2
= false ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self",(char *) "name", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
16926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail
;
16929 arg2
= wxString_in_helper(obj1
);
16930 if (arg2
== NULL
) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_From_int((result
));
16955 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16958 wxString
*arg2
= 0 ;
16959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16962 bool temp2
= false ;
16963 bool temp3
= false ;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 PyObject
* obj2
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16975 arg2
= wxString_in_helper(obj1
);
16976 if (arg2
== NULL
) SWIG_fail
;
16981 arg3
= wxString_in_helper(obj2
);
16982 if (arg3
== NULL
) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17022 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17025 wxString
*arg2
= 0 ;
17026 long arg3
= (long) 0 ;
17028 bool temp2
= false ;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 PyObject
* obj2
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17038 if (SWIG_arg_fail(1)) SWIG_fail
;
17040 arg2
= wxString_in_helper(obj1
);
17041 if (arg2
== NULL
) SWIG_fail
;
17046 arg3
= (long)(SWIG_As_long(obj2
));
17047 if (SWIG_arg_fail(3)) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_From_long((long)(result
));
17074 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17077 wxString
*arg2
= 0 ;
17078 double arg3
= (double) 0.0 ;
17080 bool temp2
= false ;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 PyObject
* obj2
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17090 if (SWIG_arg_fail(1)) SWIG_fail
;
17092 arg2
= wxString_in_helper(obj1
);
17093 if (arg2
== NULL
) SWIG_fail
;
17098 arg3
= (double)(SWIG_As_double(obj2
));
17099 if (SWIG_arg_fail(3)) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_From_double((double)(result
));
17126 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17129 wxString
*arg2
= 0 ;
17130 bool arg3
= (bool) false ;
17132 bool temp2
= false ;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 PyObject
* obj2
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17142 if (SWIG_arg_fail(1)) SWIG_fail
;
17144 arg2
= wxString_in_helper(obj1
);
17145 if (arg2
== NULL
) SWIG_fail
;
17150 arg3
= (bool)(SWIG_As_bool(obj2
));
17151 if (SWIG_arg_fail(3)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17178 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17181 wxString
*arg2
= 0 ;
17182 wxString
*arg3
= 0 ;
17184 bool temp2
= false ;
17185 bool temp3
= false ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "key",(char *) "value", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 arg2
= wxString_in_helper(obj1
);
17198 if (arg2
== NULL
) SWIG_fail
;
17202 arg3
= wxString_in_helper(obj2
);
17203 if (arg3
== NULL
) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17238 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17241 wxString
*arg2
= 0 ;
17244 bool temp2
= false ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 PyObject
* obj2
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self",(char *) "key",(char *) "value", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17254 if (SWIG_arg_fail(1)) SWIG_fail
;
17256 arg2
= wxString_in_helper(obj1
);
17257 if (arg2
== NULL
) SWIG_fail
;
17261 arg3
= (long)(SWIG_As_long(obj2
));
17262 if (SWIG_arg_fail(3)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17288 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17291 wxString
*arg2
= 0 ;
17294 bool temp2
= false ;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj1
= 0 ;
17297 PyObject
* obj2
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "key",(char *) "value", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17304 if (SWIG_arg_fail(1)) SWIG_fail
;
17306 arg2
= wxString_in_helper(obj1
);
17307 if (arg2
== NULL
) SWIG_fail
;
17311 arg3
= (double)(SWIG_As_double(obj2
));
17312 if (SWIG_arg_fail(3)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17338 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17341 wxString
*arg2
= 0 ;
17344 bool temp2
= false ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 PyObject
* obj2
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "key",(char *) "value", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17354 if (SWIG_arg_fail(1)) SWIG_fail
;
17356 arg2
= wxString_in_helper(obj1
);
17357 if (arg2
== NULL
) SWIG_fail
;
17361 arg3
= (bool)(SWIG_As_bool(obj2
));
17362 if (SWIG_arg_fail(3)) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17388 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17391 bool arg2
= (bool) false ;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "currentOnly", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17401 if (SWIG_arg_fail(1)) SWIG_fail
;
17404 arg2
= (bool)(SWIG_As_bool(obj1
));
17405 if (SWIG_arg_fail(2)) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= (bool)(arg1
)->Flush(arg2
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17424 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17427 wxString
*arg2
= 0 ;
17428 wxString
*arg3
= 0 ;
17430 bool temp2
= false ;
17431 bool temp3
= false ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 PyObject
* obj2
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17441 if (SWIG_arg_fail(1)) SWIG_fail
;
17443 arg2
= wxString_in_helper(obj1
);
17444 if (arg2
== NULL
) SWIG_fail
;
17448 arg3
= wxString_in_helper(obj2
);
17449 if (arg3
== NULL
) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17484 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17487 wxString
*arg2
= 0 ;
17488 wxString
*arg3
= 0 ;
17490 bool temp2
= false ;
17491 bool temp3
= false ;
17492 PyObject
* obj0
= 0 ;
17493 PyObject
* obj1
= 0 ;
17494 PyObject
* obj2
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17501 if (SWIG_arg_fail(1)) SWIG_fail
;
17503 arg2
= wxString_in_helper(obj1
);
17504 if (arg2
== NULL
) SWIG_fail
;
17508 arg3
= wxString_in_helper(obj2
);
17509 if (arg3
== NULL
) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17544 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17547 wxString
*arg2
= 0 ;
17548 bool arg3
= (bool) true ;
17550 bool temp2
= false ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17560 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 arg2
= wxString_in_helper(obj1
);
17563 if (arg2
== NULL
) SWIG_fail
;
17568 arg3
= (bool)(SWIG_As_bool(obj2
));
17569 if (SWIG_arg_fail(3)) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17596 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17599 wxString
*arg2
= 0 ;
17601 bool temp2
= false ;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self",(char *) "key", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17610 if (SWIG_arg_fail(1)) SWIG_fail
;
17612 arg2
= wxString_in_helper(obj1
);
17613 if (arg2
== NULL
) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17640 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
17650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17651 if (SWIG_arg_fail(1)) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)(arg1
)->DeleteAll();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17671 bool arg2
= (bool) true ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "doIt", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17680 if (SWIG_arg_fail(1)) SWIG_fail
;
17683 arg2
= (bool)(SWIG_As_bool(obj1
));
17684 if (SWIG_arg_fail(2)) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->SetExpandEnvVars(arg2
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
17711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17729 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17732 bool arg2
= (bool) true ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "doIt", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
17740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17741 if (SWIG_arg_fail(1)) SWIG_fail
;
17744 arg2
= (bool)(SWIG_As_bool(obj1
));
17745 if (SWIG_arg_fail(2)) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->SetRecordDefaults(arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
17772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17773 if (SWIG_arg_fail(1)) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17790 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17793 wxString
*arg2
= 0 ;
17795 bool temp2
= false ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "str", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17804 if (SWIG_arg_fail(1)) SWIG_fail
;
17806 arg2
= wxString_in_helper(obj1
);
17807 if (arg2
== NULL
) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17838 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
17848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17849 if (SWIG_arg_fail(1)) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17870 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17874 PyObject
* obj0
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
17880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17881 if (SWIG_arg_fail(1)) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17902 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17905 wxString
*arg2
= 0 ;
17906 bool temp2
= false ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self",(char *) "appName", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17915 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 arg2
= wxString_in_helper(obj1
);
17918 if (arg2
== NULL
) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->SetAppName((wxString
const &)*arg2
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17943 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17946 wxString
*arg2
= 0 ;
17947 bool temp2
= false ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "vendorName", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17956 if (SWIG_arg_fail(1)) SWIG_fail
;
17958 arg2
= wxString_in_helper(obj1
);
17959 if (arg2
== NULL
) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "style", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17996 if (SWIG_arg_fail(1)) SWIG_fail
;
17998 arg2
= (long)(SWIG_As_long(obj1
));
17999 if (SWIG_arg_fail(2)) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetStyle(arg2
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18019 PyObject
* obj0
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18026 if (SWIG_arg_fail(1)) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_From_long((long)(result
));
18043 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18046 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18048 return Py_BuildValue((char *)"");
18050 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18053 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18054 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18055 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18056 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18060 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18062 bool temp1
= false ;
18063 bool temp2
= false ;
18064 bool temp3
= false ;
18065 bool temp4
= false ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 PyObject
* obj2
= 0 ;
18069 PyObject
* obj3
= 0 ;
18070 PyObject
* obj4
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18078 arg1
= wxString_in_helper(obj0
);
18079 if (arg1
== NULL
) SWIG_fail
;
18085 arg2
= wxString_in_helper(obj1
);
18086 if (arg2
== NULL
) SWIG_fail
;
18092 arg3
= wxString_in_helper(obj2
);
18093 if (arg3
== NULL
) SWIG_fail
;
18099 arg4
= wxString_in_helper(obj3
);
18100 if (arg4
== NULL
) SWIG_fail
;
18106 arg5
= (long)(SWIG_As_long(obj4
));
18107 if (SWIG_arg_fail(5)) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18156 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxConfig
*arg1
= (wxConfig
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18166 if (SWIG_arg_fail(1)) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 Py_INCREF(Py_None
); resultobj
= Py_None
;
18181 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18184 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18186 return Py_BuildValue((char *)"");
18188 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18191 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18192 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18193 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18198 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18199 wxFileConfig
*result
;
18200 bool temp1
= false ;
18201 bool temp2
= false ;
18202 bool temp3
= false ;
18203 bool temp4
= false ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 PyObject
* obj2
= 0 ;
18207 PyObject
* obj3
= 0 ;
18208 PyObject
* obj4
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18216 arg1
= wxString_in_helper(obj0
);
18217 if (arg1
== NULL
) SWIG_fail
;
18223 arg2
= wxString_in_helper(obj1
);
18224 if (arg2
== NULL
) SWIG_fail
;
18230 arg3
= wxString_in_helper(obj2
);
18231 if (arg3
== NULL
) SWIG_fail
;
18237 arg4
= wxString_in_helper(obj3
);
18238 if (arg4
== NULL
) SWIG_fail
;
18244 arg5
= (long)(SWIG_As_long(obj4
));
18245 if (SWIG_arg_fail(5)) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18294 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18304 if (SWIG_arg_fail(1)) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18322 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18324 return Py_BuildValue((char *)"");
18326 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18329 wxString
*arg2
= 0 ;
18330 wxConfigPathChanger
*result
;
18331 bool temp2
= false ;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "config",(char *) "entry", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail
;
18342 arg2
= wxString_in_helper(obj1
);
18343 if (arg2
== NULL
) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18368 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 Py_INCREF(Py_None
); resultobj
= Py_None
;
18393 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18404 if (SWIG_arg_fail(1)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18409 result
= (wxString
*) &_result_ref
;
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18419 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18428 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18431 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18433 return Py_BuildValue((char *)"");
18435 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxString
*arg1
= 0 ;
18439 bool temp1
= false ;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "sz", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18447 arg1
= wxString_in_helper(obj0
);
18448 if (arg1
== NULL
) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18479 static int _wrap_DefaultDateTimeFormat_set(PyObject
*) {
18480 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTimeFormat is read-only.");
18485 static PyObject
*_wrap_DefaultDateTimeFormat_get(void) {
18490 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18492 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
18499 static int _wrap_DefaultTimeSpanFormat_set(PyObject
*) {
18500 PyErr_SetString(PyExc_TypeError
,"Variable DefaultTimeSpanFormat is read-only.");
18505 static PyObject
*_wrap_DefaultTimeSpanFormat_get(void) {
18510 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18512 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
18519 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxDateTime::Country arg1
;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "country", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18529 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18530 if (SWIG_arg_fail(1)) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 Py_INCREF(Py_None
); resultobj
= Py_None
;
18546 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxDateTime::Country result
;
18549 char *kwnames
[] = {
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_From_int((result
));
18568 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "country", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18580 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18581 if (SWIG_arg_fail(1)) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "cal", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18612 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18613 if (SWIG_arg_fail(1)) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_From_int((int)(result
));
18632 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "year", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
18643 arg1
= (int)(SWIG_As_int(obj0
));
18644 if (SWIG_arg_fail(1)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_From_int((int)(result
));
18662 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18665 wxDateTime::Month result
;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "cal", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
18674 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18675 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_From_int((result
));
18692 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 int arg1
= (int) wxDateTime::Inv_Year
;
18695 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "year",(char *) "cal", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18706 arg1
= (int)(SWIG_As_int(obj0
));
18707 if (SWIG_arg_fail(1)) SWIG_fail
;
18712 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18713 if (SWIG_arg_fail(2)) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18732 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 int arg1
= (int) wxDateTime::Inv_Year
;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "year", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
18744 arg1
= (int)(SWIG_As_int(obj0
));
18745 if (SWIG_arg_fail(1)) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (int)wxDateTime::GetCentury(arg1
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_From_int((int)(result
));
18764 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18767 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "year",(char *) "cal", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18777 arg1
= (int)(SWIG_As_int(obj0
));
18778 if (SWIG_arg_fail(1)) SWIG_fail
;
18782 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18783 if (SWIG_arg_fail(2)) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_From_int((int)(result
));
18802 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxDateTime::Month arg1
;
18805 int arg2
= (int) wxDateTime::Inv_Year
;
18806 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 PyObject
* obj2
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "month",(char *) "year",(char *) "cal", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18817 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
18818 if (SWIG_arg_fail(1)) SWIG_fail
;
18822 arg2
= (int)(SWIG_As_int(obj1
));
18823 if (SWIG_arg_fail(2)) SWIG_fail
;
18828 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
18829 if (SWIG_arg_fail(3)) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_From_int((int)(result
));
18848 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxDateTime::Month arg1
;
18851 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "month",(char *) "flags", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
18861 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18866 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
18867 if (SWIG_arg_fail(2)) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18890 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxDateTime::WeekDay arg1
;
18893 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "weekday",(char *) "flags", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
18904 if (SWIG_arg_fail(1)) SWIG_fail
;
18908 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
18909 if (SWIG_arg_fail(2)) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18932 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxString
*arg1
= (wxString
*) 0 ;
18935 wxString
*arg2
= (wxString
*) 0 ;
18936 bool temp1
= false ;
18937 bool temp2
= false ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "OUTPUT",(char *) "OUTPUT", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
18946 arg1
= wxString_in_helper(obj0
);
18947 if (arg1
== NULL
) SWIG_fail
;
18951 arg2
= wxString_in_helper(obj1
);
18952 if (arg2
== NULL
) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxDateTime::GetAmPmStrings(arg1
,arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 int arg1
= (int) wxDateTime::Inv_Year
;
18988 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "year",(char *) "country", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 arg1
= (int)(SWIG_As_int(obj0
));
19000 if (SWIG_arg_fail(1)) SWIG_fail
;
19005 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19006 if (SWIG_arg_fail(2)) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19025 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 int arg1
= (int) wxDateTime::Inv_Year
;
19028 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "year",(char *) "country", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19039 arg1
= (int)(SWIG_As_int(obj0
));
19040 if (SWIG_arg_fail(1)) SWIG_fail
;
19045 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19046 if (SWIG_arg_fail(2)) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19057 wxDateTime
* resultptr
;
19058 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19067 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 int arg1
= (int) wxDateTime::Inv_Year
;
19070 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "year",(char *) "country", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 arg1
= (int)(SWIG_As_int(obj0
));
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19087 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19088 if (SWIG_arg_fail(2)) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19099 wxDateTime
* resultptr
;
19100 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19109 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19112 char *kwnames
[] = {
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= wxDateTime::Now();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 wxDateTime
* resultptr
;
19126 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19135 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19138 char *kwnames
[] = {
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= wxDateTime::UNow();
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19151 wxDateTime
* resultptr
;
19152 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19161 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19164 char *kwnames
[] = {
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= wxDateTime::Today();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19177 wxDateTime
* resultptr
;
19178 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19187 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxDateTime
*result
;
19190 char *kwnames
[] = {
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (wxDateTime
*)new wxDateTime();
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19209 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19212 wxDateTime
*result
;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "timet", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19220 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19221 if (SWIG_arg_fail(1)) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (wxDateTime
*)new wxDateTime(arg1
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19237 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19240 wxDateTime
*result
;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "jdn", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19248 arg1
= (double)(SWIG_As_double(obj0
));
19249 if (SWIG_arg_fail(1)) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (wxDateTime
*)new wxDateTime(arg1
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19265 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19268 int arg2
= (int) 0 ;
19269 int arg3
= (int) 0 ;
19270 int arg4
= (int) 0 ;
19271 wxDateTime
*result
;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 PyObject
* obj2
= 0 ;
19275 PyObject
* obj3
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19282 arg1
= (int)(SWIG_As_int(obj0
));
19283 if (SWIG_arg_fail(1)) SWIG_fail
;
19287 arg2
= (int)(SWIG_As_int(obj1
));
19288 if (SWIG_arg_fail(2)) SWIG_fail
;
19293 arg3
= (int)(SWIG_As_int(obj2
));
19294 if (SWIG_arg_fail(3)) SWIG_fail
;
19299 arg4
= (int)(SWIG_As_int(obj3
));
19300 if (SWIG_arg_fail(4)) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19317 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19320 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19321 int arg3
= (int) wxDateTime::Inv_Year
;
19322 int arg4
= (int) 0 ;
19323 int arg5
= (int) 0 ;
19324 int arg6
= (int) 0 ;
19325 int arg7
= (int) 0 ;
19326 wxDateTime
*result
;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 PyObject
* obj2
= 0 ;
19330 PyObject
* obj3
= 0 ;
19331 PyObject
* obj4
= 0 ;
19332 PyObject
* obj5
= 0 ;
19333 PyObject
* obj6
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19340 arg1
= (int)(SWIG_As_int(obj0
));
19341 if (SWIG_arg_fail(1)) SWIG_fail
;
19345 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19346 if (SWIG_arg_fail(2)) SWIG_fail
;
19351 arg3
= (int)(SWIG_As_int(obj2
));
19352 if (SWIG_arg_fail(3)) SWIG_fail
;
19357 arg4
= (int)(SWIG_As_int(obj3
));
19358 if (SWIG_arg_fail(4)) SWIG_fail
;
19363 arg5
= (int)(SWIG_As_int(obj4
));
19364 if (SWIG_arg_fail(5)) SWIG_fail
;
19369 arg6
= (int)(SWIG_As_int(obj5
));
19370 if (SWIG_arg_fail(6)) SWIG_fail
;
19375 arg7
= (int)(SWIG_As_int(obj6
));
19376 if (SWIG_arg_fail(7)) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19393 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19403 if (SWIG_arg_fail(1)) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 Py_INCREF(Py_None
); resultobj
= Py_None
;
19418 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19421 wxDateTime
*result
;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19429 if (SWIG_arg_fail(1)) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19434 result
= (wxDateTime
*) &_result_ref
;
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19447 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19451 wxDateTime
*result
;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "timet", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19460 if (SWIG_arg_fail(1)) SWIG_fail
;
19462 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19463 if (SWIG_arg_fail(2)) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19469 result
= (wxDateTime
*) &_result_ref
;
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19482 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19486 wxDateTime
*result
;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self",(char *) "jdn", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19495 if (SWIG_arg_fail(1)) SWIG_fail
;
19497 arg2
= (double)(SWIG_As_double(obj1
));
19498 if (SWIG_arg_fail(2)) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19504 result
= (wxDateTime
*) &_result_ref
;
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19517 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19521 int arg3
= (int) 0 ;
19522 int arg4
= (int) 0 ;
19523 int arg5
= (int) 0 ;
19524 wxDateTime
*result
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 PyObject
* obj2
= 0 ;
19528 PyObject
* obj3
= 0 ;
19529 PyObject
* obj4
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19536 if (SWIG_arg_fail(1)) SWIG_fail
;
19538 arg2
= (int)(SWIG_As_int(obj1
));
19539 if (SWIG_arg_fail(2)) SWIG_fail
;
19543 arg3
= (int)(SWIG_As_int(obj2
));
19544 if (SWIG_arg_fail(3)) SWIG_fail
;
19549 arg4
= (int)(SWIG_As_int(obj3
));
19550 if (SWIG_arg_fail(4)) SWIG_fail
;
19555 arg5
= (int)(SWIG_As_int(obj4
));
19556 if (SWIG_arg_fail(5)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19563 result
= (wxDateTime
*) &_result_ref
;
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19576 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19580 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19581 int arg4
= (int) wxDateTime::Inv_Year
;
19582 int arg5
= (int) 0 ;
19583 int arg6
= (int) 0 ;
19584 int arg7
= (int) 0 ;
19585 int arg8
= (int) 0 ;
19586 wxDateTime
*result
;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 PyObject
* obj2
= 0 ;
19590 PyObject
* obj3
= 0 ;
19591 PyObject
* obj4
= 0 ;
19592 PyObject
* obj5
= 0 ;
19593 PyObject
* obj6
= 0 ;
19594 PyObject
* obj7
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19601 if (SWIG_arg_fail(1)) SWIG_fail
;
19603 arg2
= (int)(SWIG_As_int(obj1
));
19604 if (SWIG_arg_fail(2)) SWIG_fail
;
19608 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19609 if (SWIG_arg_fail(3)) SWIG_fail
;
19614 arg4
= (int)(SWIG_As_int(obj3
));
19615 if (SWIG_arg_fail(4)) SWIG_fail
;
19620 arg5
= (int)(SWIG_As_int(obj4
));
19621 if (SWIG_arg_fail(5)) SWIG_fail
;
19626 arg6
= (int)(SWIG_As_int(obj5
));
19627 if (SWIG_arg_fail(6)) SWIG_fail
;
19632 arg7
= (int)(SWIG_As_int(obj6
));
19633 if (SWIG_arg_fail(7)) SWIG_fail
;
19638 arg8
= (int)(SWIG_As_int(obj7
));
19639 if (SWIG_arg_fail(8)) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
19646 result
= (wxDateTime
*) &_result_ref
;
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19659 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19662 wxDateTime
*result
;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
19669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19670 if (SWIG_arg_fail(1)) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
19675 result
= (wxDateTime
*) &_result_ref
;
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19688 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19692 wxDateTime
*result
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "year", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19701 if (SWIG_arg_fail(1)) SWIG_fail
;
19703 arg2
= (int)(SWIG_As_int(obj1
));
19704 if (SWIG_arg_fail(2)) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
19710 result
= (wxDateTime
*) &_result_ref
;
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19723 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19726 wxDateTime::Month arg2
;
19727 wxDateTime
*result
;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self",(char *) "month", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19739 if (SWIG_arg_fail(2)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
19745 result
= (wxDateTime
*) &_result_ref
;
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19758 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19762 wxDateTime
*result
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "day", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail
;
19773 arg2
= (int)(SWIG_As_int(obj1
));
19774 if (SWIG_arg_fail(2)) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
19780 result
= (wxDateTime
*) &_result_ref
;
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19793 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19797 wxDateTime
*result
;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self",(char *) "hour", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19806 if (SWIG_arg_fail(1)) SWIG_fail
;
19808 arg2
= (int)(SWIG_As_int(obj1
));
19809 if (SWIG_arg_fail(2)) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
19815 result
= (wxDateTime
*) &_result_ref
;
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19828 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19832 wxDateTime
*result
;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "minute", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19841 if (SWIG_arg_fail(1)) SWIG_fail
;
19843 arg2
= (int)(SWIG_As_int(obj1
));
19844 if (SWIG_arg_fail(2)) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
19850 result
= (wxDateTime
*) &_result_ref
;
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19863 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19867 wxDateTime
*result
;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self",(char *) "second", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail
;
19878 arg2
= (int)(SWIG_As_int(obj1
));
19879 if (SWIG_arg_fail(2)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
19885 result
= (wxDateTime
*) &_result_ref
;
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19898 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19902 wxDateTime
*result
;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self",(char *) "millisecond", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 arg2
= (int)(SWIG_As_int(obj1
));
19914 if (SWIG_arg_fail(2)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
19920 result
= (wxDateTime
*) &_result_ref
;
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19933 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19936 wxDateTime::WeekDay arg2
;
19937 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
19938 wxDateTime
*result
;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 PyObject
* obj2
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self",(char *) "weekday",(char *) "flags", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19948 if (SWIG_arg_fail(1)) SWIG_fail
;
19950 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
19951 if (SWIG_arg_fail(2)) SWIG_fail
;
19955 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
19956 if (SWIG_arg_fail(3)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
19963 result
= (wxDateTime
*) &_result_ref
;
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19976 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19979 wxDateTime::WeekDay arg2
;
19980 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 PyObject
* obj2
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "weekday",(char *) "flags", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail
;
19993 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
19994 if (SWIG_arg_fail(2)) SWIG_fail
;
19998 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
19999 if (SWIG_arg_fail(3)) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20010 wxDateTime
* resultptr
;
20011 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20020 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20023 wxDateTime::WeekDay arg2
;
20024 wxDateTime
*result
;
20025 PyObject
* obj0
= 0 ;
20026 PyObject
* obj1
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self",(char *) "weekday", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20033 if (SWIG_arg_fail(1)) SWIG_fail
;
20035 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20036 if (SWIG_arg_fail(2)) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20042 result
= (wxDateTime
*) &_result_ref
;
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20055 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20058 wxDateTime::WeekDay arg2
;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "weekday", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20068 if (SWIG_arg_fail(1)) SWIG_fail
;
20070 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20071 if (SWIG_arg_fail(2)) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20081 wxDateTime
* resultptr
;
20082 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20091 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20094 wxDateTime::WeekDay arg2
;
20095 wxDateTime
*result
;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "weekday", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20106 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20107 if (SWIG_arg_fail(2)) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20113 result
= (wxDateTime
*) &_result_ref
;
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20126 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20129 wxDateTime::WeekDay arg2
;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "weekday", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20139 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20142 if (SWIG_arg_fail(2)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 wxDateTime
* resultptr
;
20153 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20162 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20165 wxDateTime::WeekDay arg2
;
20166 int arg3
= (int) 1 ;
20167 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20168 int arg5
= (int) wxDateTime::Inv_Year
;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 PyObject
* obj2
= 0 ;
20173 PyObject
* obj3
= 0 ;
20174 PyObject
* obj4
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail
;
20183 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20184 if (SWIG_arg_fail(2)) SWIG_fail
;
20188 arg3
= (int)(SWIG_As_int(obj2
));
20189 if (SWIG_arg_fail(3)) SWIG_fail
;
20194 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20195 if (SWIG_arg_fail(4)) SWIG_fail
;
20200 arg5
= (int)(SWIG_As_int(obj4
));
20201 if (SWIG_arg_fail(5)) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20220 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20223 wxDateTime::WeekDay arg2
;
20224 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20225 int arg4
= (int) wxDateTime::Inv_Year
;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 PyObject
* obj2
= 0 ;
20230 PyObject
* obj3
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail
;
20239 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20240 if (SWIG_arg_fail(2)) SWIG_fail
;
20244 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20245 if (SWIG_arg_fail(3)) SWIG_fail
;
20250 arg4
= (int)(SWIG_As_int(obj3
));
20251 if (SWIG_arg_fail(4)) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20270 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20273 wxDateTime::WeekDay arg2
;
20274 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20275 int arg4
= (int) wxDateTime::Inv_Year
;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 PyObject
* obj2
= 0 ;
20280 PyObject
* obj3
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20287 if (SWIG_arg_fail(1)) SWIG_fail
;
20289 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20290 if (SWIG_arg_fail(2)) SWIG_fail
;
20294 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20295 if (SWIG_arg_fail(3)) SWIG_fail
;
20300 arg4
= (int)(SWIG_As_int(obj3
));
20301 if (SWIG_arg_fail(4)) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20312 wxDateTime
* resultptr
;
20313 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20322 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20326 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20327 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 PyObject
* obj2
= 0 ;
20332 PyObject
* obj3
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail
;
20341 arg2
= (int)(SWIG_As_int(obj1
));
20342 if (SWIG_arg_fail(2)) SWIG_fail
;
20346 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20347 if (SWIG_arg_fail(3)) SWIG_fail
;
20352 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20353 if (SWIG_arg_fail(4)) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20376 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20377 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 PyObject
* obj2
= 0 ;
20382 PyObject
* obj3
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20389 if (SWIG_arg_fail(1)) SWIG_fail
;
20391 arg2
= (int)(SWIG_As_int(obj1
));
20392 if (SWIG_arg_fail(2)) SWIG_fail
;
20396 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20397 if (SWIG_arg_fail(3)) SWIG_fail
;
20402 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20403 if (SWIG_arg_fail(4)) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 wxDateTime
* resultptr
;
20415 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20424 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20428 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 PyObject
* obj2
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20439 arg1
= (int)(SWIG_As_int(obj0
));
20440 if (SWIG_arg_fail(1)) SWIG_fail
;
20443 arg2
= (int)(SWIG_As_int(obj1
));
20444 if (SWIG_arg_fail(2)) SWIG_fail
;
20448 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20449 if (SWIG_arg_fail(3)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 wxDateTime
* resultptr
;
20461 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20470 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20473 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20474 int arg3
= (int) wxDateTime::Inv_Year
;
20475 wxDateTime
*result
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "month",(char *) "year", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail
;
20488 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20489 if (SWIG_arg_fail(2)) SWIG_fail
;
20494 arg3
= (int)(SWIG_As_int(obj2
));
20495 if (SWIG_arg_fail(3)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20502 result
= (wxDateTime
*) &_result_ref
;
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20515 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20518 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20519 int arg3
= (int) wxDateTime::Inv_Year
;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 PyObject
* obj2
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "month",(char *) "year", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20533 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20534 if (SWIG_arg_fail(2)) SWIG_fail
;
20539 arg3
= (int)(SWIG_As_int(obj2
));
20540 if (SWIG_arg_fail(3)) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 wxDateTime
* resultptr
;
20552 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20561 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20565 wxDateTime
*result
;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self",(char *) "yday", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20576 arg2
= (int)(SWIG_As_int(obj1
));
20577 if (SWIG_arg_fail(2)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20583 result
= (wxDateTime
*) &_result_ref
;
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20596 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self",(char *) "yday", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20609 if (SWIG_arg_fail(1)) SWIG_fail
;
20611 arg2
= (int)(SWIG_As_int(obj1
));
20612 if (SWIG_arg_fail(2)) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (arg1
)->GetYearDay(arg2
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 wxDateTime
* resultptr
;
20623 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20632 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (double)(arg1
)->GetJulianDayNumber();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_From_double((double)(result
));
20660 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "self", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
20670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20671 if (SWIG_arg_fail(1)) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 result
= (double)(arg1
)->GetJDN();
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_From_double((double)(result
));
20688 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_From_double((double)(result
));
20716 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
20726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20727 if (SWIG_arg_fail(1)) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (double)(arg1
)->GetMJD();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_From_double((double)(result
));
20744 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
20754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (double)(arg1
)->GetRataDie();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_From_double((double)(result
));
20772 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20775 wxDateTime::TimeZone
*arg2
= 0 ;
20776 bool arg3
= (bool) false ;
20778 bool temp2
= false ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 PyObject
* obj2
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self",(char *) "tz",(char *) "noDST", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20788 if (SWIG_arg_fail(1)) SWIG_fail
;
20790 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20795 arg3
= (bool)(SWIG_As_bool(obj2
));
20796 if (SWIG_arg_fail(3)) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20807 wxDateTime
* resultptr
;
20808 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20812 if (temp2
) delete arg2
;
20817 if (temp2
) delete arg2
;
20823 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20826 wxDateTime::TimeZone
*arg2
= 0 ;
20827 bool arg3
= (bool) false ;
20828 wxDateTime
*result
;
20829 bool temp2
= false ;
20830 PyObject
* obj0
= 0 ;
20831 PyObject
* obj1
= 0 ;
20832 PyObject
* obj2
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "tz",(char *) "noDST", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail
;
20841 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20846 arg3
= (bool)(SWIG_As_bool(obj2
));
20847 if (SWIG_arg_fail(3)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
20854 result
= (wxDateTime
*) &_result_ref
;
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20862 if (temp2
) delete arg2
;
20867 if (temp2
) delete arg2
;
20873 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20876 bool arg2
= (bool) false ;
20878 PyObject
* obj0
= 0 ;
20879 PyObject
* obj1
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self",(char *) "noDST", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
20885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20886 if (SWIG_arg_fail(1)) SWIG_fail
;
20889 arg2
= (bool)(SWIG_As_bool(obj1
));
20890 if (SWIG_arg_fail(2)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (arg1
)->ToGMT(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 wxDateTime
* resultptr
;
20902 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20911 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20914 bool arg2
= (bool) false ;
20915 wxDateTime
*result
;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "noDST", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
20923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 arg2
= (bool)(SWIG_As_bool(obj1
));
20928 if (SWIG_arg_fail(2)) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
20935 result
= (wxDateTime
*) &_result_ref
;
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20948 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20951 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "country", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20961 if (SWIG_arg_fail(1)) SWIG_fail
;
20964 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
20965 if (SWIG_arg_fail(2)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_From_int((int)(result
));
20984 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
20994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21012 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21023 if (SWIG_arg_fail(1)) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21040 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21043 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21044 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21046 bool temp2
= false ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "tz", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21055 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_From_int((int)(result
));
21073 if (temp2
) delete arg2
;
21078 if (temp2
) delete arg2
;
21084 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21087 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21088 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21089 wxDateTime::Month result
;
21090 bool temp2
= false ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self",(char *) "tz", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21099 if (SWIG_arg_fail(1)) SWIG_fail
;
21102 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_int((result
));
21115 if (temp2
) delete arg2
;
21120 if (temp2
) delete arg2
;
21126 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21129 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21130 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21132 bool temp2
= false ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self",(char *) "tz", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21141 if (SWIG_arg_fail(1)) SWIG_fail
;
21144 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_From_int((int)(result
));
21159 if (temp2
) delete arg2
;
21164 if (temp2
) delete arg2
;
21170 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21173 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21174 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21175 wxDateTime::WeekDay result
;
21176 bool temp2
= false ;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self",(char *) "tz", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21185 if (SWIG_arg_fail(1)) SWIG_fail
;
21188 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= SWIG_From_int((result
));
21201 if (temp2
) delete arg2
;
21206 if (temp2
) delete arg2
;
21212 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21215 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21216 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21218 bool temp2
= false ;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self",(char *) "tz", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21227 if (SWIG_arg_fail(1)) SWIG_fail
;
21230 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_From_int((int)(result
));
21245 if (temp2
) delete arg2
;
21250 if (temp2
) delete arg2
;
21256 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21259 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21260 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21262 bool temp2
= false ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 char *kwnames
[] = {
21266 (char *) "self",(char *) "tz", NULL
21269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21271 if (SWIG_arg_fail(1)) SWIG_fail
;
21274 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_From_int((int)(result
));
21289 if (temp2
) delete arg2
;
21294 if (temp2
) delete arg2
;
21300 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21303 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21304 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21306 bool temp2
= false ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "tz", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_From_int((int)(result
));
21333 if (temp2
) delete arg2
;
21338 if (temp2
) delete arg2
;
21344 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21347 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21348 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21350 bool temp2
= false ;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self",(char *) "tz", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail
;
21362 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_From_int((int)(result
));
21377 if (temp2
) delete arg2
;
21382 if (temp2
) delete arg2
;
21388 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21391 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21392 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21394 bool temp2
= false ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self",(char *) "tz", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21403 if (SWIG_arg_fail(1)) SWIG_fail
;
21406 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= SWIG_From_int((int)(result
));
21421 if (temp2
) delete arg2
;
21426 if (temp2
) delete arg2
;
21432 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21435 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21436 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21437 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21439 bool temp3
= false ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 PyObject
* obj2
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self",(char *) "flags",(char *) "tz", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21449 if (SWIG_arg_fail(1)) SWIG_fail
;
21452 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21453 if (SWIG_arg_fail(2)) SWIG_fail
;
21458 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_From_int((int)(result
));
21473 if (temp3
) delete arg3
;
21478 if (temp3
) delete arg3
;
21484 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21487 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21488 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21489 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21491 bool temp3
= false ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 PyObject
* obj2
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "flags",(char *) "tz", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21505 if (SWIG_arg_fail(2)) SWIG_fail
;
21510 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= SWIG_From_int((int)(result
));
21525 if (temp3
) delete arg3
;
21530 if (temp3
) delete arg3
;
21536 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21539 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self",(char *) "country", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21549 if (SWIG_arg_fail(1)) SWIG_fail
;
21552 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21553 if (SWIG_arg_fail(2)) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21572 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21575 wxDateTime
*arg2
= 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "datetime", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail
;
21587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21588 if (SWIG_arg_fail(2)) SWIG_fail
;
21589 if (arg2
== NULL
) {
21590 SWIG_null_ref("wxDateTime");
21592 if (SWIG_arg_fail(2)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21610 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21613 wxDateTime
*arg2
= 0 ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "datetime", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21623 if (SWIG_arg_fail(1)) SWIG_fail
;
21625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21626 if (SWIG_arg_fail(2)) SWIG_fail
;
21627 if (arg2
== NULL
) {
21628 SWIG_null_ref("wxDateTime");
21630 if (SWIG_arg_fail(2)) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21648 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21651 wxDateTime
*arg2
= 0 ;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "datetime", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21664 if (SWIG_arg_fail(2)) SWIG_fail
;
21665 if (arg2
== NULL
) {
21666 SWIG_null_ref("wxDateTime");
21668 if (SWIG_arg_fail(2)) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21689 wxDateTime
*arg2
= 0 ;
21690 wxDateTime
*arg3
= 0 ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self",(char *) "t1",(char *) "t2", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21701 if (SWIG_arg_fail(1)) SWIG_fail
;
21703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21704 if (SWIG_arg_fail(2)) SWIG_fail
;
21705 if (arg2
== NULL
) {
21706 SWIG_null_ref("wxDateTime");
21708 if (SWIG_arg_fail(2)) SWIG_fail
;
21711 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21712 if (SWIG_arg_fail(3)) SWIG_fail
;
21713 if (arg3
== NULL
) {
21714 SWIG_null_ref("wxDateTime");
21716 if (SWIG_arg_fail(3)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21734 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21737 wxDateTime
*arg2
= 0 ;
21738 wxDateTime
*arg3
= 0 ;
21740 PyObject
* obj0
= 0 ;
21741 PyObject
* obj1
= 0 ;
21742 PyObject
* obj2
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self",(char *) "t1",(char *) "t2", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21749 if (SWIG_arg_fail(1)) SWIG_fail
;
21751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21752 if (SWIG_arg_fail(2)) SWIG_fail
;
21753 if (arg2
== NULL
) {
21754 SWIG_null_ref("wxDateTime");
21756 if (SWIG_arg_fail(2)) SWIG_fail
;
21759 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21760 if (SWIG_arg_fail(3)) SWIG_fail
;
21761 if (arg3
== NULL
) {
21762 SWIG_null_ref("wxDateTime");
21764 if (SWIG_arg_fail(3)) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21782 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21785 wxDateTime
*arg2
= 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "dt", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21795 if (SWIG_arg_fail(1)) SWIG_fail
;
21797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21798 if (SWIG_arg_fail(2)) SWIG_fail
;
21799 if (arg2
== NULL
) {
21800 SWIG_null_ref("wxDateTime");
21802 if (SWIG_arg_fail(2)) SWIG_fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21820 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21823 wxDateTime
*arg2
= 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "dt", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21836 if (SWIG_arg_fail(2)) SWIG_fail
;
21837 if (arg2
== NULL
) {
21838 SWIG_null_ref("wxDateTime");
21840 if (SWIG_arg_fail(2)) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21858 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21861 wxDateTime
*arg2
= 0 ;
21862 wxTimeSpan
*arg3
= 0 ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 PyObject
* obj2
= 0 ;
21867 char *kwnames
[] = {
21868 (char *) "self",(char *) "dt",(char *) "ts", NULL
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21873 if (SWIG_arg_fail(1)) SWIG_fail
;
21875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21876 if (SWIG_arg_fail(2)) SWIG_fail
;
21877 if (arg2
== NULL
) {
21878 SWIG_null_ref("wxDateTime");
21880 if (SWIG_arg_fail(2)) SWIG_fail
;
21883 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
21884 if (SWIG_arg_fail(3)) SWIG_fail
;
21885 if (arg3
== NULL
) {
21886 SWIG_null_ref("wxTimeSpan");
21888 if (SWIG_arg_fail(3)) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21906 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21909 wxTimeSpan
*arg2
= 0 ;
21910 wxDateTime
*result
;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "diff", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
21918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21919 if (SWIG_arg_fail(1)) SWIG_fail
;
21921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
21922 if (SWIG_arg_fail(2)) SWIG_fail
;
21923 if (arg2
== NULL
) {
21924 SWIG_null_ref("wxTimeSpan");
21926 if (SWIG_arg_fail(2)) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21932 result
= (wxDateTime
*) &_result_ref
;
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21945 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21948 wxDateSpan
*arg2
= 0 ;
21949 wxDateTime
*result
;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self",(char *) "diff", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
21957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21958 if (SWIG_arg_fail(1)) SWIG_fail
;
21960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
21961 if (SWIG_arg_fail(2)) SWIG_fail
;
21962 if (arg2
== NULL
) {
21963 SWIG_null_ref("wxDateSpan");
21965 if (SWIG_arg_fail(2)) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21971 result
= (wxDateTime
*) &_result_ref
;
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21984 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21987 wxTimeSpan
*arg2
= 0 ;
21988 wxDateTime
*result
;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "diff", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
21996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21997 if (SWIG_arg_fail(1)) SWIG_fail
;
21999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22000 if (SWIG_arg_fail(2)) SWIG_fail
;
22001 if (arg2
== NULL
) {
22002 SWIG_null_ref("wxTimeSpan");
22004 if (SWIG_arg_fail(2)) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22010 result
= (wxDateTime
*) &_result_ref
;
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22023 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22026 wxDateSpan
*arg2
= 0 ;
22027 wxDateTime
*result
;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "diff", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(2)) SWIG_fail
;
22040 if (arg2
== NULL
) {
22041 SWIG_null_ref("wxDateSpan");
22043 if (SWIG_arg_fail(2)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22049 result
= (wxDateTime
*) &_result_ref
;
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22062 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22065 wxDateTime
*arg2
= 0 ;
22067 PyObject
* obj0
= 0 ;
22068 PyObject
* obj1
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self",(char *) "dt", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22078 if (SWIG_arg_fail(2)) SWIG_fail
;
22079 if (arg2
== NULL
) {
22080 SWIG_null_ref("wxDateTime");
22082 if (SWIG_arg_fail(2)) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 wxTimeSpan
* resultptr
;
22093 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22102 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22103 PyObject
*resultobj
;
22104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22105 wxTimeSpan
*arg2
= 0 ;
22106 wxDateTime
*result
;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22110 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(2)) SWIG_fail
;
22116 if (arg2
== NULL
) {
22117 SWIG_null_ref("wxTimeSpan");
22119 if (SWIG_arg_fail(2)) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22125 result
= (wxDateTime
*) &_result_ref
;
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22138 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22139 PyObject
*resultobj
;
22140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22141 wxDateSpan
*arg2
= 0 ;
22142 wxDateTime
*result
;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22146 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22148 if (SWIG_arg_fail(1)) SWIG_fail
;
22150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22151 if (SWIG_arg_fail(2)) SWIG_fail
;
22152 if (arg2
== NULL
) {
22153 SWIG_null_ref("wxDateSpan");
22155 if (SWIG_arg_fail(2)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22161 result
= (wxDateTime
*) &_result_ref
;
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22174 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22179 argc
= PyObject_Length(args
);
22180 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22181 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22187 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22197 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22205 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22213 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22223 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22231 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22236 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22241 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22242 PyObject
*resultobj
;
22243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22244 wxTimeSpan
*arg2
= 0 ;
22245 wxDateTime
*result
;
22246 PyObject
* obj0
= 0 ;
22247 PyObject
* obj1
= 0 ;
22249 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22251 if (SWIG_arg_fail(1)) SWIG_fail
;
22253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22254 if (SWIG_arg_fail(2)) SWIG_fail
;
22255 if (arg2
== NULL
) {
22256 SWIG_null_ref("wxTimeSpan");
22258 if (SWIG_arg_fail(2)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22264 result
= (wxDateTime
*) &_result_ref
;
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22277 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22278 PyObject
*resultobj
;
22279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22280 wxDateSpan
*arg2
= 0 ;
22281 wxDateTime
*result
;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22285 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22287 if (SWIG_arg_fail(1)) SWIG_fail
;
22289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22290 if (SWIG_arg_fail(2)) SWIG_fail
;
22291 if (arg2
== NULL
) {
22292 SWIG_null_ref("wxDateSpan");
22294 if (SWIG_arg_fail(2)) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22300 result
= (wxDateTime
*) &_result_ref
;
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22313 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22318 argc
= PyObject_Length(args
);
22319 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22320 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22326 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22336 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22344 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22352 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22362 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22370 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22375 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22380 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22381 PyObject
*resultobj
;
22382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22383 wxTimeSpan
*arg2
= 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22388 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22393 if (SWIG_arg_fail(2)) SWIG_fail
;
22394 if (arg2
== NULL
) {
22395 SWIG_null_ref("wxTimeSpan");
22397 if (SWIG_arg_fail(2)) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 wxDateTime
* resultptr
;
22408 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22417 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22418 PyObject
*resultobj
;
22419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22420 wxDateSpan
*arg2
= 0 ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22425 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22427 if (SWIG_arg_fail(1)) SWIG_fail
;
22429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22430 if (SWIG_arg_fail(2)) SWIG_fail
;
22431 if (arg2
== NULL
) {
22432 SWIG_null_ref("wxDateSpan");
22434 if (SWIG_arg_fail(2)) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22444 wxDateTime
* resultptr
;
22445 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22454 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22459 argc
= PyObject_Length(args
);
22460 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22461 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22477 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22485 return _wrap_DateTime___add____SWIG_0(self
,args
);
22493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22503 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22511 return _wrap_DateTime___add____SWIG_1(self
,args
);
22516 Py_INCREF(Py_NotImplemented
);
22517 return Py_NotImplemented
;
22521 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22522 PyObject
*resultobj
;
22523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22524 wxDateTime
*arg2
= 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22529 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail
;
22533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22534 if (SWIG_arg_fail(2)) SWIG_fail
;
22535 if (arg2
== NULL
) {
22536 SWIG_null_ref("wxDateTime");
22538 if (SWIG_arg_fail(2)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 wxTimeSpan
* resultptr
;
22549 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22558 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22559 PyObject
*resultobj
;
22560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22561 wxTimeSpan
*arg2
= 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22566 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22568 if (SWIG_arg_fail(1)) SWIG_fail
;
22570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22571 if (SWIG_arg_fail(2)) SWIG_fail
;
22572 if (arg2
== NULL
) {
22573 SWIG_null_ref("wxTimeSpan");
22575 if (SWIG_arg_fail(2)) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 wxDateTime
* resultptr
;
22586 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22595 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22596 PyObject
*resultobj
;
22597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22598 wxDateSpan
*arg2
= 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22603 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22605 if (SWIG_arg_fail(1)) SWIG_fail
;
22607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22608 if (SWIG_arg_fail(2)) SWIG_fail
;
22609 if (arg2
== NULL
) {
22610 SWIG_null_ref("wxDateSpan");
22612 if (SWIG_arg_fail(2)) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 wxDateTime
* resultptr
;
22623 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22632 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22637 argc
= PyObject_Length(args
);
22638 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22639 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22655 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22663 return _wrap_DateTime___sub____SWIG_0(self
,args
);
22671 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22681 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22689 return _wrap_DateTime___sub____SWIG_1(self
,args
);
22697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22707 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22715 return _wrap_DateTime___sub____SWIG_2(self
,args
);
22720 Py_INCREF(Py_NotImplemented
);
22721 return Py_NotImplemented
;
22725 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
22726 PyObject
*resultobj
;
22727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22728 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22733 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
22734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail
;
22736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(2)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22754 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
22755 PyObject
*resultobj
;
22756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22757 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22762 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
22763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail
;
22765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22766 if (SWIG_arg_fail(2)) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22783 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
22784 PyObject
*resultobj
;
22785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22786 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22791 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
22792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22795 if (SWIG_arg_fail(2)) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22812 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
22813 PyObject
*resultobj
;
22814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22815 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22820 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
22821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail
;
22823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(2)) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22841 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
22842 PyObject
*resultobj
;
22843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22844 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22849 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
22850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22851 if (SWIG_arg_fail(1)) SWIG_fail
;
22852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(2)) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22870 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
22871 PyObject
*resultobj
;
22872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22873 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22878 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22882 if (SWIG_arg_fail(2)) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22899 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22902 wxString
*arg2
= 0 ;
22904 bool temp2
= false ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self",(char *) "date", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
22912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22913 if (SWIG_arg_fail(1)) SWIG_fail
;
22915 arg2
= wxString_in_helper(obj1
);
22916 if (arg2
== NULL
) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_From_int((int)(result
));
22943 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22946 wxString
*arg2
= 0 ;
22947 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
22948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22949 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
22950 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
22952 bool temp2
= false ;
22953 bool temp3
= false ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 PyObject
* obj3
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 arg2
= wxString_in_helper(obj1
);
22967 if (arg2
== NULL
) SWIG_fail
;
22972 arg3
= wxString_in_helper(obj2
);
22973 if (arg3
== NULL
) SWIG_fail
;
22979 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22980 if (SWIG_arg_fail(4)) SWIG_fail
;
22981 if (arg4
== NULL
) {
22982 SWIG_null_ref("wxDateTime");
22984 if (SWIG_arg_fail(4)) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_From_int((int)(result
));
23019 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23022 wxString
*arg2
= 0 ;
23024 bool temp2
= false ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "datetime", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23033 if (SWIG_arg_fail(1)) SWIG_fail
;
23035 arg2
= wxString_in_helper(obj1
);
23036 if (arg2
== NULL
) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_From_int((int)(result
));
23063 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23066 wxString
*arg2
= 0 ;
23068 bool temp2
= false ;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "date", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23077 if (SWIG_arg_fail(1)) SWIG_fail
;
23079 arg2
= wxString_in_helper(obj1
);
23080 if (arg2
== NULL
) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_From_int((int)(result
));
23107 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23110 wxString
*arg2
= 0 ;
23112 bool temp2
= false ;
23113 PyObject
* obj0
= 0 ;
23114 PyObject
* obj1
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self",(char *) "time", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail
;
23123 arg2
= wxString_in_helper(obj1
);
23124 if (arg2
== NULL
) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_From_int((int)(result
));
23151 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23154 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
23155 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23156 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23157 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23159 bool temp2
= false ;
23160 bool temp3
= false ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 PyObject
* obj2
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self",(char *) "format",(char *) "tz", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 arg2
= wxString_in_helper(obj1
);
23174 if (arg2
== NULL
) SWIG_fail
;
23180 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23203 if (temp3
) delete arg3
;
23212 if (temp3
) delete arg3
;
23218 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23250 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23282 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23314 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23346 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23349 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23351 return Py_BuildValue((char *)"");
23353 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23357 PyObject
* obj0
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "sec", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23364 arg1
= (long)(SWIG_As_long(obj0
));
23365 if (SWIG_arg_fail(1)) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= wxTimeSpan::Seconds(arg1
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 wxTimeSpan
* resultptr
;
23376 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23385 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23388 char *kwnames
[] = {
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= wxTimeSpan::Second();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 wxTimeSpan
* resultptr
;
23402 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23411 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "min", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23422 arg1
= (long)(SWIG_As_long(obj0
));
23423 if (SWIG_arg_fail(1)) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= wxTimeSpan::Minutes(arg1
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 wxTimeSpan
* resultptr
;
23434 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23443 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23446 char *kwnames
[] = {
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= wxTimeSpan::Minute();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23459 wxTimeSpan
* resultptr
;
23460 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23469 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23473 PyObject
* obj0
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "hours", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23480 arg1
= (long)(SWIG_As_long(obj0
));
23481 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= wxTimeSpan::Hours(arg1
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 wxTimeSpan
* resultptr
;
23492 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23501 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23504 char *kwnames
[] = {
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= wxTimeSpan::Hour();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23517 wxTimeSpan
* resultptr
;
23518 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23527 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23531 PyObject
* obj0
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "days", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23538 arg1
= (long)(SWIG_As_long(obj0
));
23539 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= wxTimeSpan::Days(arg1
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 wxTimeSpan
* resultptr
;
23550 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23559 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23562 char *kwnames
[] = {
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= wxTimeSpan::Day();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 wxTimeSpan
* resultptr
;
23576 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23585 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23589 PyObject
* obj0
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "days", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23596 arg1
= (long)(SWIG_As_long(obj0
));
23597 if (SWIG_arg_fail(1)) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= wxTimeSpan::Weeks(arg1
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 wxTimeSpan
* resultptr
;
23608 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23617 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23620 char *kwnames
[] = {
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= wxTimeSpan::Week();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23633 wxTimeSpan
* resultptr
;
23634 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23643 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 long arg1
= (long) 0 ;
23646 long arg2
= (long) 0 ;
23647 long arg3
= (long) 0 ;
23648 long arg4
= (long) 0 ;
23649 wxTimeSpan
*result
;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 PyObject
* obj2
= 0 ;
23653 PyObject
* obj3
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23661 arg1
= (long)(SWIG_As_long(obj0
));
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23667 arg2
= (long)(SWIG_As_long(obj1
));
23668 if (SWIG_arg_fail(2)) SWIG_fail
;
23673 arg3
= (long)(SWIG_As_long(obj2
));
23674 if (SWIG_arg_fail(3)) SWIG_fail
;
23679 arg4
= (long)(SWIG_As_long(obj3
));
23680 if (SWIG_arg_fail(4)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23697 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
23706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 Py_INCREF(Py_None
); resultobj
= Py_None
;
23722 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23725 wxTimeSpan
*arg2
= 0 ;
23726 wxTimeSpan
*result
;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self",(char *) "diff", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23735 if (SWIG_arg_fail(1)) SWIG_fail
;
23737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(2)) SWIG_fail
;
23739 if (arg2
== NULL
) {
23740 SWIG_null_ref("wxTimeSpan");
23742 if (SWIG_arg_fail(2)) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23748 result
= (wxTimeSpan
*) &_result_ref
;
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23761 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23764 wxTimeSpan
*arg2
= 0 ;
23765 wxTimeSpan
*result
;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self",(char *) "diff", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23774 if (SWIG_arg_fail(1)) SWIG_fail
;
23776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23777 if (SWIG_arg_fail(2)) SWIG_fail
;
23778 if (arg2
== NULL
) {
23779 SWIG_null_ref("wxTimeSpan");
23781 if (SWIG_arg_fail(2)) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
23787 result
= (wxTimeSpan
*) &_result_ref
;
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23800 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23804 wxTimeSpan
*result
;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self",(char *) "n", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail
;
23815 arg2
= (int)(SWIG_As_int(obj1
));
23816 if (SWIG_arg_fail(2)) SWIG_fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23822 result
= (wxTimeSpan
*) &_result_ref
;
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23835 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23838 wxTimeSpan
*result
;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
23845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23846 if (SWIG_arg_fail(1)) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
23851 result
= (wxTimeSpan
*) &_result_ref
;
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
23864 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
23874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23875 if (SWIG_arg_fail(1)) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= ((wxTimeSpan
const *)arg1
)->Abs();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23884 wxTimeSpan
* resultptr
;
23885 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23894 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23897 wxTimeSpan
*arg2
= 0 ;
23898 wxTimeSpan
*result
;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char *kwnames
[] = {
23902 (char *) "self",(char *) "diff", NULL
23905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23907 if (SWIG_arg_fail(1)) SWIG_fail
;
23909 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23910 if (SWIG_arg_fail(2)) SWIG_fail
;
23911 if (arg2
== NULL
) {
23912 SWIG_null_ref("wxTimeSpan");
23914 if (SWIG_arg_fail(2)) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
23920 result
= (wxTimeSpan
*) &_result_ref
;
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23933 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23936 wxTimeSpan
*arg2
= 0 ;
23937 wxTimeSpan
*result
;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self",(char *) "diff", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23946 if (SWIG_arg_fail(1)) SWIG_fail
;
23948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23949 if (SWIG_arg_fail(2)) SWIG_fail
;
23950 if (arg2
== NULL
) {
23951 SWIG_null_ref("wxTimeSpan");
23953 if (SWIG_arg_fail(2)) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
23959 result
= (wxTimeSpan
*) &_result_ref
;
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23972 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23976 wxTimeSpan
*result
;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "n", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
23985 if (SWIG_arg_fail(1)) SWIG_fail
;
23987 arg2
= (int)(SWIG_As_int(obj1
));
23988 if (SWIG_arg_fail(2)) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23994 result
= (wxTimeSpan
*) &_result_ref
;
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24007 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24010 wxTimeSpan
*result
;
24011 PyObject
* obj0
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24023 result
= (wxTimeSpan
*) &_result_ref
;
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24036 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24039 wxTimeSpan
*arg2
= 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "other", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail
;
24051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24052 if (SWIG_arg_fail(2)) SWIG_fail
;
24053 if (arg2
== NULL
) {
24054 SWIG_null_ref("wxTimeSpan");
24056 if (SWIG_arg_fail(2)) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 wxTimeSpan
* resultptr
;
24067 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24076 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24079 wxTimeSpan
*arg2
= 0 ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self",(char *) "other", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24089 if (SWIG_arg_fail(1)) SWIG_fail
;
24091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24092 if (SWIG_arg_fail(2)) SWIG_fail
;
24093 if (arg2
== NULL
) {
24094 SWIG_null_ref("wxTimeSpan");
24096 if (SWIG_arg_fail(2)) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24106 wxTimeSpan
* resultptr
;
24107 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24116 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self",(char *) "n", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail
;
24131 arg2
= (int)(SWIG_As_int(obj1
));
24132 if (SWIG_arg_fail(2)) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= wxTimeSpan___mul__(arg1
,arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 wxTimeSpan
* resultptr
;
24143 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24152 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "n", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail
;
24167 arg2
= (int)(SWIG_As_int(obj1
));
24168 if (SWIG_arg_fail(2)) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24178 wxTimeSpan
* resultptr
;
24179 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24188 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24191 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 PyObject
* obj1
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self",(char *) "other", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24201 if (SWIG_arg_fail(1)) SWIG_fail
;
24202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(2)) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24220 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24223 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24225 PyObject
* obj0
= 0 ;
24226 PyObject
* obj1
= 0 ;
24227 char *kwnames
[] = {
24228 (char *) "self",(char *) "other", NULL
24231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24233 if (SWIG_arg_fail(1)) SWIG_fail
;
24234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24235 if (SWIG_arg_fail(2)) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24252 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24255 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "other", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24265 if (SWIG_arg_fail(1)) SWIG_fail
;
24266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24267 if (SWIG_arg_fail(2)) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24284 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24287 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "other", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail
;
24298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24299 if (SWIG_arg_fail(2)) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24316 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24319 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "other", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail
;
24330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24331 if (SWIG_arg_fail(2)) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24348 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24351 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "other", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(2)) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24380 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24391 if (SWIG_arg_fail(1)) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24408 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24419 if (SWIG_arg_fail(1)) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24436 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24447 if (SWIG_arg_fail(1)) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24464 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24467 wxTimeSpan
*arg2
= 0 ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "ts", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail
;
24479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24480 if (SWIG_arg_fail(2)) SWIG_fail
;
24481 if (arg2
== NULL
) {
24482 SWIG_null_ref("wxTimeSpan");
24484 if (SWIG_arg_fail(2)) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24502 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24505 wxTimeSpan
*arg2
= 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "ts", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24518 if (SWIG_arg_fail(2)) SWIG_fail
;
24519 if (arg2
== NULL
) {
24520 SWIG_null_ref("wxTimeSpan");
24522 if (SWIG_arg_fail(2)) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24540 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24543 wxTimeSpan
*arg2
= 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "t", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail
;
24555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24556 if (SWIG_arg_fail(2)) SWIG_fail
;
24557 if (arg2
== NULL
) {
24558 SWIG_null_ref("wxTimeSpan");
24560 if (SWIG_arg_fail(2)) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24578 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24589 if (SWIG_arg_fail(1)) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_From_int((int)(result
));
24606 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_From_int((int)(result
));
24634 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
24644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24645 if (SWIG_arg_fail(1)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_From_int((int)(result
));
24662 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
24672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24673 if (SWIG_arg_fail(1)) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_From_int((int)(result
));
24690 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
24700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24711 hi
= PyLong_FromLong( (&result
)->GetHi() );
24712 lo
= PyLong_FromLong( (&result
)->GetLo() );
24713 shifter
= PyLong_FromLong(32);
24714 shifted
= PyNumber_Lshift(hi
, shifter
);
24715 resultobj
= PyNumber_Or(shifted
, lo
);
24718 Py_DECREF(shifter
);
24719 Py_DECREF(shifted
);
24727 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24731 PyObject
* obj0
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
24737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24747 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24748 hi
= PyLong_FromLong( (&result
)->GetHi() );
24749 lo
= PyLong_FromLong( (&result
)->GetLo() );
24750 shifter
= PyLong_FromLong(32);
24751 shifted
= PyNumber_Lshift(hi
, shifter
);
24752 resultobj
= PyNumber_Or(shifted
, lo
);
24755 Py_DECREF(shifter
);
24756 Py_DECREF(shifted
);
24764 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24767 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
24768 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
24770 bool temp2
= false ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "format", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
24778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24779 if (SWIG_arg_fail(1)) SWIG_fail
;
24782 arg2
= wxString_in_helper(obj1
);
24783 if (arg2
== NULL
) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24815 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
24817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24818 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
24820 return Py_BuildValue((char *)"");
24822 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 int arg1
= (int) 0 ;
24825 int arg2
= (int) 0 ;
24826 int arg3
= (int) 0 ;
24827 int arg4
= (int) 0 ;
24828 wxDateSpan
*result
;
24829 PyObject
* obj0
= 0 ;
24830 PyObject
* obj1
= 0 ;
24831 PyObject
* obj2
= 0 ;
24832 PyObject
* obj3
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24840 arg1
= (int)(SWIG_As_int(obj0
));
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 arg2
= (int)(SWIG_As_int(obj1
));
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24852 arg3
= (int)(SWIG_As_int(obj2
));
24853 if (SWIG_arg_fail(3)) SWIG_fail
;
24858 arg4
= (int)(SWIG_As_int(obj3
));
24859 if (SWIG_arg_fail(4)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24876 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
24885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 Py_INCREF(Py_None
); resultobj
= Py_None
;
24901 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24905 PyObject
* obj0
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "days", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
24912 arg1
= (int)(SWIG_As_int(obj0
));
24913 if (SWIG_arg_fail(1)) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= wxDateSpan::Days(arg1
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 wxDateSpan
* resultptr
;
24924 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24933 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24936 char *kwnames
[] = {
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= wxDateSpan::Day();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 wxDateSpan
* resultptr
;
24950 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24959 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24963 PyObject
* obj0
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "weeks", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
24970 arg1
= (int)(SWIG_As_int(obj0
));
24971 if (SWIG_arg_fail(1)) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= wxDateSpan::Weeks(arg1
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24981 wxDateSpan
* resultptr
;
24982 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
24983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24991 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24994 char *kwnames
[] = {
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= wxDateSpan::Week();
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 wxDateSpan
* resultptr
;
25008 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25017 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "mon", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25028 arg1
= (int)(SWIG_As_int(obj0
));
25029 if (SWIG_arg_fail(1)) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= wxDateSpan::Months(arg1
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 wxDateSpan
* resultptr
;
25040 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25049 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25052 char *kwnames
[] = {
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= wxDateSpan::Month();
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25065 wxDateSpan
* resultptr
;
25066 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25075 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25079 PyObject
* obj0
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "years", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25086 arg1
= (int)(SWIG_As_int(obj0
));
25087 if (SWIG_arg_fail(1)) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= wxDateSpan::Years(arg1
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25097 wxDateSpan
* resultptr
;
25098 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25107 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25110 char *kwnames
[] = {
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= wxDateSpan::Year();
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 wxDateSpan
* resultptr
;
25124 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25133 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25137 wxDateSpan
*result
;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "n", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25146 if (SWIG_arg_fail(1)) SWIG_fail
;
25148 arg2
= (int)(SWIG_As_int(obj1
));
25149 if (SWIG_arg_fail(2)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25155 result
= (wxDateSpan
*) &_result_ref
;
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25168 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25172 wxDateSpan
*result
;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self",(char *) "n", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail
;
25183 arg2
= (int)(SWIG_As_int(obj1
));
25184 if (SWIG_arg_fail(2)) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25190 result
= (wxDateSpan
*) &_result_ref
;
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25203 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25207 wxDateSpan
*result
;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self",(char *) "n", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail
;
25218 arg2
= (int)(SWIG_As_int(obj1
));
25219 if (SWIG_arg_fail(2)) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25225 result
= (wxDateSpan
*) &_result_ref
;
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25238 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25242 wxDateSpan
*result
;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "n", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25251 if (SWIG_arg_fail(1)) SWIG_fail
;
25253 arg2
= (int)(SWIG_As_int(obj1
));
25254 if (SWIG_arg_fail(2)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25260 result
= (wxDateSpan
*) &_result_ref
;
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25273 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_From_int((int)(result
));
25301 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25305 PyObject
* obj0
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25312 if (SWIG_arg_fail(1)) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_From_int((int)(result
));
25329 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_From_int((int)(result
));
25357 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25361 PyObject
* obj0
= 0 ;
25362 char *kwnames
[] = {
25363 (char *) "self", NULL
25366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25368 if (SWIG_arg_fail(1)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_From_int((int)(result
));
25385 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
;
25387 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25389 PyObject
* obj0
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25396 if (SWIG_arg_fail(1)) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_From_int((int)(result
));
25413 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25416 wxDateSpan
*arg2
= 0 ;
25417 wxDateSpan
*result
;
25418 PyObject
* obj0
= 0 ;
25419 PyObject
* obj1
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self",(char *) "other", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail
;
25428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25429 if (SWIG_arg_fail(2)) SWIG_fail
;
25430 if (arg2
== NULL
) {
25431 SWIG_null_ref("wxDateSpan");
25433 if (SWIG_arg_fail(2)) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25439 result
= (wxDateSpan
*) &_result_ref
;
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25452 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25455 wxDateSpan
*arg2
= 0 ;
25456 wxDateSpan
*result
;
25457 PyObject
* obj0
= 0 ;
25458 PyObject
* obj1
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self",(char *) "other", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail
;
25467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(2)) SWIG_fail
;
25469 if (arg2
== NULL
) {
25470 SWIG_null_ref("wxDateSpan");
25472 if (SWIG_arg_fail(2)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25478 result
= (wxDateSpan
*) &_result_ref
;
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25491 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25494 wxDateSpan
*result
;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25507 result
= (wxDateSpan
*) &_result_ref
;
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25520 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25524 wxDateSpan
*result
;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self",(char *) "factor", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail
;
25535 arg2
= (int)(SWIG_As_int(obj1
));
25536 if (SWIG_arg_fail(2)) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25542 result
= (wxDateSpan
*) &_result_ref
;
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25555 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25558 wxDateSpan
*arg2
= 0 ;
25559 wxDateSpan
*result
;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self",(char *) "other", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25568 if (SWIG_arg_fail(1)) SWIG_fail
;
25570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25571 if (SWIG_arg_fail(2)) SWIG_fail
;
25572 if (arg2
== NULL
) {
25573 SWIG_null_ref("wxDateSpan");
25575 if (SWIG_arg_fail(2)) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25581 result
= (wxDateSpan
*) &_result_ref
;
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25594 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25597 wxDateSpan
*arg2
= 0 ;
25598 wxDateSpan
*result
;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self",(char *) "other", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25610 if (SWIG_arg_fail(2)) SWIG_fail
;
25611 if (arg2
== NULL
) {
25612 SWIG_null_ref("wxDateSpan");
25614 if (SWIG_arg_fail(2)) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25620 result
= (wxDateSpan
*) &_result_ref
;
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25633 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25636 wxDateSpan
*result
;
25637 PyObject
* obj0
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
25643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25644 if (SWIG_arg_fail(1)) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 wxDateSpan
&_result_ref
= (arg1
)->operator -();
25649 result
= (wxDateSpan
*) &_result_ref
;
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25662 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25666 wxDateSpan
*result
;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self",(char *) "factor", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25677 arg2
= (int)(SWIG_As_int(obj1
));
25678 if (SWIG_arg_fail(2)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25684 result
= (wxDateSpan
*) &_result_ref
;
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25697 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25700 wxDateSpan
*arg2
= 0 ;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self",(char *) "other", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25713 if (SWIG_arg_fail(2)) SWIG_fail
;
25714 if (arg2
== NULL
) {
25715 SWIG_null_ref("wxDateSpan");
25717 if (SWIG_arg_fail(2)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 wxDateSpan
* resultptr
;
25728 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25737 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25740 wxDateSpan
*arg2
= 0 ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "other", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail
;
25752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25753 if (SWIG_arg_fail(2)) SWIG_fail
;
25754 if (arg2
== NULL
) {
25755 SWIG_null_ref("wxDateSpan");
25757 if (SWIG_arg_fail(2)) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 wxDateSpan
* resultptr
;
25768 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25777 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
;
25779 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 char *kwnames
[] = {
25785 (char *) "self",(char *) "n", NULL
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail
;
25792 arg2
= (int)(SWIG_As_int(obj1
));
25793 if (SWIG_arg_fail(2)) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 result
= wxDateSpan___mul__(arg1
,arg2
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25803 wxDateSpan
* resultptr
;
25804 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25813 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25818 PyObject
* obj0
= 0 ;
25819 PyObject
* obj1
= 0 ;
25820 char *kwnames
[] = {
25821 (char *) "self",(char *) "n", NULL
25824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25826 if (SWIG_arg_fail(1)) SWIG_fail
;
25828 arg2
= (int)(SWIG_As_int(obj1
));
25829 if (SWIG_arg_fail(2)) SWIG_fail
;
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= wxDateSpan___rmul__(arg1
,arg2
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25839 wxDateSpan
* resultptr
;
25840 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25849 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
;
25851 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25852 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
25854 PyObject
* obj0
= 0 ;
25855 PyObject
* obj1
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self",(char *) "other", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
25861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25862 if (SWIG_arg_fail(1)) SWIG_fail
;
25863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25864 if (SWIG_arg_fail(2)) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25881 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25884 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "other", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
25893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail
;
25895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(2)) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25913 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
25915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25916 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
25918 return Py_BuildValue((char *)"");
25920 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25923 char *kwnames
[] = {
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 result
= (long)wxGetLocalTime();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= SWIG_From_long((long)(result
));
25944 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25947 char *kwnames
[] = {
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (long)wxGetUTCTime();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= SWIG_From_long((long)(result
));
25968 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25971 char *kwnames
[] = {
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (long)wxGetCurrentTime();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_From_long((long)(result
));
25992 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25995 char *kwnames
[] = {
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= wxGetLocalTimeMillis();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26009 hi
= PyLong_FromLong( (&result
)->GetHi() );
26010 lo
= PyLong_FromLong( (&result
)->GetLo() );
26011 shifter
= PyLong_FromLong(32);
26012 shifted
= PyNumber_Lshift(hi
, shifter
);
26013 resultobj
= PyNumber_Or(shifted
, lo
);
26016 Py_DECREF(shifter
);
26017 Py_DECREF(shifted
);
26025 static int _wrap_DefaultDateTime_set(PyObject
*) {
26026 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26031 static PyObject
*_wrap_DefaultDateTime_get(void) {
26034 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26039 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
;
26041 wxDataFormatId arg1
;
26042 wxDataFormat
*result
;
26043 PyObject
* obj0
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "type", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26050 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26051 if (SWIG_arg_fail(1)) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26067 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxString
*arg1
= 0 ;
26070 wxDataFormat
*result
;
26071 bool temp1
= false ;
26072 PyObject
* obj0
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "format", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26079 arg1
= wxString_in_helper(obj0
);
26080 if (arg1
== NULL
) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26105 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 Py_INCREF(Py_None
); resultobj
= Py_None
;
26130 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26131 PyObject
*resultobj
;
26132 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26133 wxDataFormatId arg2
;
26135 PyObject
* obj0
= 0 ;
26136 PyObject
* obj1
= 0 ;
26138 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26140 if (SWIG_arg_fail(1)) SWIG_fail
;
26142 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26143 if (SWIG_arg_fail(2)) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26161 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26162 PyObject
*resultobj
;
26163 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26164 wxDataFormatId arg2
;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26169 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26171 if (SWIG_arg_fail(1)) SWIG_fail
;
26173 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26174 if (SWIG_arg_fail(2)) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26192 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26193 PyObject
*resultobj
;
26194 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26195 wxDataFormat
*arg2
= 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26200 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail
;
26204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26205 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 if (arg2
== NULL
) {
26207 SWIG_null_ref("wxDataFormat");
26209 if (SWIG_arg_fail(2)) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26232 argc
= PyObject_Length(args
);
26233 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26234 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26240 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26250 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26258 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26274 _v
= SWIG_Check_int(argv
[1]);
26276 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26281 Py_INCREF(Py_NotImplemented
);
26282 return Py_NotImplemented
;
26286 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26287 PyObject
*resultobj
;
26288 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26289 wxDataFormat
*arg2
= 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26294 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(1)) SWIG_fail
;
26298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26299 if (SWIG_arg_fail(2)) SWIG_fail
;
26300 if (arg2
== NULL
) {
26301 SWIG_null_ref("wxDataFormat");
26303 if (SWIG_arg_fail(2)) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26321 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26326 argc
= PyObject_Length(args
);
26327 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26328 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26344 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26352 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26360 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26368 _v
= SWIG_Check_int(argv
[1]);
26370 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26375 Py_INCREF(Py_NotImplemented
);
26376 return Py_NotImplemented
;
26380 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26383 wxDataFormatId arg2
;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "format", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail
;
26394 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26395 if (SWIG_arg_fail(2)) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 (arg1
)->SetType((wxDataFormatId
)arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 Py_INCREF(Py_None
); resultobj
= Py_None
;
26411 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26414 wxDataFormatId result
;
26415 PyObject
* obj0
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26422 if (SWIG_arg_fail(1)) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 resultobj
= SWIG_From_int((result
));
26437 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26448 if (SWIG_arg_fail(1)) SWIG_fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= ((wxDataFormat
const *)arg1
)->GetId();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26469 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26472 wxString
*arg2
= 0 ;
26473 bool temp2
= false ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self",(char *) "format", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26482 if (SWIG_arg_fail(1)) SWIG_fail
;
26484 arg2
= wxString_in_helper(obj1
);
26485 if (arg2
== NULL
) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 (arg1
)->SetId((wxString
const &)*arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 Py_INCREF(Py_None
); resultobj
= Py_None
;
26510 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26513 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26515 return Py_BuildValue((char *)"");
26517 static int _wrap_FormatInvalid_set(PyObject
*) {
26518 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26523 static PyObject
*_wrap_FormatInvalid_get(void) {
26526 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26531 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 Py_INCREF(Py_None
); resultobj
= Py_None
;
26556 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26559 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26560 SwigValueWrapper
<wxDataFormat
> result
;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "dir", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26569 if (SWIG_arg_fail(1)) SWIG_fail
;
26572 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26573 if (SWIG_arg_fail(2)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 wxDataFormat
* resultptr
;
26585 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26594 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26597 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "dir", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail
;
26610 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26611 if (SWIG_arg_fail(2)) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26630 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
;
26632 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26633 wxDataFormat
*arg2
= 0 ;
26634 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 PyObject
* obj2
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self",(char *) "format",(char *) "dir", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26645 if (SWIG_arg_fail(1)) SWIG_fail
;
26647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26648 if (SWIG_arg_fail(2)) SWIG_fail
;
26649 if (arg2
== NULL
) {
26650 SWIG_null_ref("wxDataFormat");
26652 if (SWIG_arg_fail(2)) SWIG_fail
;
26656 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
26657 if (SWIG_arg_fail(3)) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26676 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26677 PyObject
*resultobj
;
26678 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26679 wxDataFormat
*arg2
= 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self",(char *) "format", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26689 if (SWIG_arg_fail(1)) SWIG_fail
;
26691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26692 if (SWIG_arg_fail(2)) SWIG_fail
;
26693 if (arg2
== NULL
) {
26694 SWIG_null_ref("wxDataFormat");
26696 if (SWIG_arg_fail(2)) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26714 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26717 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self",(char *) "dir", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
26726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26727 if (SWIG_arg_fail(1)) SWIG_fail
;
26730 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26731 if (SWIG_arg_fail(2)) SWIG_fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= result
;
26748 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
;
26750 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26751 wxDataFormat
*arg2
= 0 ;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self",(char *) "format", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
26760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26761 if (SWIG_arg_fail(1)) SWIG_fail
;
26763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26764 if (SWIG_arg_fail(2)) SWIG_fail
;
26765 if (arg2
== NULL
) {
26766 SWIG_null_ref("wxDataFormat");
26768 if (SWIG_arg_fail(2)) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= result
;
26784 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26787 wxDataFormat
*arg2
= 0 ;
26788 PyObject
*arg3
= (PyObject
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "format",(char *) "data", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail
;
26801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26802 if (SWIG_arg_fail(2)) SWIG_fail
;
26803 if (arg2
== NULL
) {
26804 SWIG_null_ref("wxDataFormat");
26806 if (SWIG_arg_fail(2)) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26825 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
26827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26828 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
26830 return Py_BuildValue((char *)"");
26832 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26835 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26836 wxDataObjectSimple
*result
;
26837 PyObject
* obj0
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "format", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
26845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail
;
26847 if (arg1
== NULL
) {
26848 SWIG_null_ref("wxDataFormat");
26850 if (SWIG_arg_fail(1)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
26867 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26870 wxDataFormat
*result
;
26871 PyObject
* obj0
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
26883 result
= (wxDataFormat
*) &_result_ref
;
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
26896 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
;
26898 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26899 wxDataFormat
*arg2
= 0 ;
26900 PyObject
* obj0
= 0 ;
26901 PyObject
* obj1
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self",(char *) "format", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26908 if (SWIG_arg_fail(1)) SWIG_fail
;
26910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26911 if (SWIG_arg_fail(2)) SWIG_fail
;
26912 if (arg2
== NULL
) {
26913 SWIG_null_ref("wxDataFormat");
26915 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 Py_INCREF(Py_None
); resultobj
= Py_None
;
26931 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 char *kwnames
[] = {
26937 (char *) "self", NULL
26940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
26941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26942 if (SWIG_arg_fail(1)) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26959 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
26969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= result
;
26985 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
26988 PyObject
*arg2
= (PyObject
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "data", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27016 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27019 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27021 return Py_BuildValue((char *)"");
27023 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27026 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27027 wxPyDataObjectSimple
*result
;
27028 PyObject
* obj0
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "format", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 if (arg1
== NULL
) {
27039 SWIG_null_ref("wxDataFormat");
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27058 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27061 PyObject
*arg2
= (PyObject
*) 0 ;
27062 PyObject
*arg3
= (PyObject
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 PyObject
* obj2
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self",(char *) "self",(char *) "_class", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27092 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27094 return Py_BuildValue((char *)"");
27096 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxDataObjectComposite
*result
;
27099 char *kwnames
[] = {
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27118 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27121 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27122 bool arg3
= (bool) false ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 PyObject
* obj2
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27132 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27134 if (SWIG_arg_fail(2)) SWIG_fail
;
27137 arg3
= (bool)(SWIG_As_bool(obj2
));
27138 if (SWIG_arg_fail(3)) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 (arg1
)->Add(arg2
,arg3
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 Py_INCREF(Py_None
); resultobj
= Py_None
;
27155 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27158 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27160 return Py_BuildValue((char *)"");
27162 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
;
27164 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27165 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27166 wxTextDataObject
*result
;
27167 bool temp1
= false ;
27168 PyObject
* obj0
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "text", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27176 arg1
= wxString_in_helper(obj0
);
27177 if (arg1
== NULL
) SWIG_fail
;
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27203 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27204 PyObject
*resultobj
;
27205 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27207 PyObject
* obj0
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27214 if (SWIG_arg_fail(1)) SWIG_fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 result
= (size_t)(arg1
)->GetTextLength();
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27231 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27242 if (SWIG_arg_fail(1)) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (arg1
)->GetText();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27263 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27266 wxString
*arg2
= 0 ;
27267 bool temp2
= false ;
27268 PyObject
* obj0
= 0 ;
27269 PyObject
* obj1
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self",(char *) "text", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27278 arg2
= wxString_in_helper(obj1
);
27279 if (arg2
== NULL
) SWIG_fail
;
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 (arg1
)->SetText((wxString
const &)*arg2
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 Py_INCREF(Py_None
); resultobj
= Py_None
;
27304 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27307 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27309 return Py_BuildValue((char *)"");
27311 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27314 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27315 wxPyTextDataObject
*result
;
27316 bool temp1
= false ;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "text", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27325 arg1
= wxString_in_helper(obj0
);
27326 if (arg1
== NULL
) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27352 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
;
27354 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27355 PyObject
*arg2
= (PyObject
*) 0 ;
27356 PyObject
*arg3
= (PyObject
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 PyObject
* obj1
= 0 ;
27359 PyObject
* obj2
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self",(char *) "self",(char *) "_class", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27366 if (SWIG_arg_fail(1)) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27386 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27388 return Py_BuildValue((char *)"");
27390 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27393 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27394 wxBitmapDataObject
*result
;
27395 PyObject
* obj0
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "bitmap", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail
;
27405 if (arg1
== NULL
) {
27406 SWIG_null_ref("wxBitmap");
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27425 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27429 PyObject
* obj0
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27436 if (SWIG_arg_fail(1)) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27445 wxBitmap
* resultptr
;
27446 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27455 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27458 wxBitmap
*arg2
= 0 ;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self",(char *) "bitmap", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27467 if (SWIG_arg_fail(1)) SWIG_fail
;
27469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27470 if (SWIG_arg_fail(2)) SWIG_fail
;
27471 if (arg2
== NULL
) {
27472 SWIG_null_ref("wxBitmap");
27474 if (SWIG_arg_fail(2)) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 Py_INCREF(Py_None
); resultobj
= Py_None
;
27490 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27493 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27495 return Py_BuildValue((char *)"");
27497 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27500 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27501 wxPyBitmapDataObject
*result
;
27502 PyObject
* obj0
= 0 ;
27503 char *kwnames
[] = {
27504 (char *) "bitmap", NULL
27507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27511 if (SWIG_arg_fail(1)) SWIG_fail
;
27512 if (arg1
== NULL
) {
27513 SWIG_null_ref("wxBitmap");
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27532 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27535 PyObject
*arg2
= (PyObject
*) 0 ;
27536 PyObject
*arg3
= (PyObject
*) 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 PyObject
* obj2
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "self",(char *) "_class", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 Py_INCREF(Py_None
); resultobj
= Py_None
;
27563 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27566 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27568 return Py_BuildValue((char *)"");
27570 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxFileDataObject
*result
;
27573 char *kwnames
[] = {
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= (wxFileDataObject
*)new wxFileDataObject();
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27592 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27595 wxArrayString
*result
;
27596 PyObject
* obj0
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27608 result
= (wxArrayString
*) &_result_ref
;
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= wxArrayString2PyList_helper(*result
);
27623 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27626 wxString
*arg2
= 0 ;
27627 bool temp2
= false ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 char *kwnames
[] = {
27631 (char *) "self",(char *) "filename", NULL
27634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27636 if (SWIG_arg_fail(1)) SWIG_fail
;
27638 arg2
= wxString_in_helper(obj1
);
27639 if (arg2
== NULL
) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 (arg1
)->AddFile((wxString
const &)*arg2
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 Py_INCREF(Py_None
); resultobj
= Py_None
;
27664 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
27666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27667 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
27669 return Py_BuildValue((char *)"");
27671 static PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*, PyObject
*args
) {
27672 PyObject
*resultobj
;
27673 wxDataFormat
*arg1
= 0 ;
27674 wxCustomDataObject
*result
;
27675 PyObject
* obj0
= 0 ;
27677 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27680 if (SWIG_arg_fail(1)) SWIG_fail
;
27681 if (arg1
== NULL
) {
27682 SWIG_null_ref("wxDataFormat");
27684 if (SWIG_arg_fail(1)) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27700 static PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*, PyObject
*args
) {
27701 PyObject
*resultobj
;
27702 wxString
*arg1
= 0 ;
27703 wxCustomDataObject
*result
;
27704 bool temp1
= false ;
27705 PyObject
* obj0
= 0 ;
27707 if(!PyArg_ParseTuple(args
,(char *)"O:new_CustomDataObject",&obj0
)) goto fail
;
27709 arg1
= wxString_in_helper(obj0
);
27710 if (arg1
== NULL
) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27735 static PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*, PyObject
*args
) {
27736 PyObject
*resultobj
;
27737 wxCustomDataObject
*result
;
27739 if(!PyArg_ParseTuple(args
,(char *)":new_CustomDataObject")) goto fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (wxCustomDataObject
*)new wxCustomDataObject();
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27754 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
27759 argc
= PyObject_Length(args
);
27760 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
27761 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27764 return _wrap_new_CustomDataObject__SWIG_2(self
,args
);
27769 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
27772 return _wrap_new_CustomDataObject__SWIG_1(self
,args
);
27779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
27787 return _wrap_new_CustomDataObject__SWIG_0(self
,args
);
27791 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
27796 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27799 PyObject
*arg2
= (PyObject
*) 0 ;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 char *kwnames
[] = {
27804 (char *) "self",(char *) "data", NULL
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27809 if (SWIG_arg_fail(1)) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27827 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "self", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
27837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27838 if (SWIG_arg_fail(1)) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (size_t)(arg1
)->GetSize();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27855 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27859 PyObject
* obj0
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "self", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
27865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27866 if (SWIG_arg_fail(1)) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= result
;
27881 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
27883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27884 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
27886 return Py_BuildValue((char *)"");
27888 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxURLDataObject
*result
;
27891 char *kwnames
[] = {
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (wxURLDataObject
*)new wxURLDataObject();
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
27910 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
27920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27921 if (SWIG_arg_fail(1)) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (arg1
)->GetURL();
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27942 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
27945 wxString
*arg2
= 0 ;
27946 bool temp2
= false ;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 char *kwnames
[] = {
27950 (char *) "self",(char *) "url", NULL
27953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
27954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27955 if (SWIG_arg_fail(1)) SWIG_fail
;
27957 arg2
= wxString_in_helper(obj1
);
27958 if (arg2
== NULL
) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 (arg1
)->SetURL((wxString
const &)*arg2
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 Py_INCREF(Py_None
); resultobj
= Py_None
;
27983 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
27985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27986 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
27988 return Py_BuildValue((char *)"");
27990 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxMetafileDataObject
*result
;
27993 char *kwnames
[] = {
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28012 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28015 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28017 return Py_BuildValue((char *)"");
28019 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxDragResult arg1
;
28023 PyObject
* obj0
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "res", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28030 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28031 if (SWIG_arg_fail(1)) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28049 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
;
28051 wxWindow
*arg1
= (wxWindow
*) 0 ;
28052 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28053 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28054 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28055 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28056 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28057 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28058 wxPyDropSource
*result
;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 PyObject
* obj2
= 0 ;
28062 PyObject
* obj3
= 0 ;
28063 char *kwnames
[] = {
28064 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28069 if (SWIG_arg_fail(1)) SWIG_fail
;
28072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28073 if (SWIG_arg_fail(2)) SWIG_fail
;
28074 if (arg2
== NULL
) {
28075 SWIG_null_ref("wxIcon");
28077 if (SWIG_arg_fail(2)) SWIG_fail
;
28082 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28083 if (SWIG_arg_fail(3)) SWIG_fail
;
28084 if (arg3
== NULL
) {
28085 SWIG_null_ref("wxIcon");
28087 if (SWIG_arg_fail(3)) SWIG_fail
;
28092 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28093 if (SWIG_arg_fail(4)) SWIG_fail
;
28094 if (arg4
== NULL
) {
28095 SWIG_null_ref("wxIcon");
28097 if (SWIG_arg_fail(4)) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28114 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28117 PyObject
*arg2
= (PyObject
*) 0 ;
28118 PyObject
*arg3
= (PyObject
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 PyObject
* obj1
= 0 ;
28122 PyObject
* obj2
= 0 ;
28123 PyObject
* obj3
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28130 if (SWIG_arg_fail(1)) SWIG_fail
;
28134 arg4
= (int)(SWIG_As_int(obj3
));
28135 if (SWIG_arg_fail(4)) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 Py_INCREF(Py_None
); resultobj
= Py_None
;
28151 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail
;
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 Py_INCREF(Py_None
); resultobj
= Py_None
;
28176 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
;
28178 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28179 wxDataObject
*arg2
= 0 ;
28180 PyObject
* obj0
= 0 ;
28181 PyObject
* obj1
= 0 ;
28182 char *kwnames
[] = {
28183 (char *) "self",(char *) "data", NULL
28186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28188 if (SWIG_arg_fail(1)) SWIG_fail
;
28190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28191 if (SWIG_arg_fail(2)) SWIG_fail
;
28192 if (arg2
== NULL
) {
28193 SWIG_null_ref("wxDataObject");
28195 if (SWIG_arg_fail(2)) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 (arg1
)->SetData(*arg2
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28204 Py_INCREF(Py_None
); resultobj
= Py_None
;
28211 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28214 wxDataObject
*result
;
28215 PyObject
* obj0
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28237 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28240 wxDragResult arg2
;
28241 wxCursor
*arg3
= 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 PyObject
* obj2
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self",(char *) "res",(char *) "cursor", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28251 if (SWIG_arg_fail(1)) SWIG_fail
;
28253 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28254 if (SWIG_arg_fail(2)) SWIG_fail
;
28257 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28258 if (SWIG_arg_fail(3)) SWIG_fail
;
28259 if (arg3
== NULL
) {
28260 SWIG_null_ref("wxCursor");
28262 if (SWIG_arg_fail(3)) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 Py_INCREF(Py_None
); resultobj
= Py_None
;
28278 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28281 int arg2
= (int) wxDrag_CopyOnly
;
28282 wxDragResult result
;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self",(char *) "flags", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28291 if (SWIG_arg_fail(1)) SWIG_fail
;
28294 arg2
= (int)(SWIG_As_int(obj1
));
28295 if (SWIG_arg_fail(2)) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_From_int((result
));
28312 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28315 wxDragResult arg2
;
28317 PyObject
* obj0
= 0 ;
28318 PyObject
* obj1
= 0 ;
28319 char *kwnames
[] = {
28320 (char *) "self",(char *) "effect", NULL
28323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28325 if (SWIG_arg_fail(1)) SWIG_fail
;
28327 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28328 if (SWIG_arg_fail(2)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28346 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28349 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28351 return Py_BuildValue((char *)"");
28353 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28356 wxPyDropTarget
*result
;
28357 PyObject
* obj0
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "dataObject", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28365 if (SWIG_arg_fail(1)) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28381 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28384 PyObject
*arg2
= (PyObject
*) 0 ;
28385 PyObject
*arg3
= (PyObject
*) 0 ;
28386 PyObject
* obj0
= 0 ;
28387 PyObject
* obj1
= 0 ;
28388 PyObject
* obj2
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self",(char *) "self",(char *) "_class", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28395 if (SWIG_arg_fail(1)) SWIG_fail
;
28399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28400 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28405 Py_INCREF(Py_None
); resultobj
= Py_None
;
28412 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28422 if (SWIG_arg_fail(1)) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 Py_INCREF(Py_None
); resultobj
= Py_None
;
28437 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28440 wxDataObject
*result
;
28441 PyObject
* obj0
= 0 ;
28442 char *kwnames
[] = {
28443 (char *) "self", NULL
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28448 if (SWIG_arg_fail(1)) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28463 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28466 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self",(char *) "dataObject", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28475 if (SWIG_arg_fail(1)) SWIG_fail
;
28476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28477 if (SWIG_arg_fail(2)) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 (arg1
)->SetDataObject(arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 Py_INCREF(Py_None
); resultobj
= Py_None
;
28492 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28497 wxDragResult arg4
;
28498 wxDragResult result
;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 PyObject
* obj2
= 0 ;
28502 PyObject
* obj3
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
28512 if (SWIG_arg_fail(2)) SWIG_fail
;
28515 arg3
= (int)(SWIG_As_int(obj2
));
28516 if (SWIG_arg_fail(3)) SWIG_fail
;
28519 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28520 if (SWIG_arg_fail(4)) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_From_int((result
));
28536 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28541 wxDragResult arg4
;
28542 wxDragResult result
;
28543 PyObject
* obj0
= 0 ;
28544 PyObject
* obj1
= 0 ;
28545 PyObject
* obj2
= 0 ;
28546 PyObject
* obj3
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28555 arg2
= (int)(SWIG_As_int(obj1
));
28556 if (SWIG_arg_fail(2)) SWIG_fail
;
28559 arg3
= (int)(SWIG_As_int(obj2
));
28560 if (SWIG_arg_fail(3)) SWIG_fail
;
28563 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28564 if (SWIG_arg_fail(4)) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_From_int((result
));
28580 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28583 PyObject
* obj0
= 0 ;
28584 char *kwnames
[] = {
28585 (char *) "self", NULL
28588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28590 if (SWIG_arg_fail(1)) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 (arg1
)->base_OnLeave();
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 Py_INCREF(Py_None
); resultobj
= Py_None
;
28605 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28606 PyObject
*resultobj
;
28607 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28611 PyObject
* obj0
= 0 ;
28612 PyObject
* obj1
= 0 ;
28613 PyObject
* obj2
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "x",(char *) "y", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28620 if (SWIG_arg_fail(1)) SWIG_fail
;
28622 arg2
= (int)(SWIG_As_int(obj1
));
28623 if (SWIG_arg_fail(2)) SWIG_fail
;
28626 arg3
= (int)(SWIG_As_int(obj2
));
28627 if (SWIG_arg_fail(3)) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28645 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28649 PyObject
* obj0
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (bool)(arg1
)->GetData();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28673 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
28675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28676 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
28678 return Py_BuildValue((char *)"");
28680 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxPyTextDropTarget
*result
;
28683 char *kwnames
[] = {
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
28702 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28705 PyObject
*arg2
= (PyObject
*) 0 ;
28706 PyObject
*arg3
= (PyObject
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 PyObject
* obj2
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "self",(char *) "self",(char *) "_class", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28716 if (SWIG_arg_fail(1)) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 Py_INCREF(Py_None
); resultobj
= Py_None
;
28733 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28738 wxDragResult arg4
;
28739 wxDragResult result
;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 PyObject
* obj2
= 0 ;
28743 PyObject
* obj3
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28752 arg2
= (int)(SWIG_As_int(obj1
));
28753 if (SWIG_arg_fail(2)) SWIG_fail
;
28756 arg3
= (int)(SWIG_As_int(obj2
));
28757 if (SWIG_arg_fail(3)) SWIG_fail
;
28760 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28761 if (SWIG_arg_fail(4)) SWIG_fail
;
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= SWIG_From_int((result
));
28777 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28782 wxDragResult arg4
;
28783 wxDragResult result
;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 PyObject
* obj2
= 0 ;
28787 PyObject
* obj3
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28794 if (SWIG_arg_fail(1)) SWIG_fail
;
28796 arg2
= (int)(SWIG_As_int(obj1
));
28797 if (SWIG_arg_fail(2)) SWIG_fail
;
28800 arg3
= (int)(SWIG_As_int(obj2
));
28801 if (SWIG_arg_fail(3)) SWIG_fail
;
28804 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28805 if (SWIG_arg_fail(4)) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= SWIG_From_int((result
));
28821 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
;
28823 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28831 if (SWIG_arg_fail(1)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 (arg1
)->base_OnLeave();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 Py_INCREF(Py_None
); resultobj
= Py_None
;
28846 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28852 PyObject
* obj0
= 0 ;
28853 PyObject
* obj1
= 0 ;
28854 PyObject
* obj2
= 0 ;
28855 char *kwnames
[] = {
28856 (char *) "self",(char *) "x",(char *) "y", NULL
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28861 if (SWIG_arg_fail(1)) SWIG_fail
;
28863 arg2
= (int)(SWIG_As_int(obj1
));
28864 if (SWIG_arg_fail(2)) SWIG_fail
;
28867 arg3
= (int)(SWIG_As_int(obj2
));
28868 if (SWIG_arg_fail(3)) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28886 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28891 wxDragResult arg4
;
28892 wxDragResult result
;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 PyObject
* obj2
= 0 ;
28896 PyObject
* obj3
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28903 if (SWIG_arg_fail(1)) SWIG_fail
;
28905 arg2
= (int)(SWIG_As_int(obj1
));
28906 if (SWIG_arg_fail(2)) SWIG_fail
;
28909 arg3
= (int)(SWIG_As_int(obj2
));
28910 if (SWIG_arg_fail(3)) SWIG_fail
;
28913 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28914 if (SWIG_arg_fail(4)) SWIG_fail
;
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_From_int((result
));
28930 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
28932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28933 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
28935 return Py_BuildValue((char *)"");
28937 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxPyFileDropTarget
*result
;
28940 char *kwnames
[] = {
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
28959 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
;
28961 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
28962 PyObject
*arg2
= (PyObject
*) 0 ;
28963 PyObject
*arg3
= (PyObject
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self",(char *) "self",(char *) "_class", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail
;
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 Py_INCREF(Py_None
); resultobj
= Py_None
;
28990 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
;
28992 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
28995 wxDragResult arg4
;
28996 wxDragResult result
;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail
;
29009 arg2
= (int)(SWIG_As_int(obj1
));
29010 if (SWIG_arg_fail(2)) SWIG_fail
;
29013 arg3
= (int)(SWIG_As_int(obj2
));
29014 if (SWIG_arg_fail(3)) SWIG_fail
;
29017 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29018 if (SWIG_arg_fail(4)) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_From_int((result
));
29034 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29039 wxDragResult arg4
;
29040 wxDragResult result
;
29041 PyObject
* obj0
= 0 ;
29042 PyObject
* obj1
= 0 ;
29043 PyObject
* obj2
= 0 ;
29044 PyObject
* obj3
= 0 ;
29045 char *kwnames
[] = {
29046 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29051 if (SWIG_arg_fail(1)) SWIG_fail
;
29053 arg2
= (int)(SWIG_As_int(obj1
));
29054 if (SWIG_arg_fail(2)) SWIG_fail
;
29057 arg3
= (int)(SWIG_As_int(obj2
));
29058 if (SWIG_arg_fail(3)) SWIG_fail
;
29061 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29062 if (SWIG_arg_fail(4)) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= SWIG_From_int((result
));
29078 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29079 PyObject
*resultobj
;
29080 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29081 PyObject
* obj0
= 0 ;
29082 char *kwnames
[] = {
29083 (char *) "self", NULL
29086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29088 if (SWIG_arg_fail(1)) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 (arg1
)->base_OnLeave();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 Py_INCREF(Py_None
); resultobj
= Py_None
;
29103 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self",(char *) "x",(char *) "y", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29118 if (SWIG_arg_fail(1)) SWIG_fail
;
29120 arg2
= (int)(SWIG_As_int(obj1
));
29121 if (SWIG_arg_fail(2)) SWIG_fail
;
29124 arg3
= (int)(SWIG_As_int(obj2
));
29125 if (SWIG_arg_fail(3)) SWIG_fail
;
29128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29129 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29143 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29148 wxDragResult arg4
;
29149 wxDragResult result
;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 PyObject
* obj2
= 0 ;
29153 PyObject
* obj3
= 0 ;
29154 char *kwnames
[] = {
29155 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29160 if (SWIG_arg_fail(1)) SWIG_fail
;
29162 arg2
= (int)(SWIG_As_int(obj1
));
29163 if (SWIG_arg_fail(2)) SWIG_fail
;
29166 arg3
= (int)(SWIG_As_int(obj2
));
29167 if (SWIG_arg_fail(3)) SWIG_fail
;
29170 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29171 if (SWIG_arg_fail(4)) SWIG_fail
;
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29175 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= SWIG_From_int((result
));
29187 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29190 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29192 return Py_BuildValue((char *)"");
29194 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxClipboard
*result
;
29197 char *kwnames
[] = {
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (wxClipboard
*)new wxClipboard();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29216 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29226 if (SWIG_arg_fail(1)) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 Py_INCREF(Py_None
); resultobj
= Py_None
;
29241 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
;
29243 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29245 PyObject
* obj0
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(1)) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 result
= (bool)(arg1
)->Open();
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29269 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
;
29271 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29272 PyObject
* obj0
= 0 ;
29273 char *kwnames
[] = {
29274 (char *) "self", NULL
29277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29279 if (SWIG_arg_fail(1)) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 Py_INCREF(Py_None
); resultobj
= Py_None
;
29294 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29298 PyObject
* obj0
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29305 if (SWIG_arg_fail(1)) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29322 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29325 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "data", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail
;
29336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29337 if (SWIG_arg_fail(2)) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= (bool)(arg1
)->AddData(arg2
);
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29354 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
;
29356 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29357 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self",(char *) "data", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29367 if (SWIG_arg_fail(1)) SWIG_fail
;
29368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29369 if (SWIG_arg_fail(2)) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (bool)(arg1
)->SetData(arg2
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29386 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29389 wxDataFormat
*arg2
= 0 ;
29391 PyObject
* obj0
= 0 ;
29392 PyObject
* obj1
= 0 ;
29393 char *kwnames
[] = {
29394 (char *) "self",(char *) "format", NULL
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29399 if (SWIG_arg_fail(1)) SWIG_fail
;
29401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(2)) SWIG_fail
;
29403 if (arg2
== NULL
) {
29404 SWIG_null_ref("wxDataFormat");
29406 if (SWIG_arg_fail(2)) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29424 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
;
29426 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29427 wxDataObject
*arg2
= 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self",(char *) "data", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29437 if (SWIG_arg_fail(1)) SWIG_fail
;
29439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(2)) SWIG_fail
;
29441 if (arg2
== NULL
) {
29442 SWIG_null_ref("wxDataObject");
29444 if (SWIG_arg_fail(2)) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (bool)(arg1
)->GetData(*arg2
);
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29462 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
;
29464 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29465 PyObject
* obj0
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 Py_INCREF(Py_None
); resultobj
= Py_None
;
29487 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29491 PyObject
* obj0
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29498 if (SWIG_arg_fail(1)) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (bool)(arg1
)->Flush();
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29515 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
;
29517 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29518 bool arg2
= (bool) true ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 char *kwnames
[] = {
29522 (char *) "self",(char *) "primary", NULL
29525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29527 if (SWIG_arg_fail(1)) SWIG_fail
;
29530 arg2
= (bool)(SWIG_As_bool(obj1
));
29531 if (SWIG_arg_fail(2)) SWIG_fail
;
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 (arg1
)->UsePrimarySelection(arg2
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 Py_INCREF(Py_None
); resultobj
= Py_None
;
29548 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
;
29550 wxClipboard
*result
;
29551 char *kwnames
[] = {
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 result
= (wxClipboard
*)wxClipboard::Get();
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29570 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29573 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29575 return Py_BuildValue((char *)"");
29577 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29580 wxClipboardLocker
*result
;
29581 PyObject
* obj0
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "clipboard", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail
;
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29605 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 char *kwnames
[] = {
29610 (char *) "self", NULL
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29615 if (SWIG_arg_fail(1)) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 Py_INCREF(Py_None
); resultobj
= Py_None
;
29630 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "self", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29641 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29658 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29661 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29663 return Py_BuildValue((char *)"");
29665 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 int arg1
= (int) 0 ;
29668 int arg2
= (int) 0 ;
29669 int arg3
= (int) 0 ;
29670 int arg4
= (int) 0 ;
29671 wxVideoMode
*result
;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 PyObject
* obj2
= 0 ;
29675 PyObject
* obj3
= 0 ;
29676 char *kwnames
[] = {
29677 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
29680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29683 arg1
= (int)(SWIG_As_int(obj0
));
29684 if (SWIG_arg_fail(1)) SWIG_fail
;
29689 arg2
= (int)(SWIG_As_int(obj1
));
29690 if (SWIG_arg_fail(2)) SWIG_fail
;
29695 arg3
= (int)(SWIG_As_int(obj2
));
29696 if (SWIG_arg_fail(3)) SWIG_fail
;
29701 arg4
= (int)(SWIG_As_int(obj3
));
29702 if (SWIG_arg_fail(4)) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
29719 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 char *kwnames
[] = {
29724 (char *) "self", NULL
29727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
29728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29729 if (SWIG_arg_fail(1)) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 Py_INCREF(Py_None
); resultobj
= Py_None
;
29744 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29747 wxVideoMode
*arg2
= 0 ;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 char *kwnames
[] = {
29752 (char *) "self",(char *) "other", NULL
29755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
29756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29757 if (SWIG_arg_fail(1)) SWIG_fail
;
29759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29760 if (SWIG_arg_fail(2)) SWIG_fail
;
29761 if (arg2
== NULL
) {
29762 SWIG_null_ref("wxVideoMode");
29764 if (SWIG_arg_fail(2)) SWIG_fail
;
29767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29782 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29786 PyObject
* obj0
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
29792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29793 if (SWIG_arg_fail(1)) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= SWIG_From_int((int)(result
));
29810 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 char *kwnames
[] = {
29816 (char *) "self", NULL
29819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
29820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29821 if (SWIG_arg_fail(1)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_From_int((int)(result
));
29838 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29842 PyObject
* obj0
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "self", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
29848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29849 if (SWIG_arg_fail(1)) SWIG_fail
;
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_From_int((int)(result
));
29866 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
29876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29877 if (SWIG_arg_fail(1)) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29894 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29895 PyObject
*resultobj
;
29896 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29897 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
29899 PyObject
* obj0
= 0 ;
29900 PyObject
* obj1
= 0 ;
29901 char *kwnames
[] = {
29902 (char *) "self",(char *) "other", NULL
29905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
29906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29907 if (SWIG_arg_fail(1)) SWIG_fail
;
29908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29909 if (SWIG_arg_fail(2)) SWIG_fail
;
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29926 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
;
29928 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29929 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
29931 PyObject
* obj0
= 0 ;
29932 PyObject
* obj1
= 0 ;
29933 char *kwnames
[] = {
29934 (char *) "self",(char *) "other", NULL
29937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
29938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29939 if (SWIG_arg_fail(1)) SWIG_fail
;
29940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29941 if (SWIG_arg_fail(2)) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29958 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
;
29960 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self",(char *) "w", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
29969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29970 if (SWIG_arg_fail(1)) SWIG_fail
;
29972 arg2
= (int)(SWIG_As_int(obj1
));
29973 if (SWIG_arg_fail(2)) SWIG_fail
;
29975 if (arg1
) (arg1
)->w
= arg2
;
29977 Py_INCREF(Py_None
); resultobj
= Py_None
;
29984 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
;
29986 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29988 PyObject
* obj0
= 0 ;
29989 char *kwnames
[] = {
29990 (char *) "self", NULL
29993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
29994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29995 if (SWIG_arg_fail(1)) SWIG_fail
;
29996 result
= (int) ((arg1
)->w
);
29999 resultobj
= SWIG_From_int((int)(result
));
30007 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self",(char *) "h", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail
;
30021 arg2
= (int)(SWIG_As_int(obj1
));
30022 if (SWIG_arg_fail(2)) SWIG_fail
;
30024 if (arg1
) (arg1
)->h
= arg2
;
30026 Py_INCREF(Py_None
); resultobj
= Py_None
;
30033 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30037 PyObject
* obj0
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30044 if (SWIG_arg_fail(1)) SWIG_fail
;
30045 result
= (int) ((arg1
)->h
);
30048 resultobj
= SWIG_From_int((int)(result
));
30056 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30060 PyObject
* obj0
= 0 ;
30061 PyObject
* obj1
= 0 ;
30062 char *kwnames
[] = {
30063 (char *) "self",(char *) "bpp", NULL
30066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30068 if (SWIG_arg_fail(1)) SWIG_fail
;
30070 arg2
= (int)(SWIG_As_int(obj1
));
30071 if (SWIG_arg_fail(2)) SWIG_fail
;
30073 if (arg1
) (arg1
)->bpp
= arg2
;
30075 Py_INCREF(Py_None
); resultobj
= Py_None
;
30082 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 char *kwnames
[] = {
30088 (char *) "self", NULL
30091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30093 if (SWIG_arg_fail(1)) SWIG_fail
;
30094 result
= (int) ((arg1
)->bpp
);
30097 resultobj
= SWIG_From_int((int)(result
));
30105 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self",(char *) "refresh", NULL
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30117 if (SWIG_arg_fail(1)) SWIG_fail
;
30119 arg2
= (int)(SWIG_As_int(obj1
));
30120 if (SWIG_arg_fail(2)) SWIG_fail
;
30122 if (arg1
) (arg1
)->refresh
= arg2
;
30124 Py_INCREF(Py_None
); resultobj
= Py_None
;
30131 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 char *kwnames
[] = {
30137 (char *) "self", NULL
30140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30142 if (SWIG_arg_fail(1)) SWIG_fail
;
30143 result
= (int) ((arg1
)->refresh
);
30146 resultobj
= SWIG_From_int((int)(result
));
30154 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30157 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30159 return Py_BuildValue((char *)"");
30161 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30162 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30167 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30170 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30175 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 size_t arg1
= (size_t) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "index", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30187 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 result
= (wxDisplay
*)new wxDisplay(arg1
);
30195 wxPyEndAllowThreads(__tstate
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30205 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30215 if (SWIG_arg_fail(1)) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 Py_INCREF(Py_None
); resultobj
= Py_None
;
30230 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
;
30233 char *kwnames
[] = {
30237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (size_t)wxDisplay::GetCount();
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30254 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxPoint
*arg1
= 0 ;
30259 PyObject
* obj0
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "pt", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30267 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= SWIG_From_int((int)(result
));
30285 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxWindow
*arg1
= (wxWindow
*) 0 ;
30289 PyObject
* obj0
= 0 ;
30290 char *kwnames
[] = {
30291 (char *) "window", NULL
30294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30296 if (SWIG_arg_fail(1)) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= (int)Display_GetFromWindow(arg1
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_From_int((int)(result
));
30313 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30317 PyObject
* obj0
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30341 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30345 PyObject
* obj0
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30361 wxRect
* resultptr
;
30362 resultptr
= new wxRect((wxRect
&)(result
));
30363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30371 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "self", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 result
= ((wxDisplay
const *)arg1
)->GetName();
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30403 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30407 PyObject
* obj0
= 0 ;
30408 char *kwnames
[] = {
30409 (char *) "self", NULL
30412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30414 if (SWIG_arg_fail(1)) SWIG_fail
;
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30419 wxPyEndAllowThreads(__tstate
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30431 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30434 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30435 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self",(char *) "mode", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30449 if (SWIG_arg_fail(2)) SWIG_fail
;
30450 if (arg2
== NULL
) {
30451 SWIG_null_ref("wxVideoMode");
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= result
;
30470 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30473 wxVideoMode result
;
30474 PyObject
* obj0
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail
;
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30490 wxVideoMode
* resultptr
;
30491 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30500 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30503 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30504 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self",(char *) "mode", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail
;
30517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30518 if (SWIG_arg_fail(2)) SWIG_fail
;
30519 if (arg2
== NULL
) {
30520 SWIG_null_ref("wxVideoMode");
30522 if (SWIG_arg_fail(2)) SWIG_fail
;
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30541 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
;
30543 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30544 PyObject
* obj0
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30551 if (SWIG_arg_fail(1)) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 (arg1
)->ResetMode();
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 Py_INCREF(Py_None
); resultobj
= Py_None
;
30566 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30569 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30571 return Py_BuildValue((char *)"");
30573 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxStandardPaths
*result
;
30576 char *kwnames
[] = {
30580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= (wxStandardPaths
*)StandardPaths_Get();
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30595 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
;
30597 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 char *kwnames
[] = {
30601 (char *) "self", NULL
30604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30606 if (SWIG_arg_fail(1)) SWIG_fail
;
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30627 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
;
30629 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30631 PyObject
* obj0
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30659 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
;
30661 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30663 PyObject
* obj0
= 0 ;
30664 char *kwnames
[] = {
30665 (char *) "self", NULL
30668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30670 if (SWIG_arg_fail(1)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30691 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
30701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail
;
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30723 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
;
30725 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
30733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30734 if (SWIG_arg_fail(1)) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30755 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
;
30757 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30759 PyObject
* obj0
= 0 ;
30760 char *kwnames
[] = {
30761 (char *) "self", NULL
30764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
30765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30766 if (SWIG_arg_fail(1)) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30787 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30788 PyObject
*resultobj
;
30789 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
30797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30798 if (SWIG_arg_fail(1)) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30819 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30822 wxString
*arg2
= 0 ;
30823 bool temp2
= false ;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self",(char *) "prefix", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
30831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail
;
30834 arg2
= wxString_in_helper(obj1
);
30835 if (arg2
== NULL
) SWIG_fail
;
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30845 Py_INCREF(Py_None
); resultobj
= Py_None
;
30860 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
;
30862 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30864 PyObject
* obj0
= 0 ;
30865 char *kwnames
[] = {
30866 (char *) "self", NULL
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
30870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30871 if (SWIG_arg_fail(1)) SWIG_fail
;
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30892 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
30894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30895 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
30897 return Py_BuildValue((char *)"");
30899 static PyMethodDef SwigMethods
[] = {
30900 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
30907 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
30914 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
30978 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
30986 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31002 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31007 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31010 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31013 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31019 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31033 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31039 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31044 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31047 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31061 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31064 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31065 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31068 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31097 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31099 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31101 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31108 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31114 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31128 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31132 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31135 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31152 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31160 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31207 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31225 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31235 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31251 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31267 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31281 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31290 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31333 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31336 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31339 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31343 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31436 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31437 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31438 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31439 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
31440 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
31441 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
31442 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
31443 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
31444 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
31445 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31456 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31501 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31535 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31543 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31544 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31549 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31558 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31565 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31568 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31571 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31576 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31579 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31586 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31590 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
31591 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31595 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31599 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31601 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31611 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31630 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31638 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31652 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31656 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
31674 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
31688 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
31699 { NULL
, NULL
, 0, NULL
}
31703 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31705 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31706 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31708 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31709 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31711 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31712 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31714 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31715 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31717 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31718 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31720 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31721 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31723 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
31724 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
31726 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31727 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31729 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31732 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31733 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31735 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31736 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31738 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
31739 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
31741 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31742 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31744 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31747 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31748 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31750 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31751 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31753 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31754 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31756 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31757 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31759 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31760 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31762 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31763 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31765 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31766 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31768 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31769 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31771 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31774 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31775 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31777 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31778 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31780 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31781 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31783 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31784 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31786 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31787 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31789 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31790 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31792 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31795 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
31796 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
31798 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31799 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31801 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31802 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31804 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31807 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31808 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31810 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31811 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31813 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31814 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31816 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31817 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31819 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
31820 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
31822 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
31823 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
31825 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
31826 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31828 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
31829 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31831 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
31832 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
31834 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
31835 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31837 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
31838 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
31840 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
31841 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
31843 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
31844 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31846 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
31847 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
31849 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
31850 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31852 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
31853 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
31855 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
31856 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
31858 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
31859 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
31861 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
31862 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
31864 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
31865 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
31867 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
31868 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31870 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
31871 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
31873 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
31874 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31876 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
31877 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
31879 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
31880 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31882 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
31883 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
31885 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
31886 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
31888 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
31889 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
31891 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31892 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31894 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31895 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31897 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31900 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31901 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31903 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
31904 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
31906 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31907 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31909 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31910 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31912 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31915 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31916 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31918 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
31919 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
31921 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
31922 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
31924 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31927 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31930 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31933 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31936 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31939 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31942 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31945 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) ((wxSizer
*) x
));
31948 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31951 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
31954 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31957 static void *_p_wxEventTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) ((wxEvent
*) x
));
31960 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31963 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31966 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31969 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31972 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31975 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31978 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31981 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31984 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31987 static void *_p_wxControlTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31990 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31993 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
31996 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31999 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32002 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32005 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32008 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32011 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32014 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32017 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32020 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32023 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32026 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32029 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32032 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32035 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32038 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32041 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32044 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32047 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32050 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32053 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32056 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32059 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32062 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32065 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32068 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32071 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32074 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32077 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32080 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32083 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32086 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32089 static void *_p_wxImageTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) ((wxImage
*) x
));
32092 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32095 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32098 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32101 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32104 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32107 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32110 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32113 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32116 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32119 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32122 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32125 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32128 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32131 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32134 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32137 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32140 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32143 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32146 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32149 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32152 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32155 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32158 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32161 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32164 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32167 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32170 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32173 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32176 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32177 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32179 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32180 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32182 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32183 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32185 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32186 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32188 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32189 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32191 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32192 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32194 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32195 return (void *)((wxWindow
*) ((wxControl
*) x
));
32197 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32198 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32200 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32201 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32203 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32204 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32206 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32207 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32209 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}};
32210 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}};
32211 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}};
32212 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}};
32213 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}};
32214 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32215 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}};
32216 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}};
32217 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}};
32218 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}};
32219 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}};
32220 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}};
32221 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}};
32222 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}};
32223 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}};
32224 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}};
32225 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}};
32226 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}};
32227 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}};
32228 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}};
32229 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}};
32230 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}};
32231 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}};
32232 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}};
32233 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}};
32234 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}};
32235 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}};
32236 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}};
32237 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}};
32238 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}};
32239 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}};
32240 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}};
32241 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}};
32242 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}};
32243 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}};
32244 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}};
32245 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}};
32246 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}};
32247 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}};
32248 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}};
32249 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}};
32250 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}};
32251 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}};
32252 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}};
32253 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}};
32254 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}};
32255 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}};
32256 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}};
32257 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}};
32258 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}};
32259 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}};
32260 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}};
32261 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}};
32262 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}};
32263 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}};
32264 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}};
32265 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}};
32266 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}};
32267 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}};
32268 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}};
32269 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}};
32270 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}};
32271 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}};
32272 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}};
32273 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}};
32274 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}};
32275 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}};
32276 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}};
32277 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}};
32278 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}};
32279 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}};
32280 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}};
32281 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}};
32282 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}};
32283 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}};
32284 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}};
32285 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}};
32286 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}};
32287 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}};
32288 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}};
32289 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}};
32290 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}};
32291 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}};
32292 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}};
32293 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}};
32294 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}};
32295 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}};
32296 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}};
32297 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}};
32298 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}};
32299 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}};
32300 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}};
32301 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}};
32302 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}};
32303 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}};
32305 static swig_type_info
*swig_types_initial
[] = {
32306 _swigt__p_wxLogChain
,
32307 _swigt__p_wxMutexGuiLocker
,
32308 _swigt__p_wxFileHistory
,
32312 _swigt__p_wxDateTime__TimeZone
,
32313 _swigt__p_wxConfigBase
,
32314 _swigt__p_wxDisplay
,
32315 _swigt__p_wxFileType
,
32316 _swigt__p_wxLogGui
,
32318 _swigt__p_wxDataFormat
,
32319 _swigt__p_wxTimerEvent
,
32322 _swigt__std__ptrdiff_t
,
32325 _swigt__p_wxClipboard
,
32326 _swigt__p_wxStopWatch
,
32327 _swigt__p_wxClipboardLocker
,
32329 _swigt__p_wxLogStderr
,
32330 _swigt__p_wxLogTextCtrl
,
32331 _swigt__p_wxTextCtrl
,
32332 _swigt__p_wxBusyCursor
,
32333 _swigt__p_wxBitmapDataObject
,
32334 _swigt__p_wxTextDataObject
,
32335 _swigt__p_wxDataObject
,
32336 _swigt__p_wxPyTextDataObject
,
32337 _swigt__p_wxPyBitmapDataObject
,
32338 _swigt__p_wxFileDataObject
,
32339 _swigt__p_wxCustomDataObject
,
32340 _swigt__p_wxURLDataObject
,
32341 _swigt__p_wxMetafileDataObject
,
32343 _swigt__p_wxTimerRunner
,
32344 _swigt__p_wxLogWindow
,
32345 _swigt__p_wxTimeSpan
,
32346 _swigt__p_wxArrayString
,
32347 _swigt__p_wxWindowDisabler
,
32348 _swigt__p_form_ops_t
,
32349 _swigt__p_wxToolTip
,
32350 _swigt__p_wxDataObjectComposite
,
32351 _swigt__p_wxFileConfig
,
32352 _swigt__p_wxSystemSettings
,
32353 _swigt__p_wxVideoMode
,
32354 _swigt__p_wxDataObjectSimple
,
32355 _swigt__p_wxPyDataObjectSimple
,
32356 _swigt__p_wxDuplexMode
,
32357 _swigt__p_wxEvtHandler
,
32360 _swigt__p_wxSingleInstanceChecker
,
32361 _swigt__p_wxStandardPaths
,
32362 _swigt__p_wxFileTypeInfo
,
32365 _swigt__p_wxPaperSize
,
32366 _swigt__p_wxMimeTypesManager
,
32367 _swigt__p_wxPyArtProvider
,
32368 _swigt__p_wxPyTipProvider
,
32369 _swigt__p_wxTipProvider
,
32370 _swigt__p_wxJoystick
,
32371 _swigt__p_wxSystemOptions
,
32373 _swigt__p_wxJoystickEvent
,
32374 _swigt__p_wxCursor
,
32375 _swigt__p_wxObject
,
32376 _swigt__p_wxOutputStream
,
32377 _swigt__p_wxDateTime
,
32378 _swigt__p_wxPyDropSource
,
32379 _swigt__p_unsigned_long
,
32380 _swigt__p_wxKillError
,
32381 _swigt__p_wxWindow
,
32382 _swigt__p_wxString
,
32383 _swigt__p_wxPyProcess
,
32384 _swigt__p_wxBitmap
,
32385 _swigt__p_wxConfig
,
32386 _swigt__unsigned_int
,
32387 _swigt__p_unsigned_int
,
32388 _swigt__p_unsigned_char
,
32390 _swigt__p_wxBusyInfo
,
32391 _swigt__p_wxPyDropTarget
,
32392 _swigt__p_wxPyTextDropTarget
,
32393 _swigt__p_wxPyFileDropTarget
,
32394 _swigt__p_wxProcessEvent
,
32396 _swigt__p_wxLogNull
,
32397 _swigt__p_wxColour
,
32398 _swigt__p_wxPyTimer
,
32399 _swigt__p_wxConfigPathChanger
,
32400 _swigt__p_wxDateSpan
,
32405 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32407 static swig_const_info swig_const_table
[] = {
32408 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32409 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32410 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32411 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32412 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32413 {0, 0, 0, 0.0, 0, 0}};
32424 /* Python-specific SWIG API */
32425 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32426 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32427 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32429 /* -----------------------------------------------------------------------------
32430 * global variable support code.
32431 * ----------------------------------------------------------------------------- */
32433 typedef struct swig_globalvar
{
32434 char *name
; /* Name of global variable */
32435 PyObject
*(*get_attr
)(); /* Return the current value */
32436 int (*set_attr
)(PyObject
*); /* Set the value */
32437 struct swig_globalvar
*next
;
32440 typedef struct swig_varlinkobject
{
32442 swig_globalvar
*vars
;
32443 } swig_varlinkobject
;
32446 swig_varlink_repr(swig_varlinkobject
*v
) {
32448 return PyString_FromString("<Swig global variables>");
32452 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32453 swig_globalvar
*var
;
32455 fprintf(fp
,"Swig global variables { ");
32456 for (var
= v
->vars
; var
; var
=var
->next
) {
32457 fprintf(fp
,"%s", var
->name
);
32458 if (var
->next
) fprintf(fp
,", ");
32460 fprintf(fp
," }\n");
32465 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32466 swig_globalvar
*var
= v
->vars
;
32468 if (strcmp(var
->name
,n
) == 0) {
32469 return (*var
->get_attr
)();
32473 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32478 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32479 swig_globalvar
*var
= v
->vars
;
32481 if (strcmp(var
->name
,n
) == 0) {
32482 return (*var
->set_attr
)(p
);
32486 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32490 static PyTypeObject varlinktype
= {
32491 PyObject_HEAD_INIT(0)
32492 0, /* Number of items in variable part (ob_size) */
32493 (char *)"swigvarlink", /* Type name (tp_name) */
32494 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32495 0, /* Itemsize (tp_itemsize) */
32496 0, /* Deallocator (tp_dealloc) */
32497 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32498 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32499 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32500 0, /* tp_compare */
32501 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32502 0, /* tp_as_number */
32503 0, /* tp_as_sequence */
32504 0, /* tp_as_mapping */
32508 0, /* tp_getattro */
32509 0, /* tp_setattro */
32510 0, /* tp_as_buffer */
32513 #if PY_VERSION_HEX >= 0x02000000
32514 0, /* tp_traverse */
32517 #if PY_VERSION_HEX >= 0x02010000
32518 0, /* tp_richcompare */
32519 0, /* tp_weaklistoffset */
32521 #if PY_VERSION_HEX >= 0x02020000
32522 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32524 #if PY_VERSION_HEX >= 0x02030000
32527 #ifdef COUNT_ALLOCS
32528 0,0,0,0 /* tp_alloc -> tp_next */
32532 /* Create a variable linking object for use later */
32534 SWIG_Python_newvarlink(void) {
32535 swig_varlinkobject
*result
= 0;
32536 result
= PyMem_NEW(swig_varlinkobject
,1);
32537 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32538 result
->ob_type
= &varlinktype
;
32540 result
->ob_refcnt
= 0;
32541 Py_XINCREF((PyObject
*) result
);
32542 return ((PyObject
*) result
);
32546 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32547 swig_varlinkobject
*v
;
32548 swig_globalvar
*gv
;
32549 v
= (swig_varlinkobject
*) p
;
32550 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32551 gv
->name
= (char *) malloc(strlen(name
)+1);
32552 strcpy(gv
->name
,name
);
32553 gv
->get_attr
= get_attr
;
32554 gv
->set_attr
= set_attr
;
32555 gv
->next
= v
->vars
;
32559 /* -----------------------------------------------------------------------------
32560 * constants/methods manipulation
32561 * ----------------------------------------------------------------------------- */
32563 /* Install Constants */
32565 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32568 for (i
= 0; constants
[i
].type
; i
++) {
32569 switch(constants
[i
].type
) {
32571 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32573 case SWIG_PY_FLOAT
:
32574 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32576 case SWIG_PY_STRING
:
32577 if (constants
[i
].pvalue
) {
32578 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32580 Py_INCREF(Py_None
);
32584 case SWIG_PY_POINTER
:
32585 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32587 case SWIG_PY_BINARY
:
32588 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32595 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32601 /* -----------------------------------------------------------------------------*/
32602 /* Fix SwigMethods to carry the callback ptrs when needed */
32603 /* -----------------------------------------------------------------------------*/
32606 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32607 swig_const_info
*const_table
,
32608 swig_type_info
**types
,
32609 swig_type_info
**types_initial
) {
32611 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32612 char *c
= methods
[i
].ml_doc
;
32613 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32615 swig_const_info
*ci
= 0;
32616 char *name
= c
+ 10;
32617 for (j
= 0; const_table
[j
].type
; j
++) {
32618 if (strncmp(const_table
[j
].name
, name
,
32619 strlen(const_table
[j
].name
)) == 0) {
32620 ci
= &(const_table
[j
]);
32625 size_t shift
= (ci
->ptype
) - types
;
32626 swig_type_info
*ty
= types_initial
[shift
];
32627 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32628 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32629 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32631 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32632 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32634 strncpy(buff
, "swig_ptr: ", 10);
32636 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32637 methods
[i
].ml_doc
= ndoc
;
32643 /* -----------------------------------------------------------------------------*
32644 * Initialize type list
32645 * -----------------------------------------------------------------------------*/
32647 #if PY_MAJOR_VERSION < 2
32648 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32649 is copied out of Python/modsupport.c in python version 2.3.4 */
32651 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32654 if (!PyModule_Check(m
)) {
32655 PyErr_SetString(PyExc_TypeError
,
32656 "PyModule_AddObject() needs module as first arg");
32660 PyErr_SetString(PyExc_TypeError
,
32661 "PyModule_AddObject() needs non-NULL value");
32665 dict
= PyModule_GetDict(m
);
32666 if (dict
== NULL
) {
32667 /* Internal error -- modules must have a dict! */
32668 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
32669 PyModule_GetName(m
));
32672 if (PyDict_SetItemString(dict
, name
, o
))
32679 static swig_type_info
**
32680 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
32681 static PyMethodDef swig_empty_runtime_method_table
[] = {
32683 NULL
, NULL
, 0, NULL
32687 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
32688 swig_empty_runtime_method_table
);
32689 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
32690 if (pointer
&& module) {
32691 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
32693 return type_list_handle
;
32696 static swig_type_info
**
32697 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
32698 swig_type_info
**type_pointer
;
32700 /* first check if module already created */
32701 type_pointer
= SWIG_Python_GetTypeListHandle();
32702 if (type_pointer
) {
32703 return type_pointer
;
32705 /* create a new module and variable */
32706 return SWIG_Python_SetTypeListHandle(type_list_handle
);
32714 /* -----------------------------------------------------------------------------*
32715 * Partial Init method
32716 * -----------------------------------------------------------------------------*/
32718 #ifdef SWIG_LINK_RUNTIME
32722 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
32728 SWIGEXPORT(void) SWIG_init(void) {
32729 static PyObject
*SWIG_globals
= 0;
32730 static int typeinit
= 0;
32733 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32735 /* Fix SwigMethods to carry the callback ptrs when needed */
32736 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
32738 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32739 d
= PyModule_GetDict(m
);
32742 #ifdef SWIG_LINK_RUNTIME
32743 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
32745 # ifndef SWIG_STATIC_RUNTIME
32746 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
32749 for (i
= 0; swig_types_initial
[i
]; i
++) {
32750 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32754 SWIG_InstallConstants(d
,swig_const_table
);
32757 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
32760 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
32763 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
32766 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
32769 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
32772 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
32775 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
32778 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
32781 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
32784 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
32787 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
32790 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
32793 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
32796 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
32799 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
32802 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
32805 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
32808 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
32811 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
32814 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
32817 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
32820 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
32823 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
32826 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
32829 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
32832 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
32835 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
32838 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
32841 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
32844 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
32847 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
32850 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
32853 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
32856 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
32859 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
32862 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
32865 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
32868 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
32871 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
32874 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
32877 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
32880 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
32883 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
32886 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
32889 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
32892 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
32895 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
32898 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
32901 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
32904 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
32907 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
32910 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
32913 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
32916 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
32919 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
32922 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
32925 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
32928 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
32931 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
32934 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
32937 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
32940 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
32943 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
32946 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
32949 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
32952 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
32955 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
32958 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
32961 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
32964 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
32967 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
32970 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
32973 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
32976 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
32979 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
32982 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
32985 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
32988 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
32991 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
32994 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
32997 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33000 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33003 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33006 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33009 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33012 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33015 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33018 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33021 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33024 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33027 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33029 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33030 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33031 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33032 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33033 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33035 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33038 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33041 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33044 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33046 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33048 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33051 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33054 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33057 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33060 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33063 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33066 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33069 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33072 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33075 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33078 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33081 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33083 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33084 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33085 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33086 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33087 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33089 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33092 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33095 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33098 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33101 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33104 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33107 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33110 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33113 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33116 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33119 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33122 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33125 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33128 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33131 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33134 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33137 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33140 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33143 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33146 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33149 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33152 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33155 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33158 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33161 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33164 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33167 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33170 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33173 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33176 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33179 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33181 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33183 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33186 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33189 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33192 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33195 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33198 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33201 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33204 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33207 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33210 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33213 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33216 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33219 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33221 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33222 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33223 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33224 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33226 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33229 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33232 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33235 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33238 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33241 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33244 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33247 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33249 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33250 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33251 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33252 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33253 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33254 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33255 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33256 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33257 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33258 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33259 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33260 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33261 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33262 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33263 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33264 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33265 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33266 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33267 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33268 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33269 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33270 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33271 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33272 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33273 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33274 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33275 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33276 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33277 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33278 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33279 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33280 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33281 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33282 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33283 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33284 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33285 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33286 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33287 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33288 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33289 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33290 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33291 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33292 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33293 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33295 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33298 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33301 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33304 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33307 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33310 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33313 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33316 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33319 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33322 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33324 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get
, _wrap_DefaultDateTimeFormat_set
);
33325 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get
, _wrap_DefaultTimeSpanFormat_set
);
33327 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33330 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33333 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33336 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33339 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33342 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33345 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33348 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33351 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33354 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33357 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33360 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33363 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33366 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33369 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33372 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33375 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33378 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33381 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33384 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33387 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33390 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33393 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33396 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33399 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33402 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33405 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33408 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33411 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33414 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33417 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33420 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33423 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33426 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33429 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33432 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33435 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33438 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33441 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33444 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33447 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33450 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33453 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33456 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33459 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33462 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33465 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33468 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33471 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33474 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33477 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33480 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33483 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33486 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33489 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33492 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33495 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33498 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33501 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33504 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33507 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33510 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33513 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33516 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33519 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33522 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33525 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33528 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33531 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33534 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33537 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33540 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33543 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33546 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33549 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33552 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33555 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33558 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33561 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33564 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33567 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33570 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33573 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33576 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33579 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33582 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33585 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33588 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33591 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33594 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33597 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33600 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33603 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33606 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33609 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33612 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33615 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33618 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33621 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33624 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33627 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33630 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33633 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33636 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33639 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33642 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33645 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33648 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33651 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33654 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
33657 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
33660 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
33663 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
33666 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
33669 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
33672 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
33675 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
33678 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
33681 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
33684 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
33687 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
33690 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
33693 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
33696 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
33699 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
33702 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
33705 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
33708 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
33711 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
33714 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
33717 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
33720 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
33723 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
33726 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
33729 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
33732 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
33735 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
33738 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
33741 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
33744 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
33747 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
33750 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
33753 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
33756 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
33759 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
33762 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
33765 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
33768 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
33771 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
33774 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
33777 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
33780 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
33783 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
33786 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
33789 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
33791 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
33793 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
33796 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
33799 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
33802 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
33805 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
33808 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
33811 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
33814 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
33817 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
33820 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
33823 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
33826 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
33829 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
33832 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
33835 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
33838 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
33841 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
33844 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
33847 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
33850 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
33852 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
33854 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
33857 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
33860 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
33863 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
33866 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
33869 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
33872 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
33875 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
33878 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
33881 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
33884 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
33887 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
33890 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
33891 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
33892 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
33893 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
33895 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);