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>
2419 static const wxString
wxPyDateFormatStr(wxT("%c"));
2420 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
2422 #define LOCAL_TZ wxDateTime::Local
2425 #if UINT_MAX < LONG_MAX
2426 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2427 #define SWIG_From_unsigned_SS_int SWIG_From_long
2430 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2431 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2435 static wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2436 static wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2437 static wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
2438 static wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2439 static wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2440 static bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
2441 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
2442 return (*self
< *other
);
2444 static bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
2445 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
2446 return (*self
<= *other
);
2448 static bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
2449 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
2450 return (*self
> *other
);
2452 static bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
2453 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
2454 return (*self
>= *other
);
2456 static bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
2457 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
2458 return (*self
== *other
);
2460 static bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
2461 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
2462 return (*self
!= *other
);
2464 static int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
2466 const wxChar
* _date
= date
;
2467 rv
= self
->ParseRfc822Date(_date
);
2468 if (rv
== NULL
) return -1;
2471 static int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDateFormatStr
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
2473 const wxChar
* _date
= date
;
2474 rv
= self
->ParseFormat(_date
, format
, dateDef
);
2475 if (rv
== NULL
) return -1;
2478 static int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
2480 const wxChar
* _datetime
= datetime
;
2481 rv
= self
->ParseDateTime(_datetime
);
2482 if (rv
== NULL
) return -1;
2483 return rv
- _datetime
;
2485 static int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
2487 const wxChar
* _date
= date
;
2488 rv
= self
->ParseDate(_date
);
2489 if (rv
== NULL
) return -1;
2492 static int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
2494 const wxChar
* _time
= time
;
2495 rv
= self
->ParseTime(_time
);
2496 if (rv
== NULL
) return -1;
2499 static wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
2500 static wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
2501 static wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
2502 static wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
2503 static bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
2504 static bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
2505 static bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
2506 static bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
2507 static bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
2508 static bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2509 static wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
2510 static wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
2511 static wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
2512 static wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
2513 static bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
2514 static bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
2516 #include <wx/dataobj.h>
2518 static PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
2519 size_t count
= self
->GetFormatCount(dir
);
2520 wxDataFormat
* formats
= new wxDataFormat
[count
];
2521 self
->GetAllFormats(formats
, dir
);
2523 bool blocked
= wxPyBeginBlockThreads();
2524 PyObject
* list
= PyList_New(count
);
2525 for (size_t i
=0; i
<count
; i
++) {
2526 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
2527 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
2528 PyList_Append(list
, obj
);
2531 wxPyEndBlockThreads(blocked
);
2535 static PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
2536 PyObject
* rval
= NULL
;
2537 size_t size
= self
->GetDataSize(format
);
2538 bool blocked
= wxPyBeginBlockThreads();
2540 char* buf
= new char[size
];
2541 if (self
->GetDataHere(format
, buf
))
2542 rval
= PyString_FromStringAndSize(buf
, size
);
2549 wxPyEndBlockThreads(blocked
);
2552 static bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
2554 bool blocked
= wxPyBeginBlockThreads();
2555 if (PyString_Check(data
)) {
2556 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
2559 // raise a TypeError if not a string
2560 PyErr_SetString(PyExc_TypeError
, "String expected.");
2563 wxPyEndBlockThreads(blocked
);
2566 static PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
2567 PyObject
* rval
= NULL
;
2568 size_t size
= self
->GetDataSize();
2569 bool blocked
= wxPyBeginBlockThreads();
2571 char* buf
= new char[size
];
2572 if (self
->GetDataHere(buf
))
2573 rval
= PyString_FromStringAndSize(buf
, size
);
2580 wxPyEndBlockThreads(blocked
);
2583 static bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
2585 bool blocked
= wxPyBeginBlockThreads();
2586 if (PyString_Check(data
)) {
2587 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2590 // raise a TypeError if not a string
2591 PyErr_SetString(PyExc_TypeError
, "String expected.");
2594 wxPyEndBlockThreads(blocked
);
2597 // Create a new class for wxPython to use
2598 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
2600 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
2601 : wxDataObjectSimple(format
) {}
2603 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
2604 bool GetDataHere(void *buf
) const;
2605 bool SetData(size_t len
, const void *buf
) const;
2609 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
2611 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
2612 // We need to get the data for this object and write it to buf. I think
2613 // the best way to do this for wxPython is to have the Python method
2614 // return either a string or None and then act appropriately with the
2618 bool blocked
= wxPyBeginBlockThreads();
2619 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
2621 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2623 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
2625 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
2629 wxPyEndBlockThreads(blocked
);
2633 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
2634 // For this one we simply need to make a string from buf and len
2635 // and send it to the Python method.
2637 bool blocked
= wxPyBeginBlockThreads();
2638 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
2639 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
2640 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
2643 wxPyEndBlockThreads(blocked
);
2647 // Create a new class for wxPython to use
2648 class wxPyTextDataObject
: public wxTextDataObject
{
2650 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
2651 : wxTextDataObject(text
) {}
2653 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
2654 DEC_PYCALLBACK_STRING__const(GetText
);
2655 DEC_PYCALLBACK__STRING(SetText
);
2659 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
2660 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
2661 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
2664 // Create a new class for wxPython to use
2665 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
2667 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
2668 : wxBitmapDataObject(bitmap
) {}
2670 wxBitmap
GetBitmap() const;
2671 void SetBitmap(const wxBitmap
& bitmap
);
2675 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
2676 wxBitmap
* rval
= &wxNullBitmap
;
2677 bool blocked
= wxPyBeginBlockThreads();
2678 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
2681 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2683 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
2688 wxPyEndBlockThreads(blocked
);
2692 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
2693 bool blocked
= wxPyBeginBlockThreads();
2694 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
2695 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
2696 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
2699 wxPyEndBlockThreads(blocked
);
2702 static bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
2704 bool blocked
= wxPyBeginBlockThreads();
2705 if (PyString_Check(data
)) {
2706 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
2709 // raise a TypeError if not a string
2710 PyErr_SetString(PyExc_TypeError
, "String expected.");
2713 wxPyEndBlockThreads(blocked
);
2716 static PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
2718 bool blocked
= wxPyBeginBlockThreads();
2719 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
2720 wxPyEndBlockThreads(blocked
);
2724 class wxMetafileDataObject
: public wxDataObjectSimple
2727 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2731 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
2734 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
2735 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
2736 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
2737 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
2738 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
2741 class wxPyTextDropTarget
: public wxTextDropTarget
{
2743 wxPyTextDropTarget() {}
2745 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
2747 DEC_PYCALLBACK__(OnLeave
);
2748 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2749 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2750 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2751 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2756 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
2757 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
2758 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
2759 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
2760 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
2761 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
2765 class wxPyFileDropTarget
: public wxFileDropTarget
{
2767 wxPyFileDropTarget() {}
2769 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
2771 DEC_PYCALLBACK__(OnLeave
);
2772 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
2773 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
2774 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
2775 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
2780 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
2781 const wxArrayString
& filenames
) {
2783 bool blocked
= wxPyBeginBlockThreads();
2784 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
2785 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
2786 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
2789 wxPyEndBlockThreads(blocked
);
2795 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
2796 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
2797 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
2798 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
2799 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
2804 static bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
2806 #include <wx/display.h>
2808 static bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
2809 static bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
2811 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2813 #include <wx/dynarray.h>
2814 #include <wx/vidmode.h>
2816 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
2817 #include "wx/arrimpl.cpp"
2818 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
2819 const wxVideoMode wxDefaultVideoMode
;
2824 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
2827 static size_t GetCount()
2828 { wxPyRaiseNotImplemented(); return 0; }
2830 static int GetFromPoint(const wxPoint
& pt
)
2831 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2832 static int GetFromWindow(wxWindow
*window
)
2833 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2835 virtual bool IsOk() const { return false; }
2836 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
2837 virtual wxString
GetName() const { return wxEmptyString
; }
2838 bool IsPrimary() const { return false; }
2840 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2841 { wxArrayVideoModes a
; return a
; }
2843 virtual wxVideoMode
GetCurrentMode() const
2844 { return wxDefaultVideoMode
; }
2846 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
2853 static int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
2854 static PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
2855 PyObject
* pyList
= NULL
;
2856 wxArrayVideoModes arr
= self
->GetModes(mode
);
2857 bool blocked
= wxPyBeginBlockThreads();
2858 pyList
= PyList_New(0);
2859 for (int i
=0; i
< arr
.GetCount(); i
++) {
2860 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
2861 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
2862 PyList_Append(pyList
, pyObj
);
2865 wxPyEndBlockThreads(blocked
);
2869 #include <wx/stdpaths.h>
2871 static wxStandardPaths
*StandardPaths_Get(){
2872 return (wxStandardPaths
*) &wxStandardPaths::Get();
2877 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxSystemColour arg1
;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "index", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
2888 arg1
= (wxSystemColour
)(SWIG_As_int(obj0
));
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2892 if (!wxPyCheckForApp()) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2900 wxColour
* resultptr
;
2901 resultptr
= new wxColour((wxColour
&)(result
));
2902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2910 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2914 PyObject
* obj0
= 0 ;
2916 (char *) "index", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
2921 arg1
= (wxSystemFont
)(SWIG_As_int(obj0
));
2922 if (SWIG_arg_fail(1)) SWIG_fail
;
2925 if (!wxPyCheckForApp()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2934 resultptr
= new wxFont((wxFont
&)(result
));
2935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
2943 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxSystemMetric arg1
;
2947 PyObject
* obj0
= 0 ;
2949 (char *) "index", NULL
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
2954 arg1
= (wxSystemMetric
)(SWIG_As_int(obj0
));
2955 if (SWIG_arg_fail(1)) SWIG_fail
;
2958 if (!wxPyCheckForApp()) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= SWIG_From_int((int)(result
));
2974 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxSystemFeature arg1
;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "index", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
2985 arg1
= (wxSystemFeature
)(SWIG_As_int(obj0
));
2986 if (SWIG_arg_fail(1)) SWIG_fail
;
2989 if (!wxPyCheckForApp()) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3005 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxSystemScreenType result
;
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
3014 if (!wxPyCheckForApp()) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= SWIG_From_int((result
));
3028 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxSystemScreenType arg1
;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "screen", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
3038 arg1
= (wxSystemScreenType
)(SWIG_As_int(obj0
));
3039 if (SWIG_arg_fail(1)) SWIG_fail
;
3042 if (!wxPyCheckForApp()) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 Py_INCREF(Py_None
); resultobj
= Py_None
;
3056 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
3058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3059 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
3061 return Py_BuildValue((char *)"");
3063 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
3064 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3069 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3074 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3076 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
3083 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxSystemOptions
*result
;
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 result
= (wxSystemOptions
*)new wxSystemOptions();
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) SWIG_fail
;
3098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
3105 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3107 wxString
*arg1
= 0 ;
3108 wxString
*arg2
= 0 ;
3109 bool temp1
= false ;
3110 bool temp2
= false ;
3111 PyObject
* obj0
= 0 ;
3112 PyObject
* obj1
= 0 ;
3114 (char *) "name",(char *) "value", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
3119 arg1
= wxString_in_helper(obj0
);
3120 if (arg1
== NULL
) SWIG_fail
;
3124 arg2
= wxString_in_helper(obj1
);
3125 if (arg2
== NULL
) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3135 Py_INCREF(Py_None
); resultobj
= Py_None
;
3158 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxString
*arg1
= 0 ;
3162 bool temp1
= false ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "name",(char *) "value", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
3171 arg1
= wxString_in_helper(obj0
);
3172 if (arg1
== NULL
) SWIG_fail
;
3176 arg2
= (int)(SWIG_As_int(obj1
));
3177 if (SWIG_arg_fail(2)) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxString
*arg1
= 0 ;
3205 bool temp1
= false ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "name", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
3213 arg1
= wxString_in_helper(obj0
);
3214 if (arg1
== NULL
) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3245 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxString
*arg1
= 0 ;
3249 bool temp1
= false ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "name", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
3257 arg1
= wxString_in_helper(obj0
);
3258 if (arg1
== NULL
) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= SWIG_From_int((int)(result
));
3285 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxString
*arg1
= 0 ;
3289 bool temp1
= false ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "name", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
3297 arg1
= wxString_in_helper(obj0
);
3298 if (arg1
== NULL
) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3325 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
3327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3328 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
3330 return Py_BuildValue((char *)"");
3332 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
3333 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
3338 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
3343 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3345 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
3352 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
3353 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
3358 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
3363 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3365 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
3372 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
3373 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
3378 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
3383 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3385 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
3392 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (long)wxNewId();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_From_long((long)(result
));
3416 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3419 PyObject
* obj0
= 0 ;
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
3426 arg1
= (long)(SWIG_As_long(obj0
));
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3443 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 result
= (long)wxGetCurrentId();
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= SWIG_From_long((long)(result
));
3467 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3471 PyObject
* obj0
= 0 ;
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
3478 arg1
= (int)(SWIG_As_int(obj0
));
3479 if (SWIG_arg_fail(1)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (bool)wxIsStockID(arg1
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3497 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3500 wxString
*arg2
= 0 ;
3502 bool temp2
= false ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3506 (char *) "id",(char *) "label", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3511 arg1
= (int)(SWIG_As_int(obj0
));
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 arg2
= wxString_in_helper(obj1
);
3516 if (arg2
== NULL
) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3543 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3547 PyObject
* obj0
= 0 ;
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
3554 arg1
= (int)(SWIG_As_int(obj0
));
3555 if (SWIG_arg_fail(1)) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= wxGetStockLabel(arg1
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3577 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
3585 if (!wxPyCheckForApp()) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 Py_INCREF(Py_None
); resultobj
= Py_None
;
3599 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
3607 if (!wxPyCheckForApp()) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 Py_INCREF(Py_None
); resultobj
= Py_None
;
3621 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 bool arg1
= (bool) true ;
3625 PyObject
* obj0
= 0 ;
3627 (char *) "resetTimer", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
3633 arg1
= (bool)(SWIG_As_bool(obj0
));
3634 if (SWIG_arg_fail(1)) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 result
= (long)wxGetElapsedTime(arg1
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3645 resultobj
= SWIG_From_long((long)(result
));
3653 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 int *arg1
= (int *) 0 ;
3656 int *arg2
= (int *) 0 ;
3665 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3666 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
3669 if (!wxPyCheckForApp()) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 wxGetMousePosition(arg1
,arg2
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3678 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3679 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3680 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3687 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= (bool)wxIsBusy();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3711 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3739 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3742 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3744 bool temp1
= false ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "command", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
3753 arg1
= wxString_in_helper(obj0
);
3754 if (arg1
== NULL
) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (bool)wxShell((wxString
const &)*arg1
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3782 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 int *arg1
= (int *) 0 ;
3806 int *arg2
= (int *) 0 ;
3816 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
3817 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (int)wxGetOsVersion(arg1
,arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_From_int((int)(result
));
3829 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
3830 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
3831 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3832 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3839 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= wxGetOsDescription();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3867 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (long)wxGetFreeMemory();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= SWIG_From_long((long)(result
));
3891 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxShutdownFlags arg1
;
3895 PyObject
* obj0
= 0 ;
3897 (char *) "wFlags", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
3902 arg1
= (wxShutdownFlags
)(SWIG_As_int(obj0
));
3903 if (SWIG_arg_fail(1)) SWIG_fail
;
3906 if (!wxPyCheckForApp()) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3922 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3925 PyObject
* obj0
= 0 ;
3927 (char *) "secs", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
3932 arg1
= (int)(SWIG_As_int(obj0
));
3933 if (SWIG_arg_fail(1)) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 Py_INCREF(Py_None
); resultobj
= Py_None
;
3949 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 unsigned long arg1
;
3952 PyObject
* obj0
= 0 ;
3954 (char *) "milliseconds", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
3959 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3960 if (SWIG_arg_fail(1)) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 Py_INCREF(Py_None
); resultobj
= Py_None
;
3976 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 unsigned long arg1
;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "microseconds", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
3986 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
3987 if (SWIG_arg_fail(1)) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 Py_INCREF(Py_None
); resultobj
= Py_None
;
4003 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4006 PyObject
* obj0
= 0 ;
4008 (char *) "enable", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
4013 arg1
= (bool)(SWIG_As_bool(obj0
));
4014 if (SWIG_arg_fail(1)) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 wxEnableTopLevelWindows(arg1
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 Py_INCREF(Py_None
); resultobj
= Py_None
;
4030 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4032 wxString
*arg1
= 0 ;
4034 bool temp1
= false ;
4035 PyObject
* obj0
= 0 ;
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
4042 arg1
= wxString_in_helper(obj0
);
4043 if (arg1
== NULL
) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= wxStripMenuCodes((wxString
const &)*arg1
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4074 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= wxGetEmailAddress();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4102 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= wxGetHostName();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4130 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= wxGetFullHostName();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4158 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= wxGetUserId();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4186 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= wxGetUserName();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4214 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= wxGetHomeDir();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4242 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4245 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4247 bool temp1
= false ;
4248 PyObject
* obj0
= 0 ;
4250 (char *) "user", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
4256 arg1
= wxString_in_helper(obj0
);
4257 if (arg1
== NULL
) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= wxGetUserHome((wxString
const &)*arg1
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4289 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 unsigned long result
;
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (unsigned long)wxGetProcessId();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4313 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
4337 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4338 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4339 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4340 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4341 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4342 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4343 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4344 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
4345 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4346 int arg6
= (int) 0 ;
4347 wxWindow
*arg7
= (wxWindow
*) NULL
;
4348 int arg8
= (int) -1 ;
4349 int arg9
= (int) -1 ;
4351 bool temp1
= false ;
4352 bool temp2
= false ;
4353 bool temp3
= false ;
4354 bool temp4
= false ;
4355 bool temp5
= false ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 PyObject
* obj3
= 0 ;
4360 PyObject
* obj4
= 0 ;
4361 PyObject
* obj5
= 0 ;
4362 PyObject
* obj6
= 0 ;
4363 PyObject
* obj7
= 0 ;
4364 PyObject
* obj8
= 0 ;
4366 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4372 arg1
= wxString_in_helper(obj0
);
4373 if (arg1
== NULL
) SWIG_fail
;
4379 arg2
= wxString_in_helper(obj1
);
4380 if (arg2
== NULL
) SWIG_fail
;
4386 arg3
= wxString_in_helper(obj2
);
4387 if (arg3
== NULL
) SWIG_fail
;
4393 arg4
= wxString_in_helper(obj3
);
4394 if (arg4
== NULL
) SWIG_fail
;
4400 arg5
= wxString_in_helper(obj4
);
4401 if (arg5
== NULL
) SWIG_fail
;
4407 arg6
= (int)(SWIG_As_int(obj5
));
4408 if (SWIG_arg_fail(6)) SWIG_fail
;
4412 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(7)) SWIG_fail
;
4417 arg8
= (int)(SWIG_As_int(obj7
));
4418 if (SWIG_arg_fail(8)) SWIG_fail
;
4423 arg9
= (int)(SWIG_As_int(obj8
));
4424 if (SWIG_arg_fail(9)) SWIG_fail
;
4428 if (!wxPyCheckForApp()) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4488 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxString
*arg1
= 0 ;
4491 wxString
*arg2
= 0 ;
4492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4494 wxWindow
*arg4
= (wxWindow
*) NULL
;
4496 bool temp1
= false ;
4497 bool temp2
= false ;
4498 bool temp3
= false ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4501 PyObject
* obj2
= 0 ;
4502 PyObject
* obj3
= 0 ;
4504 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4509 arg1
= wxString_in_helper(obj0
);
4510 if (arg1
== NULL
) SWIG_fail
;
4514 arg2
= wxString_in_helper(obj1
);
4515 if (arg2
== NULL
) SWIG_fail
;
4520 arg3
= wxString_in_helper(obj2
);
4521 if (arg3
== NULL
) SWIG_fail
;
4526 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4527 if (SWIG_arg_fail(4)) SWIG_fail
;
4530 if (!wxPyCheckForApp()) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4574 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
;
4576 wxString
*arg1
= 0 ;
4577 wxString
*arg2
= 0 ;
4578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4580 wxWindow
*arg4
= (wxWindow
*) NULL
;
4582 bool temp1
= false ;
4583 bool temp2
= false ;
4584 bool temp3
= false ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 PyObject
* obj3
= 0 ;
4590 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4595 arg1
= wxString_in_helper(obj0
);
4596 if (arg1
== NULL
) SWIG_fail
;
4600 arg2
= wxString_in_helper(obj1
);
4601 if (arg2
== NULL
) SWIG_fail
;
4606 arg3
= wxString_in_helper(obj2
);
4607 if (arg3
== NULL
) SWIG_fail
;
4612 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4613 if (SWIG_arg_fail(4)) SWIG_fail
;
4616 if (!wxPyCheckForApp()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4660 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
4663 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4664 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4665 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4666 long arg3
= (long) wxDD_DEFAULT_STYLE
;
4667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4669 wxWindow
*arg5
= (wxWindow
*) NULL
;
4671 bool temp1
= false ;
4672 bool temp2
= false ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 PyObject
* obj2
= 0 ;
4677 PyObject
* obj3
= 0 ;
4678 PyObject
* obj4
= 0 ;
4680 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4686 arg1
= wxString_in_helper(obj0
);
4687 if (arg1
== NULL
) SWIG_fail
;
4693 arg2
= wxString_in_helper(obj1
);
4694 if (arg2
== NULL
) SWIG_fail
;
4700 arg3
= (long)(SWIG_As_long(obj2
));
4701 if (SWIG_arg_fail(3)) SWIG_fail
;
4707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4711 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4712 if (SWIG_arg_fail(5)) SWIG_fail
;
4715 if (!wxPyCheckForApp()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4751 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxString
*arg1
= 0 ;
4754 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4755 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4758 wxWindow
*arg4
= (wxWindow
*) NULL
;
4759 int arg5
= (int) -1 ;
4760 int arg6
= (int) -1 ;
4761 bool arg7
= (bool) true ;
4763 bool temp1
= false ;
4764 bool temp2
= false ;
4765 bool temp3
= false ;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 PyObject
* obj3
= 0 ;
4770 PyObject
* obj4
= 0 ;
4771 PyObject
* obj5
= 0 ;
4772 PyObject
* obj6
= 0 ;
4774 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4779 arg1
= wxString_in_helper(obj0
);
4780 if (arg1
== NULL
) SWIG_fail
;
4785 arg2
= wxString_in_helper(obj1
);
4786 if (arg2
== NULL
) SWIG_fail
;
4792 arg3
= wxString_in_helper(obj2
);
4793 if (arg3
== NULL
) SWIG_fail
;
4798 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4799 if (SWIG_arg_fail(4)) SWIG_fail
;
4803 arg5
= (int)(SWIG_As_int(obj4
));
4804 if (SWIG_arg_fail(5)) SWIG_fail
;
4809 arg6
= (int)(SWIG_As_int(obj5
));
4810 if (SWIG_arg_fail(6)) SWIG_fail
;
4815 arg7
= (bool)(SWIG_As_bool(obj6
));
4816 if (SWIG_arg_fail(7)) SWIG_fail
;
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4864 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxString
*arg1
= 0 ;
4867 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4868 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4871 wxWindow
*arg4
= (wxWindow
*) NULL
;
4873 bool temp1
= false ;
4874 bool temp2
= false ;
4875 bool temp3
= false ;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 PyObject
* obj3
= 0 ;
4881 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4886 arg1
= wxString_in_helper(obj0
);
4887 if (arg1
== NULL
) SWIG_fail
;
4892 arg2
= wxString_in_helper(obj1
);
4893 if (arg2
== NULL
) SWIG_fail
;
4899 arg3
= wxString_in_helper(obj2
);
4900 if (arg3
== NULL
) SWIG_fail
;
4905 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4906 if (SWIG_arg_fail(4)) SWIG_fail
;
4909 if (!wxPyCheckForApp()) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4953 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxString
*arg1
= 0 ;
4956 wxString
*arg2
= 0 ;
4958 wxString
*arg4
= (wxString
*) 0 ;
4959 wxWindow
*arg5
= (wxWindow
*) NULL
;
4960 int arg6
= (int) -1 ;
4961 int arg7
= (int) -1 ;
4962 bool arg8
= (bool) true ;
4963 int arg9
= (int) 150 ;
4964 int arg10
= (int) 200 ;
4966 bool temp1
= false ;
4967 bool temp2
= false ;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4970 PyObject
* obj2
= 0 ;
4971 PyObject
* obj3
= 0 ;
4972 PyObject
* obj4
= 0 ;
4973 PyObject
* obj5
= 0 ;
4974 PyObject
* obj6
= 0 ;
4975 PyObject
* obj7
= 0 ;
4976 PyObject
* obj8
= 0 ;
4978 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4983 arg1
= wxString_in_helper(obj0
);
4984 if (arg1
== NULL
) SWIG_fail
;
4988 arg2
= wxString_in_helper(obj1
);
4989 if (arg2
== NULL
) SWIG_fail
;
4993 arg3
= PyList_Size(obj2
);
4994 arg4
= wxString_LIST_helper(obj2
);
4995 if (arg4
== NULL
) SWIG_fail
;
4998 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4999 if (SWIG_arg_fail(5)) SWIG_fail
;
5003 arg6
= (int)(SWIG_As_int(obj4
));
5004 if (SWIG_arg_fail(6)) SWIG_fail
;
5009 arg7
= (int)(SWIG_As_int(obj5
));
5010 if (SWIG_arg_fail(7)) SWIG_fail
;
5015 arg8
= (bool)(SWIG_As_bool(obj6
));
5016 if (SWIG_arg_fail(8)) SWIG_fail
;
5021 arg9
= (int)(SWIG_As_int(obj7
));
5022 if (SWIG_arg_fail(9)) SWIG_fail
;
5027 arg10
= (int)(SWIG_As_int(obj8
));
5028 if (SWIG_arg_fail(10)) SWIG_fail
;
5032 if (!wxPyCheckForApp()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5055 if (arg4
) delete [] arg4
;
5068 if (arg4
) delete [] arg4
;
5074 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxString
*arg1
= 0 ;
5077 wxString
*arg2
= 0 ;
5079 wxString
*arg4
= (wxString
*) 0 ;
5080 wxWindow
*arg5
= (wxWindow
*) NULL
;
5081 int arg6
= (int) -1 ;
5082 int arg7
= (int) -1 ;
5083 bool arg8
= (bool) true ;
5084 int arg9
= (int) 150 ;
5085 int arg10
= (int) 200 ;
5087 bool temp1
= false ;
5088 bool temp2
= false ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5091 PyObject
* obj2
= 0 ;
5092 PyObject
* obj3
= 0 ;
5093 PyObject
* obj4
= 0 ;
5094 PyObject
* obj5
= 0 ;
5095 PyObject
* obj6
= 0 ;
5096 PyObject
* obj7
= 0 ;
5097 PyObject
* obj8
= 0 ;
5099 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5104 arg1
= wxString_in_helper(obj0
);
5105 if (arg1
== NULL
) SWIG_fail
;
5109 arg2
= wxString_in_helper(obj1
);
5110 if (arg2
== NULL
) SWIG_fail
;
5114 arg3
= PyList_Size(obj2
);
5115 arg4
= wxString_LIST_helper(obj2
);
5116 if (arg4
== NULL
) SWIG_fail
;
5119 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5120 if (SWIG_arg_fail(5)) SWIG_fail
;
5124 arg6
= (int)(SWIG_As_int(obj4
));
5125 if (SWIG_arg_fail(6)) SWIG_fail
;
5130 arg7
= (int)(SWIG_As_int(obj5
));
5131 if (SWIG_arg_fail(7)) SWIG_fail
;
5136 arg8
= (bool)(SWIG_As_bool(obj6
));
5137 if (SWIG_arg_fail(8)) SWIG_fail
;
5142 arg9
= (int)(SWIG_As_int(obj7
));
5143 if (SWIG_arg_fail(9)) SWIG_fail
;
5148 arg10
= (int)(SWIG_As_int(obj8
));
5149 if (SWIG_arg_fail(10)) SWIG_fail
;
5153 if (!wxPyCheckForApp()) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_From_int((int)(result
));
5172 if (arg4
) delete [] arg4
;
5185 if (arg4
) delete [] arg4
;
5191 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxString
*arg1
= 0 ;
5194 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5195 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5196 int arg3
= (int) wxOK
|wxCENTRE
;
5197 wxWindow
*arg4
= (wxWindow
*) NULL
;
5198 int arg5
= (int) -1 ;
5199 int arg6
= (int) -1 ;
5201 bool temp1
= false ;
5202 bool temp2
= false ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 PyObject
* obj2
= 0 ;
5206 PyObject
* obj3
= 0 ;
5207 PyObject
* obj4
= 0 ;
5208 PyObject
* obj5
= 0 ;
5210 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5215 arg1
= wxString_in_helper(obj0
);
5216 if (arg1
== NULL
) SWIG_fail
;
5221 arg2
= wxString_in_helper(obj1
);
5222 if (arg2
== NULL
) SWIG_fail
;
5228 arg3
= (int)(SWIG_As_int(obj2
));
5229 if (SWIG_arg_fail(3)) SWIG_fail
;
5233 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5234 if (SWIG_arg_fail(4)) SWIG_fail
;
5238 arg5
= (int)(SWIG_As_int(obj4
));
5239 if (SWIG_arg_fail(5)) SWIG_fail
;
5244 arg6
= (int)(SWIG_As_int(obj5
));
5245 if (SWIG_arg_fail(6)) SWIG_fail
;
5249 if (!wxPyCheckForApp()) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_From_int((int)(result
));
5281 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxString
*arg1
= 0 ;
5284 wxString
*arg2
= 0 ;
5285 wxString
*arg3
= 0 ;
5287 long arg5
= (long) 0 ;
5288 long arg6
= (long) 100 ;
5289 wxWindow
*arg7
= (wxWindow
*) NULL
;
5290 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
5291 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
5293 bool temp1
= false ;
5294 bool temp2
= false ;
5295 bool temp3
= false ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 PyObject
* obj2
= 0 ;
5300 PyObject
* obj3
= 0 ;
5301 PyObject
* obj4
= 0 ;
5302 PyObject
* obj5
= 0 ;
5303 PyObject
* obj6
= 0 ;
5304 PyObject
* obj7
= 0 ;
5306 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5311 arg1
= wxString_in_helper(obj0
);
5312 if (arg1
== NULL
) SWIG_fail
;
5316 arg2
= wxString_in_helper(obj1
);
5317 if (arg2
== NULL
) SWIG_fail
;
5321 arg3
= wxString_in_helper(obj2
);
5322 if (arg3
== NULL
) SWIG_fail
;
5326 arg4
= (long)(SWIG_As_long(obj3
));
5327 if (SWIG_arg_fail(4)) SWIG_fail
;
5331 arg5
= (long)(SWIG_As_long(obj4
));
5332 if (SWIG_arg_fail(5)) SWIG_fail
;
5337 arg6
= (long)(SWIG_As_long(obj5
));
5338 if (SWIG_arg_fail(6)) SWIG_fail
;
5342 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(7)) SWIG_fail
;
5348 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
5352 if (!wxPyCheckForApp()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_From_long((long)(result
));
5392 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
5401 if (!wxPyCheckForApp()) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (bool)wxColourDisplay();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5417 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
5426 if (!wxPyCheckForApp()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (int)wxDisplayDepth();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_From_int((int)(result
));
5442 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
5451 if (!wxPyCheckForApp()) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (int)wxGetDisplayDepth();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_From_int((int)(result
));
5467 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 int *arg1
= (int *) 0 ;
5470 int *arg2
= (int *) 0 ;
5479 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5480 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
5483 if (!wxPyCheckForApp()) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 wxDisplaySize(arg1
,arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5492 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5493 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5494 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5501 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
5510 if (!wxPyCheckForApp()) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= wxGetDisplaySize();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5519 resultptr
= new wxSize((wxSize
&)(result
));
5520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5528 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 int *arg1
= (int *) 0 ;
5531 int *arg2
= (int *) 0 ;
5540 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5541 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
5544 if (!wxPyCheckForApp()) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxDisplaySizeMM(arg1
,arg2
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 Py_INCREF(Py_None
); resultobj
= Py_None
;
5552 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5553 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5554 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5555 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5562 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
5571 if (!wxPyCheckForApp()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= wxGetDisplaySizeMM();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5580 resultptr
= new wxSize((wxSize
&)(result
));
5581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5589 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 int *arg1
= (int *) 0 ;
5592 int *arg2
= (int *) 0 ;
5593 int *arg3
= (int *) 0 ;
5594 int *arg4
= (int *) 0 ;
5607 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
5608 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5609 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5610 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
5613 if (!wxPyCheckForApp()) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
5622 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
5623 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5624 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5625 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5626 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5627 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
5628 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
5635 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
5644 if (!wxPyCheckForApp()) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= wxGetClientDisplayRect();
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5653 resultptr
= new wxRect((wxRect
&)(result
));
5654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5662 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxCursor
*arg1
= 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "cursor", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
5672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail
;
5675 SWIG_null_ref("wxCursor");
5677 if (SWIG_arg_fail(1)) SWIG_fail
;
5680 if (!wxPyCheckForApp()) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 Py_INCREF(Py_None
); resultobj
= Py_None
;
5694 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
;
5696 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "cursor", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
5704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
5705 if (SWIG_arg_fail(1)) SWIG_fail
;
5708 if (!wxPyCheckForApp()) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 wxBeginBusyCursor(arg1
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 Py_INCREF(Py_None
); resultobj
= Py_None
;
5722 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
5731 if (!wxPyCheckForApp()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (wxWindow
*)wxGetActiveWindow();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= wxPyMake_wxObject(result
, 0);
5747 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5752 PyObject
* obj0
= 0 ;
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5760 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5763 if (!wxPyCheckForApp()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 resultobj
= wxPyMake_wxObject(result
, 0);
5779 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5784 PyObject
* obj0
= 0 ;
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
5792 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5795 if (!wxPyCheckForApp()) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= wxPyMake_wxObject(result
, 0);
5811 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxWindow
*arg1
= (wxWindow
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "win", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
5821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5822 if (SWIG_arg_fail(1)) SWIG_fail
;
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= wxPyMake_wxObject(result
, 0);
5840 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "key", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
5851 arg1
= (wxKeyCode
)(SWIG_As_int(obj0
));
5852 if (SWIG_arg_fail(1)) SWIG_fail
;
5855 if (!wxPyCheckForApp()) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
5879 if (!wxPyCheckForApp()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxWakeUpMainThread();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
5901 if (!wxPyCheckForApp()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 Py_INCREF(Py_None
); resultobj
= Py_None
;
5915 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
5923 if (!wxPyCheckForApp()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 Py_INCREF(Py_None
); resultobj
= Py_None
;
5937 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxMutexGuiLocker
*result
;
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
5946 if (!wxPyCheckForApp()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
5960 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5965 (char *) "self", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
5969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_EXCEPTION
| 0);
5970 if (SWIG_arg_fail(1)) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
5987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5988 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
5990 return Py_BuildValue((char *)"");
5992 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (bool)wxThread_IsMain();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6016 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxString
*arg1
= 0 ;
6020 bool temp1
= false ;
6021 PyObject
* obj0
= 0 ;
6023 (char *) "tip", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
6028 arg1
= wxString_in_helper(obj0
);
6029 if (arg1
== NULL
) SWIG_fail
;
6033 if (!wxPyCheckForApp()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= wxPyMake_wxObject(result
, 1);
6057 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6060 wxString
*arg2
= 0 ;
6061 bool temp2
= false ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6065 (char *) "self",(char *) "tip", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail
;
6072 arg2
= wxString_in_helper(obj1
);
6073 if (arg2
== NULL
) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 (arg1
)->SetTip((wxString
const &)*arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
6108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (arg1
)->GetTip();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6130 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
6140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
6141 if (SWIG_arg_fail(1)) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (wxWindow
*)(arg1
)->GetWindow();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= wxPyMake_wxObject(result
, 0);
6158 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "flag", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
6168 arg1
= (bool)(SWIG_As_bool(obj0
));
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 wxToolTip::Enable(arg1
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 Py_INCREF(Py_None
); resultobj
= Py_None
;
6185 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "milliseconds", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
6195 arg1
= (long)(SWIG_As_long(obj0
));
6196 if (SWIG_arg_fail(1)) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 wxToolTip::SetDelay(arg1
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
6214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6215 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
6217 return Py_BuildValue((char *)"");
6219 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxWindow
*arg1
= (wxWindow
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "window",(char *) "size", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6233 if (SWIG_arg_fail(1)) SWIG_fail
;
6236 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6239 if (!wxPyCheckForApp()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
6253 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxCaret
*arg1
= (wxCaret
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "self", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
6262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6263 if (SWIG_arg_fail(1)) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 Py_INCREF(Py_None
); resultobj
= Py_None
;
6278 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxCaret
*arg1
= (wxCaret
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
6288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)(arg1
)->IsOk();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6306 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxCaret
*arg1
= (wxCaret
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6312 (char *) "self", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
6316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6317 if (SWIG_arg_fail(1)) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (bool)(arg1
)->IsVisible();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6334 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxCaret
*arg1
= (wxCaret
*) 0 ;
6338 PyObject
* obj0
= 0 ;
6340 (char *) "self", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
6344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6345 if (SWIG_arg_fail(1)) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (arg1
)->GetPosition();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 wxPoint
* resultptr
;
6355 resultptr
= new wxPoint((wxPoint
&)(result
));
6356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6364 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxCaret
*arg1
= (wxCaret
*) 0 ;
6367 int *arg2
= (int *) 0 ;
6368 int *arg3
= (int *) 0 ;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "self", NULL
6378 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6379 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
6381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6382 if (SWIG_arg_fail(1)) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->GetPosition(arg2
,arg3
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6392 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6393 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6394 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6401 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxCaret
*arg1
= (wxCaret
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
6411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6412 if (SWIG_arg_fail(1)) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (arg1
)->GetSize();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6422 resultptr
= new wxSize((wxSize
&)(result
));
6423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
6431 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxCaret
*arg1
= (wxCaret
*) 0 ;
6434 int *arg2
= (int *) 0 ;
6435 int *arg3
= (int *) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6446 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
6448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->GetSize(arg2
,arg3
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6459 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6460 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6461 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6468 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxCaret
*arg1
= (wxCaret
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
6478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (wxWindow
*)(arg1
)->GetWindow();
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= wxPyMake_wxObject(result
, 0);
6496 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxCaret
*arg1
= (wxCaret
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6503 PyObject
* obj2
= 0 ;
6505 (char *) "self",(char *) "x",(char *) "y", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6510 if (SWIG_arg_fail(1)) SWIG_fail
;
6512 arg2
= (int)(SWIG_As_int(obj1
));
6513 if (SWIG_arg_fail(2)) SWIG_fail
;
6516 arg3
= (int)(SWIG_As_int(obj2
));
6517 if (SWIG_arg_fail(3)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->Move(arg2
,arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxCaret
*arg1
= (wxCaret
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6539 PyObject
* obj1
= 0 ;
6541 (char *) "self",(char *) "pt", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
6545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6546 if (SWIG_arg_fail(1)) SWIG_fail
;
6549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 (arg1
)->Move((wxPoint
const &)*arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 Py_INCREF(Py_None
); resultobj
= Py_None
;
6565 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxCaret
*arg1
= (wxCaret
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 PyObject
* obj2
= 0 ;
6574 (char *) "self",(char *) "width",(char *) "height", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 arg2
= (int)(SWIG_As_int(obj1
));
6582 if (SWIG_arg_fail(2)) SWIG_fail
;
6585 arg3
= (int)(SWIG_As_int(obj2
));
6586 if (SWIG_arg_fail(3)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->SetSize(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxCaret
*arg1
= (wxCaret
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6610 (char *) "self",(char *) "size", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6615 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->SetSize((wxSize
const &)*arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxCaret
*arg1
= (wxCaret
*) 0 ;
6637 int arg2
= (int) true ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6641 (char *) "self",(char *) "show", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6646 if (SWIG_arg_fail(1)) SWIG_fail
;
6649 arg2
= (int)(SWIG_As_int(obj1
));
6650 if (SWIG_arg_fail(2)) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxCaret
*arg1
= (wxCaret
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6672 (char *) "self", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
6676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
6677 if (SWIG_arg_fail(1)) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
6694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6695 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
6697 return Py_BuildValue((char *)"");
6699 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (int)wxCaret_GetBlinkTime();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_int((int)(result
));
6723 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6726 PyObject
* obj0
= 0 ;
6728 (char *) "milliseconds", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
6733 arg1
= (int)(SWIG_As_int(obj0
));
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 wxCaret_SetBlinkTime(arg1
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 Py_INCREF(Py_None
); resultobj
= Py_None
;
6750 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6753 wxBusyCursor
*result
;
6754 PyObject
* obj0
= 0 ;
6756 (char *) "cursor", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
6761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
6762 if (SWIG_arg_fail(1)) SWIG_fail
;
6765 if (!wxPyCheckForApp()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
6779 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
6806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6807 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
6809 return Py_BuildValue((char *)"");
6811 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxWindow
*arg1
= (wxWindow
*) NULL
;
6814 wxWindowDisabler
*result
;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "winToSkip", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6826 if (!wxPyCheckForApp()) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
6840 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6845 (char *) "self", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
6849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_EXCEPTION
| 0);
6850 if (SWIG_arg_fail(1)) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 Py_INCREF(Py_None
); resultobj
= Py_None
;
6865 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
6867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
6870 return Py_BuildValue((char *)"");
6872 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxString
*arg1
= 0 ;
6876 bool temp1
= false ;
6877 PyObject
* obj0
= 0 ;
6879 (char *) "message", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
6884 arg1
= wxString_in_helper(obj0
);
6885 if (arg1
== NULL
) SWIG_fail
;
6889 if (!wxPyCheckForApp()) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
6911 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
6920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_EXCEPTION
| 0);
6921 if (SWIG_arg_fail(1)) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 Py_INCREF(Py_None
); resultobj
= Py_None
;
6936 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
6938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6939 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
6941 return Py_BuildValue((char *)"");
6943 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxStopWatch
*result
;
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (wxStopWatch
*)new wxStopWatch();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
6965 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
6968 long arg2
= (long) 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6972 (char *) "self",(char *) "t0", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
6976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
6977 if (SWIG_arg_fail(1)) SWIG_fail
;
6980 arg2
= (long)(SWIG_As_long(obj1
));
6981 if (SWIG_arg_fail(2)) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 (arg1
)->Start(arg2
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 Py_INCREF(Py_None
); resultobj
= Py_None
;
6998 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
7007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7008 if (SWIG_arg_fail(1)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
7032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7033 if (SWIG_arg_fail(1)) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 Py_INCREF(Py_None
); resultobj
= Py_None
;
7048 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
7058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_EXCEPTION
| 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (long)((wxStopWatch
const *)arg1
)->Time();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_From_long((long)(result
));
7076 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
7078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7079 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
7081 return Py_BuildValue((char *)"");
7083 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 int arg1
= (int) 9 ;
7086 int arg2
= (int) wxID_FILE1
;
7087 wxFileHistory
*result
;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "maxFiles",(char *) "idBase", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 arg1
= (int)(SWIG_As_int(obj0
));
7098 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 arg2
= (int)(SWIG_As_int(obj1
));
7104 if (SWIG_arg_fail(2)) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
7121 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7124 PyObject
* obj0
= 0 ;
7126 (char *) "self", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
7130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 Py_INCREF(Py_None
); resultobj
= Py_None
;
7146 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7149 wxString
*arg2
= 0 ;
7150 bool temp2
= false ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7154 (char *) "self",(char *) "file", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7159 if (SWIG_arg_fail(1)) SWIG_fail
;
7161 arg2
= wxString_in_helper(obj1
);
7162 if (arg2
== NULL
) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7187 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7194 (char *) "self",(char *) "i", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
7198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7199 if (SWIG_arg_fail(1)) SWIG_fail
;
7201 arg2
= (int)(SWIG_As_int(obj1
));
7202 if (SWIG_arg_fail(2)) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->RemoveFileFromHistory(arg2
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_From_int((int)(result
));
7246 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7249 wxMenu
*arg2
= (wxMenu
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7253 (char *) "self",(char *) "menu", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail
;
7259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(2)) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 (arg1
)->UseMenu(arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 Py_INCREF(Py_None
); resultobj
= Py_None
;
7275 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7278 wxMenu
*arg2
= (wxMenu
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7282 (char *) "self",(char *) "menu", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail
;
7288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7289 if (SWIG_arg_fail(2)) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 (arg1
)->RemoveMenu(arg2
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 Py_INCREF(Py_None
); resultobj
= Py_None
;
7304 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7307 wxConfigBase
*arg2
= 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7311 (char *) "self",(char *) "config", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
7315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7316 if (SWIG_arg_fail(1)) SWIG_fail
;
7318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7319 if (SWIG_arg_fail(2)) SWIG_fail
;
7321 SWIG_null_ref("wxConfigBase");
7323 if (SWIG_arg_fail(2)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 (arg1
)->Load(*arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7342 wxConfigBase
*arg2
= 0 ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7346 (char *) "self",(char *) "config", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
7350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7351 if (SWIG_arg_fail(1)) SWIG_fail
;
7353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
7354 if (SWIG_arg_fail(2)) SWIG_fail
;
7356 SWIG_null_ref("wxConfigBase");
7358 if (SWIG_arg_fail(2)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 (arg1
)->Save(*arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 (arg1
)->AddFilesToMenu();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7402 wxMenu
*arg2
= (wxMenu
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7406 (char *) "self",(char *) "menu", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
7410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7411 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
7413 if (SWIG_arg_fail(2)) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 (arg1
)->AddFilesToMenu(arg2
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7436 (char *) "self",(char *) "i", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7441 if (SWIG_arg_fail(1)) SWIG_fail
;
7443 arg2
= (int)(SWIG_As_int(obj1
));
7444 if (SWIG_arg_fail(2)) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7466 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "self", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
7476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_From_int((int)(result
));
7494 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
7496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7497 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
7499 return Py_BuildValue((char *)"");
7501 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxString
*arg1
= 0 ;
7504 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7505 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7506 wxSingleInstanceChecker
*result
;
7507 bool temp1
= false ;
7508 bool temp2
= false ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7512 (char *) "name",(char *) "path", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
7517 arg1
= wxString_in_helper(obj0
);
7518 if (arg1
== NULL
) SWIG_fail
;
7523 arg2
= wxString_in_helper(obj1
);
7524 if (arg2
== NULL
) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7558 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxSingleInstanceChecker
*result
;
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
7580 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
7589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7605 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7608 wxString
*arg2
= 0 ;
7609 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7612 bool temp2
= false ;
7613 bool temp3
= false ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "name",(char *) "path", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 arg2
= wxString_in_helper(obj1
);
7626 if (arg2
== NULL
) SWIG_fail
;
7631 arg3
= wxString_in_helper(obj2
);
7632 if (arg3
== NULL
) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7668 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7670 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7674 (char *) "self", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
7678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_EXCEPTION
| 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7696 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
7698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7699 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
7701 return Py_BuildValue((char *)"");
7703 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7708 (char *) "self", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
7712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7713 if (SWIG_arg_fail(1)) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 Py_INCREF(Py_None
); resultobj
= Py_None
;
7728 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "self", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
7738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(1)) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (arg1
)->GetTip();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7760 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
7770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7771 if (SWIG_arg_fail(1)) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (size_t)(arg1
)->GetCurrentTip();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7788 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
7791 wxString
*arg2
= 0 ;
7793 bool temp2
= false ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7797 (char *) "self",(char *) "tip", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
7801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7802 if (SWIG_arg_fail(1)) SWIG_fail
;
7804 arg2
= wxString_in_helper(obj1
);
7805 if (arg2
== NULL
) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7836 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
7838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7839 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
7841 return Py_BuildValue((char *)"");
7843 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7846 wxPyTipProvider
*result
;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "currentTip", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
7854 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
7855 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
7871 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
7874 PyObject
*arg2
= (PyObject
*) 0 ;
7875 PyObject
*arg3
= (PyObject
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7877 PyObject
* obj1
= 0 ;
7878 PyObject
* obj2
= 0 ;
7880 (char *) "self",(char *) "self",(char *) "_class", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 Py_INCREF(Py_None
); resultobj
= Py_None
;
7902 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
7904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7905 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
7907 return Py_BuildValue((char *)"");
7909 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxWindow
*arg1
= (wxWindow
*) 0 ;
7912 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
7913 bool arg3
= (bool) true ;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7917 PyObject
* obj2
= 0 ;
7919 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail
;
7925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_EXCEPTION
| 0);
7926 if (SWIG_arg_fail(2)) SWIG_fail
;
7929 arg3
= (bool)(SWIG_As_bool(obj2
));
7930 if (SWIG_arg_fail(3)) SWIG_fail
;
7934 if (!wxPyCheckForApp()) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxString
*arg1
= 0 ;
7954 wxTipProvider
*result
;
7955 bool temp1
= false ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7959 (char *) "filename",(char *) "currentTip", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
7964 arg1
= wxString_in_helper(obj0
);
7965 if (arg1
== NULL
) SWIG_fail
;
7969 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
7970 if (SWIG_arg_fail(2)) SWIG_fail
;
7973 if (!wxPyCheckForApp()) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
7995 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
7998 int arg2
= (int) -1 ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8003 (char *) "owner",(char *) "id", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
8008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 arg2
= (int)(SWIG_As_int(obj1
));
8014 if (SWIG_arg_fail(2)) SWIG_fail
;
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
8032 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8037 (char *) "self", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
8041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8042 if (SWIG_arg_fail(1)) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 Py_INCREF(Py_None
); resultobj
= Py_None
;
8057 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8060 PyObject
*arg2
= (PyObject
*) 0 ;
8061 PyObject
*arg3
= (PyObject
*) 0 ;
8062 int arg4
= (int) 1 ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8068 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8073 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 arg4
= (int)(SWIG_As_int(obj3
));
8079 if (SWIG_arg_fail(4)) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8099 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
8100 int arg3
= (int) -1 ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8103 PyObject
* obj2
= 0 ;
8105 (char *) "self",(char *) "owner",(char *) "id", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8110 if (SWIG_arg_fail(1)) SWIG_fail
;
8111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
8112 if (SWIG_arg_fail(2)) SWIG_fail
;
8115 arg3
= (int)(SWIG_As_int(obj2
));
8116 if (SWIG_arg_fail(3)) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 (arg1
)->SetOwner(arg2
,arg3
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8136 wxEvtHandler
*result
;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
8143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8144 if (SWIG_arg_fail(1)) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= wxPyMake_wxObject(result
, 0);
8161 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8164 int arg2
= (int) -1 ;
8165 bool arg3
= (bool) false ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8171 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8176 if (SWIG_arg_fail(1)) SWIG_fail
;
8179 arg2
= (int)(SWIG_As_int(obj1
));
8180 if (SWIG_arg_fail(2)) SWIG_fail
;
8185 arg3
= (bool)(SWIG_As_bool(obj2
));
8186 if (SWIG_arg_fail(3)) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (bool)(arg1
)->Start(arg2
,arg3
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8205 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
8214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8215 if (SWIG_arg_fail(1)) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 Py_INCREF(Py_None
); resultobj
= Py_None
;
8230 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8236 (char *) "self", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
8240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8258 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8264 (char *) "self", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
8268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8269 if (SWIG_arg_fail(1)) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_From_int((int)(result
));
8286 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
8296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8297 if (SWIG_arg_fail(1)) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8314 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
8324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_EXCEPTION
| 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_From_int((int)(result
));
8342 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
8344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8345 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
8347 return Py_BuildValue((char *)"");
8349 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 int arg1
= (int) 0 ;
8352 int arg2
= (int) 0 ;
8353 wxTimerEvent
*result
;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "timerid",(char *) "interval", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8363 arg1
= (int)(SWIG_As_int(obj0
));
8364 if (SWIG_arg_fail(1)) SWIG_fail
;
8369 arg2
= (int)(SWIG_As_int(obj1
));
8370 if (SWIG_arg_fail(2)) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
8387 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8393 (char *) "self", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
8397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_EXCEPTION
| 0);
8398 if (SWIG_arg_fail(1)) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_From_int((int)(result
));
8415 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
8417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8418 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
8420 return Py_BuildValue((char *)"");
8422 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
8423 PyObject
*resultobj
;
8425 wxTimerRunner
*result
;
8426 PyObject
* obj0
= 0 ;
8428 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
8430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 SWIG_null_ref("wxTimer");
8435 if (SWIG_arg_fail(1)) SWIG_fail
;
8438 if (!wxPyCheckForApp()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8452 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
8453 PyObject
*resultobj
;
8456 bool arg3
= (bool) false ;
8457 wxTimerRunner
*result
;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8460 PyObject
* obj2
= 0 ;
8462 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
8464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimer
, SWIG_POINTER_EXCEPTION
| 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail
;
8467 SWIG_null_ref("wxTimer");
8469 if (SWIG_arg_fail(1)) SWIG_fail
;
8472 arg2
= (int)(SWIG_As_int(obj1
));
8473 if (SWIG_arg_fail(2)) SWIG_fail
;
8477 arg3
= (bool)(SWIG_As_bool(obj2
));
8478 if (SWIG_arg_fail(3)) SWIG_fail
;
8482 if (!wxPyCheckForApp()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
8496 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
8501 argc
= PyObject_Length(args
);
8502 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8503 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8517 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
8520 if ((argc
>= 2) && (argc
<= 3)) {
8524 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
8532 _v
= SWIG_Check_int(argv
[1]);
8535 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8537 _v
= SWIG_Check_bool(argv
[2]);
8539 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
8545 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
8550 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "self", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
8559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8560 if (SWIG_arg_fail(1)) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 Py_INCREF(Py_None
); resultobj
= Py_None
;
8575 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
8579 bool arg3
= (bool) false ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8584 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_EXCEPTION
| 0);
8589 if (SWIG_arg_fail(1)) SWIG_fail
;
8591 arg2
= (int)(SWIG_As_int(obj1
));
8592 if (SWIG_arg_fail(2)) SWIG_fail
;
8596 arg3
= (bool)(SWIG_As_bool(obj2
));
8597 if (SWIG_arg_fail(3)) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 (arg1
)->Start(arg2
,arg3
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
8616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8617 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
8619 return Py_BuildValue((char *)"");
8621 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
;
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (wxLog
*)new wxLog();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
8643 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (bool)wxLog::IsEnabled();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8667 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 bool arg1
= (bool) true ;
8671 PyObject
* obj0
= 0 ;
8673 (char *) "doIt", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
8679 arg1
= (bool)(SWIG_As_bool(obj0
));
8680 if (SWIG_arg_fail(1)) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (bool)wxLog::EnableLogging(arg1
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8699 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8702 wxChar
*arg2
= (wxChar
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8706 PyObject
* obj2
= 0 ;
8708 (char *) "level",(char *) "szString",(char *) "t", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8713 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8714 if (SWIG_arg_fail(1)) SWIG_fail
;
8716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
8717 if (SWIG_arg_fail(2)) SWIG_fail
;
8719 arg3
= (time_t)(SWIG_As_unsigned_SS_int(obj2
));
8720 if (SWIG_arg_fail(3)) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxLog
*arg1
= (wxLog
*) 0 ;
8739 PyObject
* obj0
= 0 ;
8741 (char *) "self", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
8745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 wxLog::FlushActive();
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (wxLog
*)wxLog::GetActiveTarget();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8804 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxLog
*arg1
= (wxLog
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "pLogger", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
8814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
8815 if (SWIG_arg_fail(1)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8830 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 bool arg1
= (bool) true ;
8875 PyObject
* obj0
= 0 ;
8877 (char *) "bVerbose", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
8883 arg1
= (bool)(SWIG_As_bool(obj0
));
8884 if (SWIG_arg_fail(1)) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 wxLog::SetVerbose(arg1
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 Py_INCREF(Py_None
); resultobj
= Py_None
;
8901 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
;
8904 PyObject
* obj0
= 0 ;
8906 (char *) "logLevel", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
8911 arg1
= (wxLogLevel
)(SWIG_As_unsigned_SS_long(obj0
));
8912 if (SWIG_arg_fail(1)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 wxLog::SetLogLevel(arg1
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 wxLog::DontCreateOnDemand();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "ulMask", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
8959 arg1
= (wxTraceMask
)(SWIG_As_unsigned_SS_long(obj0
));
8960 if (SWIG_arg_fail(1)) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxLog::SetTraceMask(arg1
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxString
*arg1
= 0 ;
8979 bool temp1
= false ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "str", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
8987 arg1
= wxString_in_helper(obj0
);
8988 if (arg1
== NULL
) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 wxLog::AddTraceMask((wxString
const &)*arg1
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxString
*arg1
= 0 ;
9016 bool temp1
= false ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "str", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
9024 arg1
= wxString_in_helper(obj0
);
9025 if (arg1
== NULL
) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 wxLog::ClearTraceMasks();
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 Py_INCREF(Py_None
); resultobj
= Py_None
;
9071 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxArrayString
*result
;
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
9083 result
= (wxArrayString
*) &_result_ref
;
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= wxArrayString2PyList_helper(*result
);
9098 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxChar
*arg1
= (wxChar
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
9107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 wxLog::SetTimestamp((wxChar
const *)arg1
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (bool)wxLog::GetVerbose();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9147 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxTraceMask
)wxLog::GetTraceMask();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9171 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxChar
*arg1
= (wxChar
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "mask", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChar
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9199 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (wxLogLevel
)wxLog::GetLogLevel();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9223 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (wxChar
*)wxLog::GetTimestamp();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
9245 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= Log_TimeStamp();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9273 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxLog
*arg1
= (wxLog
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9278 (char *) "self", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
9282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxLog_Destroy(arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 Py_INCREF(Py_None
); resultobj
= Py_None
;
9298 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
9300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9301 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
9303 return Py_BuildValue((char *)"");
9305 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxLogStderr
*result
;
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (wxLogStderr
*)new wxLogStderr();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
9327 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
9329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9330 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
9332 return Py_BuildValue((char *)"");
9334 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9337 wxLogTextCtrl
*result
;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "pTextCtrl", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
9360 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
9365 return Py_BuildValue((char *)"");
9367 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxLogGui
*)new wxLogGui();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
9389 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
9391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9392 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
9394 return Py_BuildValue((char *)"");
9396 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxFrame
*arg1
= (wxFrame
*) 0 ;
9399 wxString
*arg2
= 0 ;
9400 bool arg3
= (bool) true ;
9401 bool arg4
= (bool) true ;
9402 wxLogWindow
*result
;
9403 bool temp2
= false ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 PyObject
* obj2
= 0 ;
9407 PyObject
* obj3
= 0 ;
9409 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
9414 if (SWIG_arg_fail(1)) SWIG_fail
;
9416 arg2
= wxString_in_helper(obj1
);
9417 if (arg2
== NULL
) SWIG_fail
;
9422 arg3
= (bool)(SWIG_As_bool(obj2
));
9423 if (SWIG_arg_fail(3)) SWIG_fail
;
9428 arg4
= (bool)(SWIG_As_bool(obj3
));
9429 if (SWIG_arg_fail(4)) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
9454 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9457 bool arg2
= (bool) true ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9461 (char *) "self",(char *) "bShow", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
9465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail
;
9469 arg2
= (bool)(SWIG_As_bool(obj1
));
9470 if (SWIG_arg_fail(2)) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
9497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9498 if (SWIG_arg_fail(1)) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= wxPyMake_wxObject(result
, 0);
9515 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9521 (char *) "self", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
9525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9526 if (SWIG_arg_fail(1)) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9541 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9547 (char *) "self", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9552 if (SWIG_arg_fail(1)) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9576 (char *) "self",(char *) "bDoPass", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_EXCEPTION
| 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail
;
9583 arg2
= (bool)(SWIG_As_bool(obj1
));
9584 if (SWIG_arg_fail(2)) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->PassMessages(arg2
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
9602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
9605 return Py_BuildValue((char *)"");
9607 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxLog
*arg1
= (wxLog
*) 0 ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "logger", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
9617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9618 if (SWIG_arg_fail(1)) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (wxLogChain
*)new wxLogChain(arg1
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
9633 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9636 wxLog
*arg2
= (wxLog
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9640 (char *) "self",(char *) "logger", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
9644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9645 if (SWIG_arg_fail(1)) SWIG_fail
;
9646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLog
, SWIG_POINTER_EXCEPTION
| 0);
9647 if (SWIG_arg_fail(2)) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 (arg1
)->SetLog(arg2
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 Py_INCREF(Py_None
); resultobj
= Py_None
;
9662 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9669 (char *) "self",(char *) "bDoPass", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9676 arg2
= (bool)(SWIG_As_bool(obj1
));
9677 if (SWIG_arg_fail(2)) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->PassMessages(arg2
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 Py_INCREF(Py_None
); resultobj
= Py_None
;
9693 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9699 (char *) "self", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
9703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(1)) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->IsPassingMessages();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9721 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
9725 PyObject
* obj0
= 0 ;
9727 (char *) "self", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
9731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogChain
, SWIG_POINTER_EXCEPTION
| 0);
9732 if (SWIG_arg_fail(1)) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (wxLog
*)(arg1
)->GetOldLog();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
9747 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
9749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9750 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
9752 return Py_BuildValue((char *)"");
9754 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 unsigned long result
;
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (unsigned long)wxSysErrorCode();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
9778 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 unsigned long arg1
= (unsigned long) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "nErrCode", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
9790 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
9791 if (SWIG_arg_fail(1)) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= wxSysErrorMsg(arg1
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9814 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxString
*arg1
= 0 ;
9817 bool temp1
= false ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "msg", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
9825 arg1
= wxString_in_helper(obj0
);
9826 if (arg1
== NULL
) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxPyLogFatalError((wxString
const &)*arg1
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 Py_INCREF(Py_None
); resultobj
= Py_None
;
9851 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxString
*arg1
= 0 ;
9854 bool temp1
= false ;
9855 PyObject
* obj0
= 0 ;
9857 (char *) "msg", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
9862 arg1
= wxString_in_helper(obj0
);
9863 if (arg1
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 wxPyLogError((wxString
const &)*arg1
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 Py_INCREF(Py_None
); resultobj
= Py_None
;
9888 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxString
*arg1
= 0 ;
9891 bool temp1
= false ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "msg", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
9899 arg1
= wxString_in_helper(obj0
);
9900 if (arg1
== NULL
) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 wxPyLogWarning((wxString
const &)*arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 Py_INCREF(Py_None
); resultobj
= Py_None
;
9925 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxString
*arg1
= 0 ;
9928 bool temp1
= false ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "msg", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
9936 arg1
= wxString_in_helper(obj0
);
9937 if (arg1
== NULL
) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxPyLogMessage((wxString
const &)*arg1
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 Py_INCREF(Py_None
); resultobj
= Py_None
;
9962 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxString
*arg1
= 0 ;
9965 bool temp1
= false ;
9966 PyObject
* obj0
= 0 ;
9968 (char *) "msg", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
9973 arg1
= wxString_in_helper(obj0
);
9974 if (arg1
== NULL
) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 wxPyLogInfo((wxString
const &)*arg1
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 Py_INCREF(Py_None
); resultobj
= Py_None
;
9999 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxString
*arg1
= 0 ;
10002 bool temp1
= false ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "msg", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
10010 arg1
= wxString_in_helper(obj0
);
10011 if (arg1
== NULL
) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 wxPyLogDebug((wxString
const &)*arg1
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxString
*arg1
= 0 ;
10039 bool temp1
= false ;
10040 PyObject
* obj0
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "msg", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
10047 arg1
= wxString_in_helper(obj0
);
10048 if (arg1
== NULL
) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 wxPyLogVerbose((wxString
const &)*arg1
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxString
*arg1
= 0 ;
10076 bool temp1
= false ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "msg", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
10084 arg1
= wxString_in_helper(obj0
);
10085 if (arg1
== NULL
) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 wxPyLogStatus((wxString
const &)*arg1
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxFrame
*arg1
= (wxFrame
*) 0 ;
10113 wxString
*arg2
= 0 ;
10114 bool temp2
= false ;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "pFrame",(char *) "msg", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
10122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail
;
10125 arg2
= wxString_in_helper(obj1
);
10126 if (arg2
== NULL
) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 Py_INCREF(Py_None
); resultobj
= Py_None
;
10151 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxString
*arg1
= 0 ;
10154 bool temp1
= false ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "msg", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
10162 arg1
= wxString_in_helper(obj0
);
10163 if (arg1
== NULL
) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 wxPyLogSysError((wxString
const &)*arg1
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 unsigned long arg1
;
10191 wxString
*arg2
= 0 ;
10192 bool temp2
= false ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "level",(char *) "msg", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
10201 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10202 if (SWIG_arg_fail(1)) SWIG_fail
;
10205 arg2
= wxString_in_helper(obj1
);
10206 if (arg2
== NULL
) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 Py_INCREF(Py_None
); resultobj
= Py_None
;
10231 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
10232 PyObject
*resultobj
;
10233 unsigned long arg1
;
10234 wxString
*arg2
= 0 ;
10235 bool temp2
= false ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10239 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10241 arg1
= (unsigned long)(SWIG_As_unsigned_SS_long(obj0
));
10242 if (SWIG_arg_fail(1)) SWIG_fail
;
10245 arg2
= wxString_in_helper(obj1
);
10246 if (arg2
== NULL
) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 Py_INCREF(Py_None
); resultobj
= Py_None
;
10271 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
10272 PyObject
*resultobj
;
10273 wxString
*arg1
= 0 ;
10274 wxString
*arg2
= 0 ;
10275 bool temp1
= false ;
10276 bool temp2
= false ;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10280 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
10282 arg1
= wxString_in_helper(obj0
);
10283 if (arg1
== NULL
) SWIG_fail
;
10287 arg2
= wxString_in_helper(obj1
);
10288 if (arg2
== NULL
) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 Py_INCREF(Py_None
); resultobj
= Py_None
;
10321 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
10326 argc
= PyObject_Length(args
);
10327 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
10328 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10333 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10337 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10340 return _wrap_LogTrace__SWIG_1(self
,args
);
10346 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
10349 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10352 return _wrap_LogTrace__SWIG_0(self
,args
);
10357 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
10362 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxString
*arg1
= 0 ;
10365 wxString
*arg2
= 0 ;
10366 bool temp1
= false ;
10367 bool temp2
= false ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "title",(char *) "text", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 arg1
= wxString_in_helper(obj0
);
10377 if (arg1
== NULL
) SWIG_fail
;
10381 arg2
= wxString_in_helper(obj1
);
10382 if (arg2
== NULL
) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10418 char *kwnames
[] = {
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (wxLogNull
*)new wxLogNull();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
10437 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
10446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLogNull
, SWIG_POINTER_EXCEPTION
| 0);
10447 if (SWIG_arg_fail(1)) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 Py_INCREF(Py_None
); resultobj
= Py_None
;
10462 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
10464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10465 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
10467 return Py_BuildValue((char *)"");
10469 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10472 char *kwnames
[] = {
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (wxPyLog
*)new wxPyLog();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
10491 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
10494 PyObject
*arg2
= (PyObject
*) 0 ;
10495 PyObject
*arg3
= (PyObject
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 PyObject
* obj2
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self",(char *) "self",(char *) "_class", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLog
, SWIG_POINTER_EXCEPTION
| 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail
;
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 Py_INCREF(Py_None
); resultobj
= Py_None
;
10522 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
10524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10525 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
10527 return Py_BuildValue((char *)"");
10529 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10532 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
10533 int arg3
= (int) wxKILL_NOCHILDREN
;
10534 wxKillError result
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10544 arg1
= (int)(SWIG_As_int(obj0
));
10545 if (SWIG_arg_fail(1)) SWIG_fail
;
10549 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
10550 if (SWIG_arg_fail(2)) SWIG_fail
;
10555 arg3
= (int)(SWIG_As_int(obj2
));
10556 if (SWIG_arg_fail(3)) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (wxKillError
)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_From_int((result
));
10573 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10577 PyObject
* obj0
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "pid", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
10584 arg1
= (int)(SWIG_As_int(obj0
));
10585 if (SWIG_arg_fail(1)) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (bool)wxPyProcess::Exists(arg1
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10603 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxString
*arg1
= 0 ;
10606 int arg2
= (int) wxEXEC_ASYNC
;
10607 wxPyProcess
*result
;
10608 bool temp1
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "cmd",(char *) "flags", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
10617 arg1
= wxString_in_helper(obj0
);
10618 if (arg1
== NULL
) SWIG_fail
;
10623 arg2
= (int)(SWIG_As_int(obj1
));
10624 if (SWIG_arg_fail(2)) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
10649 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10652 int arg2
= (int) -1 ;
10653 wxPyProcess
*result
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "parent",(char *) "id", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
10662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
10663 if (SWIG_arg_fail(1)) SWIG_fail
;
10667 arg2
= (int)(SWIG_As_int(obj1
));
10668 if (SWIG_arg_fail(2)) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
10685 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10688 PyObject
*arg2
= (PyObject
*) 0 ;
10689 PyObject
*arg3
= (PyObject
*) 0 ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "self",(char *) "_class", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 Py_INCREF(Py_None
); resultobj
= Py_None
;
10716 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj1
= 0 ;
10723 PyObject
* obj2
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "pid",(char *) "status", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10730 if (SWIG_arg_fail(1)) SWIG_fail
;
10732 arg2
= (int)(SWIG_As_int(obj1
));
10733 if (SWIG_arg_fail(2)) SWIG_fail
;
10736 arg3
= (int)(SWIG_As_int(obj2
));
10737 if (SWIG_arg_fail(3)) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->base_OnTerminate(arg2
,arg3
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
10762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10763 if (SWIG_arg_fail(1)) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 (arg1
)->Redirect();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10778 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
10788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (bool)(arg1
)->IsRedirected();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10806 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
10815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10816 if (SWIG_arg_fail(1)) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10824 Py_INCREF(Py_None
); resultobj
= Py_None
;
10831 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10834 wxInputStream
*result
;
10835 PyObject
* obj0
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
10841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10842 if (SWIG_arg_fail(1)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (wxInputStream
*)(arg1
)->GetInputStream();
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10851 wxPyInputStream
* _ptr
= NULL
;
10854 _ptr
= new wxPyInputStream(result
);
10856 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10864 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10867 wxInputStream
*result
;
10868 PyObject
* obj0
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
10874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10875 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 wxPyInputStream
* _ptr
= NULL
;
10887 _ptr
= new wxPyInputStream(result
);
10889 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10897 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10900 wxOutputStream
*result
;
10901 PyObject
* obj0
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
10907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10908 if (SWIG_arg_fail(1)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
10923 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
10932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10933 if (SWIG_arg_fail(1)) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->CloseOutput();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
10958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
11014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11015 if (SWIG_arg_fail(1)) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11032 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
11034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11035 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
11037 return Py_BuildValue((char *)"");
11039 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 int arg1
= (int) 0 ;
11042 int arg2
= (int) 0 ;
11043 int arg3
= (int) 0 ;
11044 wxProcessEvent
*result
;
11045 PyObject
* obj0
= 0 ;
11046 PyObject
* obj1
= 0 ;
11047 PyObject
* obj2
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11055 arg1
= (int)(SWIG_As_int(obj0
));
11056 if (SWIG_arg_fail(1)) SWIG_fail
;
11061 arg2
= (int)(SWIG_As_int(obj1
));
11062 if (SWIG_arg_fail(2)) SWIG_fail
;
11067 arg3
= (int)(SWIG_As_int(obj2
));
11068 if (SWIG_arg_fail(3)) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
11085 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
11095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11096 if (SWIG_arg_fail(1)) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (int)(arg1
)->GetPid();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= SWIG_From_int((int)(result
));
11113 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
11123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (int)(arg1
)->GetExitCode();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_From_int((int)(result
));
11141 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 PyObject
* obj1
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self",(char *) "m_pid", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11153 if (SWIG_arg_fail(1)) SWIG_fail
;
11155 arg2
= (int)(SWIG_As_int(obj1
));
11156 if (SWIG_arg_fail(2)) SWIG_fail
;
11158 if (arg1
) (arg1
)->m_pid
= arg2
;
11160 Py_INCREF(Py_None
); resultobj
= Py_None
;
11167 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
11177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11178 if (SWIG_arg_fail(1)) SWIG_fail
;
11179 result
= (int) ((arg1
)->m_pid
);
11182 resultobj
= SWIG_From_int((int)(result
));
11190 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "m_exitcode", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11202 if (SWIG_arg_fail(1)) SWIG_fail
;
11204 arg2
= (int)(SWIG_As_int(obj1
));
11205 if (SWIG_arg_fail(2)) SWIG_fail
;
11207 if (arg1
) (arg1
)->m_exitcode
= arg2
;
11209 Py_INCREF(Py_None
); resultobj
= Py_None
;
11216 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11228 result
= (int) ((arg1
)->m_exitcode
);
11231 resultobj
= SWIG_From_int((int)(result
));
11239 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
11241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11242 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
11244 return Py_BuildValue((char *)"");
11246 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxString
*arg1
= 0 ;
11249 int arg2
= (int) wxEXEC_ASYNC
;
11250 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
11252 bool temp1
= false ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 PyObject
* obj2
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "command",(char *) "flags",(char *) "process", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11262 arg1
= wxString_in_helper(obj0
);
11263 if (arg1
== NULL
) SWIG_fail
;
11268 arg2
= (int)(SWIG_As_int(obj1
));
11269 if (SWIG_arg_fail(2)) SWIG_fail
;
11273 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_EXCEPTION
| 0);
11274 if (SWIG_arg_fail(3)) SWIG_fail
;
11277 if (!wxPyCheckForApp()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_From_long((long)(result
));
11301 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11304 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
11305 wxKillError
*arg3
= (wxKillError
*) 0 ;
11306 int arg4
= (int) wxKILL_NOCHILDREN
;
11308 wxKillError temp3
;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 PyObject
* obj2
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11321 arg1
= (long)(SWIG_As_long(obj0
));
11322 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (wxSignal
)(SWIG_As_int(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 arg4
= (int)(SWIG_As_int(obj2
));
11333 if (SWIG_arg_fail(4)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_int((int)(result
));
11348 o
= PyInt_FromLong((long) (*arg3
));
11349 resultobj
= t_output_helper(resultobj
, o
);
11357 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 int arg1
= (int) wxJOYSTICK1
;
11360 wxJoystick
*result
;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "joystick", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
11369 arg1
= (int)(SWIG_As_int(obj0
));
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11374 if (!wxPyCheckForApp()) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (wxJoystick
*)new wxJoystick(arg1
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
11388 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
11397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 Py_INCREF(Py_None
); resultobj
= Py_None
;
11413 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
11423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (arg1
)->GetPosition();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 wxPoint
* resultptr
;
11434 resultptr
= new wxPoint((wxPoint
&)(result
));
11435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11443 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
11453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (int)(arg1
)->GetZPosition();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_From_int((int)(result
));
11471 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
11481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11482 if (SWIG_arg_fail(1)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (int)(arg1
)->GetButtonState();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_int((int)(result
));
11499 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (int)(arg1
)->GetPOVPosition();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_int((int)(result
));
11527 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
11537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (int)(arg1
)->GetPOVCTSPosition();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_From_int((int)(result
));
11555 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
11565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11566 if (SWIG_arg_fail(1)) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (int)(arg1
)->GetRudderPosition();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_From_int((int)(result
));
11583 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
11593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11594 if (SWIG_arg_fail(1)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (int)(arg1
)->GetUPosition();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_From_int((int)(result
));
11611 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
11621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (int)(arg1
)->GetVPosition();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_From_int((int)(result
));
11639 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
11649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11650 if (SWIG_arg_fail(1)) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (int)(arg1
)->GetMovementThreshold();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_int((int)(result
));
11667 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "self",(char *) "threshold", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
11678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11679 if (SWIG_arg_fail(1)) SWIG_fail
;
11681 arg2
= (int)(SWIG_As_int(obj1
));
11682 if (SWIG_arg_fail(2)) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->SetMovementThreshold(arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
11708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11709 if (SWIG_arg_fail(1)) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (bool)(arg1
)->IsOk();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11726 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
11736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11737 if (SWIG_arg_fail(1)) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->GetNumberJoysticks();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_From_int((int)(result
));
11754 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
11764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)(arg1
)->GetManufacturerId();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_From_int((int)(result
));
11782 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
11792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)(arg1
)->GetProductId();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_From_int((int)(result
));
11810 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
11820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11821 if (SWIG_arg_fail(1)) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (arg1
)->GetProductName();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11842 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
11852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11853 if (SWIG_arg_fail(1)) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (int)(arg1
)->GetXMin();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_From_int((int)(result
));
11870 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "self", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
11880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11881 if (SWIG_arg_fail(1)) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (int)(arg1
)->GetYMin();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_From_int((int)(result
));
11898 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
11908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (int)(arg1
)->GetZMin();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_From_int((int)(result
));
11926 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
11936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (int)(arg1
)->GetXMax();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_From_int((int)(result
));
11954 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
11964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11965 if (SWIG_arg_fail(1)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (int)(arg1
)->GetYMax();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_From_int((int)(result
));
11982 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
11992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
11993 if (SWIG_arg_fail(1)) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (int)(arg1
)->GetZMax();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_From_int((int)(result
));
12010 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12014 PyObject
* obj0
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
12020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (int)(arg1
)->GetNumberButtons();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_From_int((int)(result
));
12038 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
12048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (int)(arg1
)->GetNumberAxes();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_From_int((int)(result
));
12066 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
12076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12077 if (SWIG_arg_fail(1)) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (int)(arg1
)->GetMaxButtons();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_From_int((int)(result
));
12094 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
12104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (int)(arg1
)->GetMaxAxes();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_From_int((int)(result
));
12122 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
12132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12133 if (SWIG_arg_fail(1)) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (int)(arg1
)->GetPollingMin();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_From_int((int)(result
));
12150 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
12160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12161 if (SWIG_arg_fail(1)) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (int)(arg1
)->GetPollingMax();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_From_int((int)(result
));
12178 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
12188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12189 if (SWIG_arg_fail(1)) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (int)(arg1
)->GetRudderMin();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_From_int((int)(result
));
12206 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
12216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12217 if (SWIG_arg_fail(1)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (int)(arg1
)->GetRudderMax();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_From_int((int)(result
));
12234 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
12244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12245 if (SWIG_arg_fail(1)) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (int)(arg1
)->GetUMin();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_From_int((int)(result
));
12262 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
12272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12273 if (SWIG_arg_fail(1)) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (int)(arg1
)->GetUMax();
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_From_int((int)(result
));
12290 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
12300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (int)(arg1
)->GetVMin();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_From_int((int)(result
));
12318 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
12328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12329 if (SWIG_arg_fail(1)) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (int)(arg1
)->GetVMax();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= SWIG_From_int((int)(result
));
12346 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
12356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (bool)(arg1
)->HasRudder();
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12374 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
12384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12385 if (SWIG_arg_fail(1)) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (bool)(arg1
)->HasZ();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12402 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "self", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
12412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12413 if (SWIG_arg_fail(1)) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 result
= (bool)(arg1
)->HasU();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12430 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
12440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (bool)(arg1
)->HasV();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12458 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
12468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12469 if (SWIG_arg_fail(1)) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (bool)(arg1
)->HasPOV();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12486 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
12496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12497 if (SWIG_arg_fail(1)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)(arg1
)->HasPOV4Dir();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12514 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
12524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (bool)(arg1
)->HasPOVCTS();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12542 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12545 wxWindow
*arg2
= (wxWindow
*) 0 ;
12546 int arg3
= (int) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 PyObject
* obj2
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12557 if (SWIG_arg_fail(1)) SWIG_fail
;
12558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12559 if (SWIG_arg_fail(2)) SWIG_fail
;
12562 arg3
= (int)(SWIG_As_int(obj2
));
12563 if (SWIG_arg_fail(3)) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12582 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
12592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystick
, SWIG_POINTER_EXCEPTION
| 0);
12593 if (SWIG_arg_fail(1)) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (bool)(arg1
)->ReleaseCapture();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12610 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
12612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12613 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
12615 return Py_BuildValue((char *)"");
12617 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12620 wxPoint
*arg2
= (wxPoint
*) 0 ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self",(char *) "m_pos", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12629 if (SWIG_arg_fail(1)) SWIG_fail
;
12630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12631 if (SWIG_arg_fail(2)) SWIG_fail
;
12632 if (arg1
) (arg1
)->m_pos
= *arg2
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12641 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
12651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12652 if (SWIG_arg_fail(1)) SWIG_fail
;
12653 result
= (wxPoint
*)& ((arg1
)->m_pos
);
12655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
12662 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self",(char *) "m_zPosition", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12674 if (SWIG_arg_fail(1)) SWIG_fail
;
12676 arg2
= (int)(SWIG_As_int(obj1
));
12677 if (SWIG_arg_fail(2)) SWIG_fail
;
12679 if (arg1
) (arg1
)->m_zPosition
= arg2
;
12681 Py_INCREF(Py_None
); resultobj
= Py_None
;
12688 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
12698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12699 if (SWIG_arg_fail(1)) SWIG_fail
;
12700 result
= (int) ((arg1
)->m_zPosition
);
12703 resultobj
= SWIG_From_int((int)(result
));
12711 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self",(char *) "m_buttonChange", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail
;
12725 arg2
= (int)(SWIG_As_int(obj1
));
12726 if (SWIG_arg_fail(2)) SWIG_fail
;
12728 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12737 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
12747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail
;
12749 result
= (int) ((arg1
)->m_buttonChange
);
12752 resultobj
= SWIG_From_int((int)(result
));
12760 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self",(char *) "m_buttonState", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail
;
12774 arg2
= (int)(SWIG_As_int(obj1
));
12775 if (SWIG_arg_fail(2)) SWIG_fail
;
12777 if (arg1
) (arg1
)->m_buttonState
= arg2
;
12779 Py_INCREF(Py_None
); resultobj
= Py_None
;
12786 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
12796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12797 if (SWIG_arg_fail(1)) SWIG_fail
;
12798 result
= (int) ((arg1
)->m_buttonState
);
12801 resultobj
= SWIG_From_int((int)(result
));
12809 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "m_joyStick", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 arg2
= (int)(SWIG_As_int(obj1
));
12824 if (SWIG_arg_fail(2)) SWIG_fail
;
12826 if (arg1
) (arg1
)->m_joyStick
= arg2
;
12828 Py_INCREF(Py_None
); resultobj
= Py_None
;
12835 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
12845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12846 if (SWIG_arg_fail(1)) SWIG_fail
;
12847 result
= (int) ((arg1
)->m_joyStick
);
12850 resultobj
= SWIG_From_int((int)(result
));
12858 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12861 int arg2
= (int) 0 ;
12862 int arg3
= (int) wxJOYSTICK1
;
12863 int arg4
= (int) 0 ;
12864 wxJoystickEvent
*result
;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 PyObject
* obj2
= 0 ;
12868 PyObject
* obj3
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12876 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
12877 if (SWIG_arg_fail(1)) SWIG_fail
;
12882 arg2
= (int)(SWIG_As_int(obj1
));
12883 if (SWIG_arg_fail(2)) SWIG_fail
;
12888 arg3
= (int)(SWIG_As_int(obj2
));
12889 if (SWIG_arg_fail(3)) SWIG_fail
;
12894 arg4
= (int)(SWIG_As_int(obj3
));
12895 if (SWIG_arg_fail(4)) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
12912 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12923 if (SWIG_arg_fail(1)) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 wxPoint
* resultptr
;
12933 resultptr
= new wxPoint((wxPoint
&)(result
));
12934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12942 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
12952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_From_int((int)(result
));
12970 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
12980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
12981 if (SWIG_arg_fail(1)) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_From_int((int)(result
));
12998 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
13008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13009 if (SWIG_arg_fail(1)) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= SWIG_From_int((int)(result
));
13026 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
13036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_From_int((int)(result
));
13054 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "stick", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
13065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13066 if (SWIG_arg_fail(1)) SWIG_fail
;
13068 arg2
= (int)(SWIG_As_int(obj1
));
13069 if (SWIG_arg_fail(2)) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 (arg1
)->SetJoystick(arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 PyObject
* obj1
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "state", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
13096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13097 if (SWIG_arg_fail(1)) SWIG_fail
;
13099 arg2
= (int)(SWIG_As_int(obj1
));
13100 if (SWIG_arg_fail(2)) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->SetButtonState(arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self",(char *) "change", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
13127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 arg2
= (int)(SWIG_As_int(obj1
));
13131 if (SWIG_arg_fail(2)) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->SetButtonChange(arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13150 wxPoint
*arg2
= 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "pos", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self",(char *) "zPos", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13191 if (SWIG_arg_fail(1)) SWIG_fail
;
13193 arg2
= (int)(SWIG_As_int(obj1
));
13194 if (SWIG_arg_fail(2)) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 (arg1
)->SetZPosition(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13221 if (SWIG_arg_fail(1)) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13238 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13242 PyObject
* obj0
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
13248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13249 if (SWIG_arg_fail(1)) SWIG_fail
;
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13266 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
13276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13277 if (SWIG_arg_fail(1)) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13294 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13297 int arg2
= (int) wxJOY_BUTTON_ANY
;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self",(char *) "but", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail
;
13310 arg2
= (int)(SWIG_As_int(obj1
));
13311 if (SWIG_arg_fail(2)) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13330 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13333 int arg2
= (int) wxJOY_BUTTON_ANY
;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "but", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13343 if (SWIG_arg_fail(1)) SWIG_fail
;
13346 arg2
= (int)(SWIG_As_int(obj1
));
13347 if (SWIG_arg_fail(2)) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13366 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
13369 int arg2
= (int) wxJOY_BUTTON_ANY
;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self",(char *) "but", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_EXCEPTION
| 0);
13379 if (SWIG_arg_fail(1)) SWIG_fail
;
13382 arg2
= (int)(SWIG_As_int(obj1
));
13383 if (SWIG_arg_fail(2)) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13402 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
13404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13405 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
13407 return Py_BuildValue((char *)"");
13409 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13412 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13414 bool temp1
= false ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "fileName", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
13423 arg1
= wxString_in_helper(obj0
);
13424 if (arg1
== NULL
) SWIG_fail
;
13429 if (!wxPyCheckForApp()) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13451 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 PyObject
*arg1
= (PyObject
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "data", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
13463 if (!wxPyCheckForApp()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxSound
*)new_wxSound(arg1
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
13477 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxSound
*arg1
= (wxSound
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
13486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13487 if (SWIG_arg_fail(1)) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxSound
*arg1
= (wxSound
*) 0 ;
13505 wxString
*arg2
= 0 ;
13507 bool temp2
= false ;
13508 PyObject
* obj0
= 0 ;
13509 PyObject
* obj1
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self",(char *) "fileName", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
13515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13516 if (SWIG_arg_fail(1)) SWIG_fail
;
13518 arg2
= wxString_in_helper(obj1
);
13519 if (arg2
== NULL
) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13546 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxSound
*arg1
= (wxSound
*) 0 ;
13549 PyObject
*arg2
= (PyObject
*) 0 ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self",(char *) "data", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
13558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13559 if (SWIG_arg_fail(1)) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxSound
*arg1
= (wxSound
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
13587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13588 if (SWIG_arg_fail(1)) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)(arg1
)->IsOk();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13605 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxSound
*arg1
= (wxSound
*) 0 ;
13608 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "flags", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSound
, SWIG_POINTER_EXCEPTION
| 0);
13618 if (SWIG_arg_fail(1)) SWIG_fail
;
13621 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13622 if (SWIG_arg_fail(2)) SWIG_fail
;
13626 if (!wxPyCheckForApp()) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxString
*arg1
= 0 ;
13645 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
13647 bool temp1
= false ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "filename",(char *) "flags", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 arg1
= wxString_in_helper(obj0
);
13657 if (arg1
== NULL
) SWIG_fail
;
13662 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
13663 if (SWIG_arg_fail(2)) SWIG_fail
;
13667 if (!wxPyCheckForApp()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13691 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 char *kwnames
[] = {
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
13699 if (!wxPyCheckForApp()) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 Py_INCREF(Py_None
); resultobj
= Py_None
;
13713 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
13715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13716 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
13718 return Py_BuildValue((char *)"");
13720 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxString
*arg1
= 0 ;
13723 wxString
*arg2
= 0 ;
13724 wxString
*arg3
= 0 ;
13725 wxString
*arg4
= 0 ;
13726 wxFileTypeInfo
*result
;
13727 bool temp1
= false ;
13728 bool temp2
= false ;
13729 bool temp3
= false ;
13730 bool temp4
= false ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 PyObject
* obj3
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13741 arg1
= wxString_in_helper(obj0
);
13742 if (arg1
== NULL
) SWIG_fail
;
13746 arg2
= wxString_in_helper(obj1
);
13747 if (arg2
== NULL
) SWIG_fail
;
13751 arg3
= wxString_in_helper(obj2
);
13752 if (arg3
== NULL
) SWIG_fail
;
13756 arg4
= wxString_in_helper(obj3
);
13757 if (arg4
== NULL
) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13806 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxArrayString
*arg1
= 0 ;
13809 wxFileTypeInfo
*result
;
13810 bool temp1
= false ;
13811 PyObject
* obj0
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "sArray", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
13818 if (! PySequence_Check(obj0
)) {
13819 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13822 arg1
= new wxArrayString
;
13824 int i
, len
=PySequence_Length(obj0
);
13825 for (i
=0; i
<len
; i
++) {
13826 PyObject
* item
= PySequence_GetItem(obj0
, i
);
13828 PyObject
* str
= PyObject_Unicode(item
);
13830 PyObject
* str
= PyObject_Str(item
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13833 arg1
->Add(Py2wxString(str
));
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13847 if (temp1
) delete arg1
;
13852 if (temp1
) delete arg1
;
13858 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxFileTypeInfo
*result
;
13861 char *kwnames
[] = {
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
13880 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13911 wxString
*arg2
= 0 ;
13912 int arg3
= (int) 0 ;
13913 bool temp2
= false ;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 PyObject
* obj2
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 arg2
= wxString_in_helper(obj1
);
13926 if (arg2
== NULL
) SWIG_fail
;
13931 arg3
= (int)(SWIG_As_int(obj2
));
13932 if (SWIG_arg_fail(3)) SWIG_fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 Py_INCREF(Py_None
); resultobj
= Py_None
;
13957 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
13960 wxString
*arg2
= 0 ;
13961 bool temp2
= false ;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self",(char *) "shortDesc", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13972 arg2
= wxString_in_helper(obj1
);
13973 if (arg2
== NULL
) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 Py_INCREF(Py_None
); resultobj
= Py_None
;
13998 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
14008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
14014 result
= (wxString
*) &_result_ref
;
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14033 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
14043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14044 if (SWIG_arg_fail(1)) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
14049 result
= (wxString
*) &_result_ref
;
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14059 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14068 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
14078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
14084 result
= (wxString
*) &_result_ref
;
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14094 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14103 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
14113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
14119 result
= (wxString
*) &_result_ref
;
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14138 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
14148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
14154 result
= (wxString
*) &_result_ref
;
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14164 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14173 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14176 wxArrayString
*result
;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
14183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
14189 result
= (wxArrayString
*) &_result_ref
;
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= wxArrayString2PyList_helper(*result
);
14204 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
14214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14215 if (SWIG_arg_fail(1)) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_From_int((int)(result
));
14232 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
14242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14243 if (SWIG_arg_fail(1)) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
14248 result
= (wxString
*) &_result_ref
;
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14258 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14267 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
14277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14278 if (SWIG_arg_fail(1)) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int((int)(result
));
14295 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
14297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14298 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
14300 return Py_BuildValue((char *)"");
14302 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxFileTypeInfo
*arg1
= 0 ;
14305 wxFileType
*result
;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "ftInfo", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
14313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail
;
14315 if (arg1
== NULL
) {
14316 SWIG_null_ref("wxFileTypeInfo");
14318 if (SWIG_arg_fail(1)) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14334 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxFileType
*arg1
= (wxFileType
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
14343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14344 if (SWIG_arg_fail(1)) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 Py_INCREF(Py_None
); resultobj
= Py_None
;
14359 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxFileType
*arg1
= (wxFileType
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
14369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14370 if (SWIG_arg_fail(1)) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
;
14385 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxFileType
*arg1
= (wxFileType
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
14395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14396 if (SWIG_arg_fail(1)) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
;
14411 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxFileType
*arg1
= (wxFileType
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
14421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14422 if (SWIG_arg_fail(1)) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= result
;
14437 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxFileType
*arg1
= (wxFileType
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
14447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14448 if (SWIG_arg_fail(1)) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
14463 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxFileType
*arg1
= (wxFileType
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
14473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14474 if (SWIG_arg_fail(1)) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
;
14489 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxFileType
*arg1
= (wxFileType
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
14499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14500 if (SWIG_arg_fail(1)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
;
14515 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxFileType
*arg1
= (wxFileType
*) 0 ;
14518 wxString
*arg2
= 0 ;
14519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14522 bool temp2
= false ;
14523 bool temp3
= false ;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 PyObject
* obj2
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14533 if (SWIG_arg_fail(1)) SWIG_fail
;
14535 arg2
= wxString_in_helper(obj1
);
14536 if (arg2
== NULL
) SWIG_fail
;
14541 arg3
= wxString_in_helper(obj2
);
14542 if (arg3
== NULL
) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= result
;
14576 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxFileType
*arg1
= (wxFileType
*) 0 ;
14579 wxString
*arg2
= 0 ;
14580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14583 bool temp2
= false ;
14584 bool temp3
= false ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 PyObject
* obj2
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14594 if (SWIG_arg_fail(1)) SWIG_fail
;
14596 arg2
= wxString_in_helper(obj1
);
14597 if (arg2
== NULL
) SWIG_fail
;
14602 arg3
= wxString_in_helper(obj2
);
14603 if (arg3
== NULL
) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= result
;
14637 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxFileType
*arg1
= (wxFileType
*) 0 ;
14640 wxString
*arg2
= 0 ;
14641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14644 bool temp2
= false ;
14645 bool temp3
= false ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 PyObject
* obj2
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14655 if (SWIG_arg_fail(1)) SWIG_fail
;
14657 arg2
= wxString_in_helper(obj1
);
14658 if (arg2
== NULL
) SWIG_fail
;
14663 arg3
= wxString_in_helper(obj2
);
14664 if (arg3
== NULL
) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= result
;
14698 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxFileType
*arg1
= (wxFileType
*) 0 ;
14701 wxString
*arg2
= 0 ;
14702 wxString
*arg3
= 0 ;
14703 bool arg4
= (bool) true ;
14705 bool temp2
= false ;
14706 bool temp3
= false ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 PyObject
* obj2
= 0 ;
14710 PyObject
* obj3
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14717 if (SWIG_arg_fail(1)) SWIG_fail
;
14719 arg2
= wxString_in_helper(obj1
);
14720 if (arg2
== NULL
) SWIG_fail
;
14724 arg3
= wxString_in_helper(obj2
);
14725 if (arg3
== NULL
) SWIG_fail
;
14730 arg4
= (bool)(SWIG_As_bool(obj3
));
14731 if (SWIG_arg_fail(4)) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14766 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxFileType
*arg1
= (wxFileType
*) 0 ;
14769 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14770 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14771 int arg3
= (int) 0 ;
14773 bool temp2
= false ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 PyObject
* obj2
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "cmd",(char *) "index", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14783 if (SWIG_arg_fail(1)) SWIG_fail
;
14786 arg2
= wxString_in_helper(obj1
);
14787 if (arg2
== NULL
) SWIG_fail
;
14793 arg3
= (int)(SWIG_As_int(obj2
));
14794 if (SWIG_arg_fail(3)) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14821 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxFileType
*arg1
= (wxFileType
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
14831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
14832 if (SWIG_arg_fail(1)) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (bool)(arg1
)->Unassociate();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14849 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxString
*arg1
= 0 ;
14852 wxString
*arg2
= 0 ;
14853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14856 bool temp1
= false ;
14857 bool temp2
= false ;
14858 bool temp3
= false ;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 PyObject
* obj2
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14868 arg1
= wxString_in_helper(obj0
);
14869 if (arg1
== NULL
) SWIG_fail
;
14873 arg2
= wxString_in_helper(obj1
);
14874 if (arg2
== NULL
) SWIG_fail
;
14879 arg3
= wxString_in_helper(obj2
);
14880 if (arg3
== NULL
) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14928 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
14930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14931 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
14933 return Py_BuildValue((char *)"");
14935 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
14936 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
14941 static PyObject
*_wrap_TheMimeTypesManager_get(void) {
14944 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
14949 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxString
*arg1
= 0 ;
14952 wxString
*arg2
= 0 ;
14954 bool temp1
= false ;
14955 bool temp2
= false ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "mimeType",(char *) "wildcard", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
14964 arg1
= wxString_in_helper(obj0
);
14965 if (arg1
== NULL
) SWIG_fail
;
14969 arg2
= wxString_in_helper(obj1
);
14970 if (arg2
== NULL
) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMimeTypesManager
*result
;
15008 char *kwnames
[] = {
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
15027 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15030 int arg2
= (int) wxMAILCAP_ALL
;
15031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15033 bool temp3
= false ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 PyObject
* obj2
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15043 if (SWIG_arg_fail(1)) SWIG_fail
;
15046 arg2
= (int)(SWIG_As_int(obj1
));
15047 if (SWIG_arg_fail(2)) SWIG_fail
;
15052 arg3
= wxString_in_helper(obj2
);
15053 if (arg3
== NULL
) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
15088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15089 if (SWIG_arg_fail(1)) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 (arg1
)->ClearData();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 Py_INCREF(Py_None
); resultobj
= Py_None
;
15104 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15107 wxString
*arg2
= 0 ;
15108 wxFileType
*result
;
15109 bool temp2
= false ;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "ext", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
15117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15118 if (SWIG_arg_fail(1)) SWIG_fail
;
15120 arg2
= wxString_in_helper(obj1
);
15121 if (arg2
== NULL
) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15146 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15149 wxString
*arg2
= 0 ;
15150 wxFileType
*result
;
15151 bool temp2
= false ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "mimeType", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail
;
15162 arg2
= wxString_in_helper(obj1
);
15163 if (arg2
== NULL
) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15188 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15191 wxString
*arg2
= 0 ;
15192 bool arg3
= (bool) false ;
15194 bool temp2
= false ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15204 if (SWIG_arg_fail(1)) SWIG_fail
;
15206 arg2
= wxString_in_helper(obj1
);
15207 if (arg2
== NULL
) SWIG_fail
;
15212 arg3
= (bool)(SWIG_As_bool(obj2
));
15213 if (SWIG_arg_fail(3)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15240 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15243 wxString
*arg2
= 0 ;
15245 bool temp2
= false ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self",(char *) "filename", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
15253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15254 if (SWIG_arg_fail(1)) SWIG_fail
;
15256 arg2
= wxString_in_helper(obj1
);
15257 if (arg2
== NULL
) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
15294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15295 if (SWIG_arg_fail(1)) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= result
;
15310 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15313 wxFileTypeInfo
*arg2
= 0 ;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self",(char *) "ft", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
15321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15322 if (SWIG_arg_fail(1)) SWIG_fail
;
15324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15325 if (SWIG_arg_fail(2)) SWIG_fail
;
15326 if (arg2
== NULL
) {
15327 SWIG_null_ref("wxFileTypeInfo");
15329 if (SWIG_arg_fail(2)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 Py_INCREF(Py_None
); resultobj
= Py_None
;
15345 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15348 wxFileTypeInfo
*arg2
= 0 ;
15349 wxFileType
*result
;
15350 PyObject
* obj0
= 0 ;
15351 PyObject
* obj1
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self",(char *) "ftInfo", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(2)) SWIG_fail
;
15362 if (arg2
== NULL
) {
15363 SWIG_null_ref("wxFileTypeInfo");
15365 if (SWIG_arg_fail(2)) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
15381 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15384 wxFileType
*arg2
= (wxFileType
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "ft", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileType
, SWIG_POINTER_EXCEPTION
| 0);
15396 if (SWIG_arg_fail(2)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->Unassociate(arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15413 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 Py_INCREF(Py_None
); resultobj
= Py_None
;
15438 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
15440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15441 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
15443 return Py_BuildValue((char *)"");
15445 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
15446 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
15451 static PyObject
*_wrap_ART_TOOLBAR_get(void) {
15456 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15458 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
15465 static int _wrap_ART_MENU_set(PyObject
*) {
15466 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
15471 static PyObject
*_wrap_ART_MENU_get(void) {
15476 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15478 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
15485 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
15486 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
15491 static PyObject
*_wrap_ART_FRAME_ICON_get(void) {
15496 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15498 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
15505 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
15506 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
15511 static PyObject
*_wrap_ART_CMN_DIALOG_get(void) {
15516 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15518 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
15525 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
15526 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
15531 static PyObject
*_wrap_ART_HELP_BROWSER_get(void) {
15536 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15538 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
15545 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
15546 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
15551 static PyObject
*_wrap_ART_MESSAGE_BOX_get(void) {
15556 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15558 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
15565 static int _wrap_ART_BUTTON_set(PyObject
*) {
15566 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
15571 static PyObject
*_wrap_ART_BUTTON_get(void) {
15576 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15578 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
15585 static int _wrap_ART_OTHER_set(PyObject
*) {
15586 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
15591 static PyObject
*_wrap_ART_OTHER_get(void) {
15596 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15598 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
15605 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
15606 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
15611 static PyObject
*_wrap_ART_ADD_BOOKMARK_get(void) {
15616 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15618 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
15625 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
15626 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
15631 static PyObject
*_wrap_ART_DEL_BOOKMARK_get(void) {
15636 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15638 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
15645 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
15646 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
15651 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get(void) {
15656 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15658 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
15665 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
15666 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
15671 static PyObject
*_wrap_ART_HELP_SETTINGS_get(void) {
15676 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15678 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
15685 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
15686 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
15691 static PyObject
*_wrap_ART_HELP_BOOK_get(void) {
15696 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15698 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
15705 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
15706 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
15711 static PyObject
*_wrap_ART_HELP_FOLDER_get(void) {
15716 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15718 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
15725 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
15726 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
15731 static PyObject
*_wrap_ART_HELP_PAGE_get(void) {
15736 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15738 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
15745 static int _wrap_ART_GO_BACK_set(PyObject
*) {
15746 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
15751 static PyObject
*_wrap_ART_GO_BACK_get(void) {
15756 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15758 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
15765 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
15766 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
15771 static PyObject
*_wrap_ART_GO_FORWARD_get(void) {
15776 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15778 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
15785 static int _wrap_ART_GO_UP_set(PyObject
*) {
15786 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
15791 static PyObject
*_wrap_ART_GO_UP_get(void) {
15796 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15798 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
15805 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
15806 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
15811 static PyObject
*_wrap_ART_GO_DOWN_get(void) {
15816 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15818 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
15825 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
15826 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
15831 static PyObject
*_wrap_ART_GO_TO_PARENT_get(void) {
15836 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15838 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
15845 static int _wrap_ART_GO_HOME_set(PyObject
*) {
15846 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
15851 static PyObject
*_wrap_ART_GO_HOME_get(void) {
15856 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15858 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
15865 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
15866 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
15871 static PyObject
*_wrap_ART_FILE_OPEN_get(void) {
15876 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15878 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
15885 static int _wrap_ART_PRINT_set(PyObject
*) {
15886 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
15891 static PyObject
*_wrap_ART_PRINT_get(void) {
15896 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15898 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
15905 static int _wrap_ART_HELP_set(PyObject
*) {
15906 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
15911 static PyObject
*_wrap_ART_HELP_get(void) {
15916 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15918 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
15925 static int _wrap_ART_TIP_set(PyObject
*) {
15926 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
15931 static PyObject
*_wrap_ART_TIP_get(void) {
15936 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15938 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
15945 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
15946 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
15951 static PyObject
*_wrap_ART_REPORT_VIEW_get(void) {
15956 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15958 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
15965 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
15966 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
15971 static PyObject
*_wrap_ART_LIST_VIEW_get(void) {
15976 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15978 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
15985 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
15986 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
15991 static PyObject
*_wrap_ART_NEW_DIR_get(void) {
15996 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
15998 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
16005 static int _wrap_ART_HARDDISK_set(PyObject
*) {
16006 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
16011 static PyObject
*_wrap_ART_HARDDISK_get(void) {
16016 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16018 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
16025 static int _wrap_ART_FLOPPY_set(PyObject
*) {
16026 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
16031 static PyObject
*_wrap_ART_FLOPPY_get(void) {
16036 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16038 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
16045 static int _wrap_ART_CDROM_set(PyObject
*) {
16046 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
16051 static PyObject
*_wrap_ART_CDROM_get(void) {
16056 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16058 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
16065 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
16066 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
16071 static PyObject
*_wrap_ART_REMOVABLE_get(void) {
16076 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16078 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
16085 static int _wrap_ART_FOLDER_set(PyObject
*) {
16086 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
16091 static PyObject
*_wrap_ART_FOLDER_get(void) {
16096 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16098 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
16105 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
16106 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
16111 static PyObject
*_wrap_ART_FOLDER_OPEN_get(void) {
16116 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16118 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
16125 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
16126 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
16131 static PyObject
*_wrap_ART_GO_DIR_UP_get(void) {
16136 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16138 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
16145 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
16146 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
16151 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get(void) {
16156 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16158 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
16165 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
16166 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
16171 static PyObject
*_wrap_ART_NORMAL_FILE_get(void) {
16176 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16178 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
16185 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
16186 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
16191 static PyObject
*_wrap_ART_TICK_MARK_get(void) {
16196 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16198 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
16205 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
16206 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
16211 static PyObject
*_wrap_ART_CROSS_MARK_get(void) {
16216 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16218 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
16225 static int _wrap_ART_ERROR_set(PyObject
*) {
16226 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
16231 static PyObject
*_wrap_ART_ERROR_get(void) {
16236 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16238 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
16245 static int _wrap_ART_QUESTION_set(PyObject
*) {
16246 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
16251 static PyObject
*_wrap_ART_QUESTION_get(void) {
16256 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16258 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
16265 static int _wrap_ART_WARNING_set(PyObject
*) {
16266 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
16271 static PyObject
*_wrap_ART_WARNING_get(void) {
16276 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16278 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
16285 static int _wrap_ART_INFORMATION_set(PyObject
*) {
16286 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
16291 static PyObject
*_wrap_ART_INFORMATION_get(void) {
16296 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16298 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
16305 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
16306 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
16311 static PyObject
*_wrap_ART_MISSING_IMAGE_get(void) {
16316 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16318 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
16325 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxPyArtProvider
*result
;
16328 char *kwnames
[] = {
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
16334 if (!wxPyCheckForApp()) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 result
= (wxPyArtProvider
*)new wxPyArtProvider();
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
16348 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16351 PyObject
*arg2
= (PyObject
*) 0 ;
16352 PyObject
*arg3
= (PyObject
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 PyObject
* obj2
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "self",(char *) "_class", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16379 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "provider", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
16388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16389 if (SWIG_arg_fail(1)) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 wxPyArtProvider::PushProvider(arg1
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16407 char *kwnames
[] = {
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (bool)wxPyArtProvider::PopProvider();
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16428 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "provider", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
16438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16456 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxString
*arg1
= 0 ;
16459 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16461 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16462 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16464 bool temp1
= false ;
16465 bool temp2
= false ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 PyObject
* obj2
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "id",(char *) "client",(char *) "size", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16476 arg1
= wxString_in_helper(obj0
);
16477 if (arg1
== NULL
) SWIG_fail
;
16482 arg2
= wxString_in_helper(obj1
);
16483 if (arg2
== NULL
) SWIG_fail
;
16490 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16494 if (!wxPyCheckForApp()) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 wxBitmap
* resultptr
;
16503 resultptr
= new wxBitmap((wxBitmap
&)(result
));
16504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16528 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxString
*arg1
= 0 ;
16531 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
16532 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16533 wxSize
const &arg3_defvalue
= wxDefaultSize
;
16534 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
16536 bool temp1
= false ;
16537 bool temp2
= false ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "id",(char *) "client",(char *) "size", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16548 arg1
= wxString_in_helper(obj0
);
16549 if (arg1
== NULL
) SWIG_fail
;
16554 arg2
= wxString_in_helper(obj1
);
16555 if (arg2
== NULL
) SWIG_fail
;
16562 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16566 if (!wxPyCheckForApp()) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 wxIcon
* resultptr
;
16575 resultptr
= new wxIcon((wxIcon
&)(result
));
16576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
16600 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
16609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_EXCEPTION
| 0);
16610 if (SWIG_arg_fail(1)) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 wxPyArtProvider_Destroy(arg1
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 Py_INCREF(Py_None
); resultobj
= Py_None
;
16625 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
16627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16628 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
16630 return Py_BuildValue((char *)"");
16632 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
16641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(1)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16660 wxConfigBase
*result
;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "config", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
16667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16683 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 bool arg1
= (bool) true ;
16686 wxConfigBase
*result
;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "createOnDemand", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
16695 arg1
= (bool)(SWIG_As_bool(obj0
));
16696 if (SWIG_arg_fail(1)) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16713 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxConfigBase
*result
;
16716 char *kwnames
[] = {
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (wxConfigBase
*)wxConfigBase::Create();
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
16735 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 char *kwnames
[] = {
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 wxConfigBase::DontCreateOnDemand();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16759 wxString
*arg2
= 0 ;
16760 bool temp2
= false ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "path", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
16768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16769 if (SWIG_arg_fail(1)) SWIG_fail
;
16771 arg2
= wxString_in_helper(obj1
);
16772 if (arg2
== NULL
) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 (arg1
)->SetPath((wxString
const &)*arg2
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 Py_INCREF(Py_None
); resultobj
= Py_None
;
16797 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "self", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
16807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16808 if (SWIG_arg_fail(1)) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
16813 result
= (wxString
*) &_result_ref
;
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16823 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16832 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
16842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16843 if (SWIG_arg_fail(1)) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= result
;
16858 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self",(char *) "index", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16871 if (SWIG_arg_fail(1)) SWIG_fail
;
16873 arg2
= (long)(SWIG_As_long(obj1
));
16874 if (SWIG_arg_fail(2)) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= result
;
16890 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
16900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16901 if (SWIG_arg_fail(1)) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= result
;
16916 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self",(char *) "index", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16929 if (SWIG_arg_fail(1)) SWIG_fail
;
16931 arg2
= (long)(SWIG_As_long(obj1
));
16932 if (SWIG_arg_fail(2)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= result
;
16948 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16951 bool arg2
= (bool) false ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "recursive", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 arg2
= (bool)(SWIG_As_bool(obj1
));
16965 if (SWIG_arg_fail(2)) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16984 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16987 bool arg2
= (bool) false ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self",(char *) "recursive", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
17000 arg2
= (bool)(SWIG_As_bool(obj1
));
17001 if (SWIG_arg_fail(2)) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
17020 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17023 wxString
*arg2
= 0 ;
17025 bool temp2
= false ;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "name", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
17033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail
;
17036 arg2
= wxString_in_helper(obj1
);
17037 if (arg2
== NULL
) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17064 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17067 wxString
*arg2
= 0 ;
17069 bool temp2
= false ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "name", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
17077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail
;
17080 arg2
= wxString_in_helper(obj1
);
17081 if (arg2
== NULL
) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17108 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17111 wxString
*arg2
= 0 ;
17113 bool temp2
= false ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "name", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail
;
17124 arg2
= wxString_in_helper(obj1
);
17125 if (arg2
== NULL
) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17152 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17155 wxString
*arg2
= 0 ;
17156 wxConfigBase::EntryType result
;
17157 bool temp2
= false ;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self",(char *) "name", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
17165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17166 if (SWIG_arg_fail(1)) SWIG_fail
;
17168 arg2
= wxString_in_helper(obj1
);
17169 if (arg2
== NULL
) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= SWIG_From_int((result
));
17194 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17197 wxString
*arg2
= 0 ;
17198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17201 bool temp2
= false ;
17202 bool temp3
= false ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 PyObject
* obj2
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17212 if (SWIG_arg_fail(1)) SWIG_fail
;
17214 arg2
= wxString_in_helper(obj1
);
17215 if (arg2
== NULL
) SWIG_fail
;
17220 arg3
= wxString_in_helper(obj2
);
17221 if (arg3
== NULL
) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17261 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17264 wxString
*arg2
= 0 ;
17265 long arg3
= (long) 0 ;
17267 bool temp2
= false ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 PyObject
* obj2
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17277 if (SWIG_arg_fail(1)) SWIG_fail
;
17279 arg2
= wxString_in_helper(obj1
);
17280 if (arg2
== NULL
) SWIG_fail
;
17285 arg3
= (long)(SWIG_As_long(obj2
));
17286 if (SWIG_arg_fail(3)) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= SWIG_From_long((long)(result
));
17313 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17316 wxString
*arg2
= 0 ;
17317 double arg3
= (double) 0.0 ;
17319 bool temp2
= false ;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 PyObject
* obj2
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(1)) SWIG_fail
;
17331 arg2
= wxString_in_helper(obj1
);
17332 if (arg2
== NULL
) SWIG_fail
;
17337 arg3
= (double)(SWIG_As_double(obj2
));
17338 if (SWIG_arg_fail(3)) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= SWIG_From_double((double)(result
));
17365 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17368 wxString
*arg2
= 0 ;
17369 bool arg3
= (bool) false ;
17371 bool temp2
= false ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 PyObject
* obj2
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17381 if (SWIG_arg_fail(1)) SWIG_fail
;
17383 arg2
= wxString_in_helper(obj1
);
17384 if (arg2
== NULL
) SWIG_fail
;
17389 arg3
= (bool)(SWIG_As_bool(obj2
));
17390 if (SWIG_arg_fail(3)) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17417 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17420 wxString
*arg2
= 0 ;
17421 wxString
*arg3
= 0 ;
17423 bool temp2
= false ;
17424 bool temp3
= false ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 PyObject
* obj2
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "key",(char *) "value", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17436 arg2
= wxString_in_helper(obj1
);
17437 if (arg2
== NULL
) SWIG_fail
;
17441 arg3
= wxString_in_helper(obj2
);
17442 if (arg3
== NULL
) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17477 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17480 wxString
*arg2
= 0 ;
17483 bool temp2
= false ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 PyObject
* obj2
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "key",(char *) "value", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17493 if (SWIG_arg_fail(1)) SWIG_fail
;
17495 arg2
= wxString_in_helper(obj1
);
17496 if (arg2
== NULL
) SWIG_fail
;
17500 arg3
= (long)(SWIG_As_long(obj2
));
17501 if (SWIG_arg_fail(3)) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17527 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17530 wxString
*arg2
= 0 ;
17533 bool temp2
= false ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 PyObject
* obj2
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "key",(char *) "value", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17543 if (SWIG_arg_fail(1)) SWIG_fail
;
17545 arg2
= wxString_in_helper(obj1
);
17546 if (arg2
== NULL
) SWIG_fail
;
17550 arg3
= (double)(SWIG_As_double(obj2
));
17551 if (SWIG_arg_fail(3)) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17577 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17580 wxString
*arg2
= 0 ;
17583 bool temp2
= false ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 PyObject
* obj2
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "key",(char *) "value", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17593 if (SWIG_arg_fail(1)) SWIG_fail
;
17595 arg2
= wxString_in_helper(obj1
);
17596 if (arg2
== NULL
) SWIG_fail
;
17600 arg3
= (bool)(SWIG_As_bool(obj2
));
17601 if (SWIG_arg_fail(3)) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17627 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17630 bool arg2
= (bool) false ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "currentOnly", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17640 if (SWIG_arg_fail(1)) SWIG_fail
;
17643 arg2
= (bool)(SWIG_As_bool(obj1
));
17644 if (SWIG_arg_fail(2)) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (bool)(arg1
)->Flush(arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17663 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17666 wxString
*arg2
= 0 ;
17667 wxString
*arg3
= 0 ;
17669 bool temp2
= false ;
17670 bool temp3
= false ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 PyObject
* obj2
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17680 if (SWIG_arg_fail(1)) SWIG_fail
;
17682 arg2
= wxString_in_helper(obj1
);
17683 if (arg2
== NULL
) SWIG_fail
;
17687 arg3
= wxString_in_helper(obj2
);
17688 if (arg3
== NULL
) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17723 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17726 wxString
*arg2
= 0 ;
17727 wxString
*arg3
= 0 ;
17729 bool temp2
= false ;
17730 bool temp3
= false ;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 PyObject
* obj2
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17740 if (SWIG_arg_fail(1)) SWIG_fail
;
17742 arg2
= wxString_in_helper(obj1
);
17743 if (arg2
== NULL
) SWIG_fail
;
17747 arg3
= wxString_in_helper(obj2
);
17748 if (arg3
== NULL
) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17783 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17786 wxString
*arg2
= 0 ;
17787 bool arg3
= (bool) true ;
17789 bool temp2
= false ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17799 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 arg2
= wxString_in_helper(obj1
);
17802 if (arg2
== NULL
) SWIG_fail
;
17807 arg3
= (bool)(SWIG_As_bool(obj2
));
17808 if (SWIG_arg_fail(3)) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17835 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17838 wxString
*arg2
= 0 ;
17840 bool temp2
= false ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "key", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
17852 if (arg2
== NULL
) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17879 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
17889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17890 if (SWIG_arg_fail(1)) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (bool)(arg1
)->DeleteAll();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17907 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17910 bool arg2
= (bool) true ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "doIt", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 arg2
= (bool)(SWIG_As_bool(obj1
));
17923 if (SWIG_arg_fail(2)) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->SetExpandEnvVars(arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
17950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17951 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17968 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17971 bool arg2
= (bool) true ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self",(char *) "doIt", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
17979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
17980 if (SWIG_arg_fail(1)) SWIG_fail
;
17983 arg2
= (bool)(SWIG_As_bool(obj1
));
17984 if (SWIG_arg_fail(2)) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 (arg1
)->SetRecordDefaults(arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 Py_INCREF(Py_None
); resultobj
= Py_None
;
18001 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
18011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18012 if (SWIG_arg_fail(1)) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18029 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18032 wxString
*arg2
= 0 ;
18034 bool temp2
= false ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "str", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18045 arg2
= wxString_in_helper(obj1
);
18046 if (arg2
== NULL
) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18077 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18109 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18113 PyObject
* obj0
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
18119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18120 if (SWIG_arg_fail(1)) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18141 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18144 wxString
*arg2
= 0 ;
18145 bool temp2
= false ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self",(char *) "appName", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18154 if (SWIG_arg_fail(1)) SWIG_fail
;
18156 arg2
= wxString_in_helper(obj1
);
18157 if (arg2
== NULL
) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 (arg1
)->SetAppName((wxString
const &)*arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18185 wxString
*arg2
= 0 ;
18186 bool temp2
= false ;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "vendorName", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18195 if (SWIG_arg_fail(1)) SWIG_fail
;
18197 arg2
= wxString_in_helper(obj1
);
18198 if (arg2
== NULL
) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->SetVendorName((wxString
const &)*arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 Py_INCREF(Py_None
); resultobj
= Py_None
;
18223 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "self",(char *) "style", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
18234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail
;
18237 arg2
= (long)(SWIG_As_long(obj1
));
18238 if (SWIG_arg_fail(2)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->SetStyle(arg2
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 Py_INCREF(Py_None
); resultobj
= Py_None
;
18254 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_From_long((long)(result
));
18282 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
18284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18285 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
18287 return Py_BuildValue((char *)"");
18289 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18292 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18293 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18294 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18295 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18299 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18301 bool temp1
= false ;
18302 bool temp2
= false ;
18303 bool temp3
= false ;
18304 bool temp4
= false ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 PyObject
* obj2
= 0 ;
18308 PyObject
* obj3
= 0 ;
18309 PyObject
* obj4
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18317 arg1
= wxString_in_helper(obj0
);
18318 if (arg1
== NULL
) SWIG_fail
;
18324 arg2
= wxString_in_helper(obj1
);
18325 if (arg2
== NULL
) SWIG_fail
;
18331 arg3
= wxString_in_helper(obj2
);
18332 if (arg3
== NULL
) SWIG_fail
;
18338 arg4
= wxString_in_helper(obj3
);
18339 if (arg4
== NULL
) SWIG_fail
;
18345 arg5
= (long)(SWIG_As_long(obj4
));
18346 if (SWIG_arg_fail(5)) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
18395 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxConfig
*arg1
= (wxConfig
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
18404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfig
, SWIG_POINTER_EXCEPTION
| 0);
18405 if (SWIG_arg_fail(1)) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
18422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18423 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
18425 return Py_BuildValue((char *)"");
18427 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxString
const &arg1_defvalue
= wxPyEmptyString
;
18430 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
18431 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18432 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18435 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18436 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18437 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
18438 wxFileConfig
*result
;
18439 bool temp1
= false ;
18440 bool temp2
= false ;
18441 bool temp3
= false ;
18442 bool temp4
= false ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 PyObject
* obj2
= 0 ;
18446 PyObject
* obj3
= 0 ;
18447 PyObject
* obj4
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18455 arg1
= wxString_in_helper(obj0
);
18456 if (arg1
== NULL
) SWIG_fail
;
18462 arg2
= wxString_in_helper(obj1
);
18463 if (arg2
== NULL
) SWIG_fail
;
18469 arg3
= wxString_in_helper(obj2
);
18470 if (arg3
== NULL
) SWIG_fail
;
18476 arg4
= wxString_in_helper(obj3
);
18477 if (arg4
== NULL
) SWIG_fail
;
18483 arg5
= (long)(SWIG_As_long(obj4
));
18484 if (SWIG_arg_fail(5)) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
18533 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
18536 PyObject
* obj0
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
18542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_EXCEPTION
| 0);
18543 if (SWIG_arg_fail(1)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
18560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18561 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
18563 return Py_BuildValue((char *)"");
18565 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
18568 wxString
*arg2
= 0 ;
18569 wxConfigPathChanger
*result
;
18570 bool temp2
= false ;
18571 PyObject
* obj0
= 0 ;
18572 PyObject
* obj1
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "config",(char *) "entry", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 arg2
= wxString_in_helper(obj1
);
18582 if (arg2
== NULL
) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
18607 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
18616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18617 if (SWIG_arg_fail(1)) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 Py_INCREF(Py_None
); resultobj
= Py_None
;
18632 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
18642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_EXCEPTION
| 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
18648 result
= (wxString
*) &_result_ref
;
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18658 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18667 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
18669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18670 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
18672 return Py_BuildValue((char *)"");
18674 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxString
*arg1
= 0 ;
18678 bool temp1
= false ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "sz", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
18686 arg1
= wxString_in_helper(obj0
);
18687 if (arg1
== NULL
) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= wxExpandEnvVars((wxString
const &)*arg1
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18718 static int _wrap_DateFormatStr_set(PyObject
*) {
18719 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
18724 static PyObject
*_wrap_DateFormatStr_get(void) {
18729 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
18731 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
18738 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
18739 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
18744 static PyObject
*_wrap_TimeSpanFormatStr_get(void) {
18749 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
18751 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
18758 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxDateTime::Country arg1
;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "country", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
18768 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18769 if (SWIG_arg_fail(1)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 Py_INCREF(Py_None
); resultobj
= Py_None
;
18785 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxDateTime::Country result
;
18788 char *kwnames
[] = {
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_From_int((result
));
18807 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "country", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
18819 arg1
= (wxDateTime::Country
)(SWIG_As_int(obj0
));
18820 if (SWIG_arg_fail(1)) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18839 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "cal", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
18851 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18852 if (SWIG_arg_fail(1)) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_From_int((int)(result
));
18871 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "year", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
18882 arg1
= (int)(SWIG_As_int(obj0
));
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_From_int((int)(result
));
18901 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18904 wxDateTime::Month result
;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "cal", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
18913 arg1
= (wxDateTime::Calendar
)(SWIG_As_int(obj0
));
18914 if (SWIG_arg_fail(1)) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_From_int((result
));
18931 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 int arg1
= (int) wxDateTime::Inv_Year
;
18934 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "year",(char *) "cal", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 arg1
= (int)(SWIG_As_int(obj0
));
18946 if (SWIG_arg_fail(1)) SWIG_fail
;
18951 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
18952 if (SWIG_arg_fail(2)) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18971 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 int arg1
= (int) wxDateTime::Inv_Year
;
18975 PyObject
* obj0
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "year", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
18983 arg1
= (int)(SWIG_As_int(obj0
));
18984 if (SWIG_arg_fail(1)) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (int)wxDateTime::GetCentury(arg1
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_From_int((int)(result
));
19003 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19006 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "year",(char *) "cal", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19016 arg1
= (int)(SWIG_As_int(obj0
));
19017 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 arg2
= (wxDateTime::Calendar
)(SWIG_As_int(obj1
));
19022 if (SWIG_arg_fail(2)) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_From_int((int)(result
));
19041 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxDateTime::Month arg1
;
19044 int arg2
= (int) wxDateTime::Inv_Year
;
19045 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 PyObject
* obj2
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "month",(char *) "year",(char *) "cal", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19056 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19061 arg2
= (int)(SWIG_As_int(obj1
));
19062 if (SWIG_arg_fail(2)) SWIG_fail
;
19067 arg3
= (wxDateTime::Calendar
)(SWIG_As_int(obj2
));
19068 if (SWIG_arg_fail(3)) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_From_int((int)(result
));
19087 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxDateTime::Month arg1
;
19090 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "month",(char *) "flags", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
19100 arg1
= (wxDateTime::Month
)(SWIG_As_int(obj0
));
19101 if (SWIG_arg_fail(1)) SWIG_fail
;
19105 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19106 if (SWIG_arg_fail(2)) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19129 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxDateTime::WeekDay arg1
;
19132 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "weekday",(char *) "flags", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 arg1
= (wxDateTime::WeekDay
)(SWIG_As_int(obj0
));
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19147 arg2
= (wxDateTime::NameFlags
)(SWIG_As_int(obj1
));
19148 if (SWIG_arg_fail(2)) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19171 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
;
19173 wxString
*arg1
= (wxString
*) 0 ;
19174 wxString
*arg2
= (wxString
*) 0 ;
19175 bool temp1
= false ;
19176 bool temp2
= false ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "OUTPUT",(char *) "OUTPUT", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 arg1
= wxString_in_helper(obj0
);
19186 if (arg1
== NULL
) SWIG_fail
;
19190 arg2
= wxString_in_helper(obj1
);
19191 if (arg2
== NULL
) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 wxDateTime::GetAmPmStrings(arg1
,arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 int arg1
= (int) wxDateTime::Inv_Year
;
19227 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "year",(char *) "country", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 arg1
= (int)(SWIG_As_int(obj0
));
19239 if (SWIG_arg_fail(1)) SWIG_fail
;
19244 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19245 if (SWIG_arg_fail(2)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19264 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 int arg1
= (int) wxDateTime::Inv_Year
;
19267 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "year",(char *) "country", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 arg1
= (int)(SWIG_As_int(obj0
));
19279 if (SWIG_arg_fail(1)) SWIG_fail
;
19284 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19285 if (SWIG_arg_fail(2)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19296 wxDateTime
* resultptr
;
19297 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19306 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 int arg1
= (int) wxDateTime::Inv_Year
;
19309 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "year",(char *) "country", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19320 arg1
= (int)(SWIG_As_int(obj0
));
19321 if (SWIG_arg_fail(1)) SWIG_fail
;
19326 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
19327 if (SWIG_arg_fail(2)) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19338 wxDateTime
* resultptr
;
19339 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19348 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19351 char *kwnames
[] = {
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= wxDateTime::Now();
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19364 wxDateTime
* resultptr
;
19365 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19374 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19377 char *kwnames
[] = {
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= wxDateTime::UNow();
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19390 wxDateTime
* resultptr
;
19391 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19400 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19403 char *kwnames
[] = {
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= wxDateTime::Today();
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 wxDateTime
* resultptr
;
19417 resultptr
= new wxDateTime((wxDateTime
&)(result
));
19418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19426 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxDateTime
*result
;
19429 char *kwnames
[] = {
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (wxDateTime
*)new wxDateTime();
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19448 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19451 wxDateTime
*result
;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "timet", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
19459 arg1
= (time_t)(SWIG_As_unsigned_SS_int(obj0
));
19460 if (SWIG_arg_fail(1)) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (wxDateTime
*)new wxDateTime(arg1
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19476 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19479 wxDateTime
*result
;
19480 PyObject
* obj0
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "jdn", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
19487 arg1
= (double)(SWIG_As_double(obj0
));
19488 if (SWIG_arg_fail(1)) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 result
= (wxDateTime
*)new wxDateTime(arg1
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19504 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19507 int arg2
= (int) 0 ;
19508 int arg3
= (int) 0 ;
19509 int arg4
= (int) 0 ;
19510 wxDateTime
*result
;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 PyObject
* obj2
= 0 ;
19514 PyObject
* obj3
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19521 arg1
= (int)(SWIG_As_int(obj0
));
19522 if (SWIG_arg_fail(1)) SWIG_fail
;
19526 arg2
= (int)(SWIG_As_int(obj1
));
19527 if (SWIG_arg_fail(2)) SWIG_fail
;
19532 arg3
= (int)(SWIG_As_int(obj2
));
19533 if (SWIG_arg_fail(3)) SWIG_fail
;
19538 arg4
= (int)(SWIG_As_int(obj3
));
19539 if (SWIG_arg_fail(4)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19556 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19559 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19560 int arg3
= (int) wxDateTime::Inv_Year
;
19561 int arg4
= (int) 0 ;
19562 int arg5
= (int) 0 ;
19563 int arg6
= (int) 0 ;
19564 int arg7
= (int) 0 ;
19565 wxDateTime
*result
;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 PyObject
* obj3
= 0 ;
19570 PyObject
* obj4
= 0 ;
19571 PyObject
* obj5
= 0 ;
19572 PyObject
* obj6
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19579 arg1
= (int)(SWIG_As_int(obj0
));
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19584 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19585 if (SWIG_arg_fail(2)) SWIG_fail
;
19590 arg3
= (int)(SWIG_As_int(obj2
));
19591 if (SWIG_arg_fail(3)) SWIG_fail
;
19596 arg4
= (int)(SWIG_As_int(obj3
));
19597 if (SWIG_arg_fail(4)) SWIG_fail
;
19602 arg5
= (int)(SWIG_As_int(obj4
));
19603 if (SWIG_arg_fail(5)) SWIG_fail
;
19608 arg6
= (int)(SWIG_As_int(obj5
));
19609 if (SWIG_arg_fail(6)) SWIG_fail
;
19614 arg7
= (int)(SWIG_As_int(obj6
));
19615 if (SWIG_arg_fail(7)) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
19632 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
19641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19642 if (SWIG_arg_fail(1)) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 Py_INCREF(Py_None
); resultobj
= Py_None
;
19657 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19660 wxDateTime
*result
;
19661 PyObject
* obj0
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
19667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
19673 result
= (wxDateTime
*) &_result_ref
;
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19686 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19690 wxDateTime
*result
;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "timet", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
19698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19699 if (SWIG_arg_fail(1)) SWIG_fail
;
19701 arg2
= (time_t)(SWIG_As_unsigned_SS_int(obj1
));
19702 if (SWIG_arg_fail(2)) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19708 result
= (wxDateTime
*) &_result_ref
;
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19721 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19725 wxDateTime
*result
;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "jdn", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
19733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail
;
19736 arg2
= (double)(SWIG_As_double(obj1
));
19737 if (SWIG_arg_fail(2)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
19743 result
= (wxDateTime
*) &_result_ref
;
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19756 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19760 int arg3
= (int) 0 ;
19761 int arg4
= (int) 0 ;
19762 int arg5
= (int) 0 ;
19763 wxDateTime
*result
;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 PyObject
* obj2
= 0 ;
19767 PyObject
* obj3
= 0 ;
19768 PyObject
* obj4
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 arg2
= (int)(SWIG_As_int(obj1
));
19778 if (SWIG_arg_fail(2)) SWIG_fail
;
19782 arg3
= (int)(SWIG_As_int(obj2
));
19783 if (SWIG_arg_fail(3)) SWIG_fail
;
19788 arg4
= (int)(SWIG_As_int(obj3
));
19789 if (SWIG_arg_fail(4)) SWIG_fail
;
19794 arg5
= (int)(SWIG_As_int(obj4
));
19795 if (SWIG_arg_fail(5)) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19802 result
= (wxDateTime
*) &_result_ref
;
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19815 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19819 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
19820 int arg4
= (int) wxDateTime::Inv_Year
;
19821 int arg5
= (int) 0 ;
19822 int arg6
= (int) 0 ;
19823 int arg7
= (int) 0 ;
19824 int arg8
= (int) 0 ;
19825 wxDateTime
*result
;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 PyObject
* obj2
= 0 ;
19829 PyObject
* obj3
= 0 ;
19830 PyObject
* obj4
= 0 ;
19831 PyObject
* obj5
= 0 ;
19832 PyObject
* obj6
= 0 ;
19833 PyObject
* obj7
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail
;
19842 arg2
= (int)(SWIG_As_int(obj1
));
19843 if (SWIG_arg_fail(2)) SWIG_fail
;
19847 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
19848 if (SWIG_arg_fail(3)) SWIG_fail
;
19853 arg4
= (int)(SWIG_As_int(obj3
));
19854 if (SWIG_arg_fail(4)) SWIG_fail
;
19859 arg5
= (int)(SWIG_As_int(obj4
));
19860 if (SWIG_arg_fail(5)) SWIG_fail
;
19865 arg6
= (int)(SWIG_As_int(obj5
));
19866 if (SWIG_arg_fail(6)) SWIG_fail
;
19871 arg7
= (int)(SWIG_As_int(obj6
));
19872 if (SWIG_arg_fail(7)) SWIG_fail
;
19877 arg8
= (int)(SWIG_As_int(obj7
));
19878 if (SWIG_arg_fail(8)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
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_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19901 wxDateTime
*result
;
19902 PyObject
* obj0
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
19908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
19914 result
= (wxDateTime
*) &_result_ref
;
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19927 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19931 wxDateTime
*result
;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "year", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail
;
19942 arg2
= (int)(SWIG_As_int(obj1
));
19943 if (SWIG_arg_fail(2)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
19949 result
= (wxDateTime
*) &_result_ref
;
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19962 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19965 wxDateTime::Month arg2
;
19966 wxDateTime
*result
;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "month", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
19975 if (SWIG_arg_fail(1)) SWIG_fail
;
19977 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
19978 if (SWIG_arg_fail(2)) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
19984 result
= (wxDateTime
*) &_result_ref
;
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19997 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20001 wxDateTime
*result
;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self",(char *) "day", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20010 if (SWIG_arg_fail(1)) SWIG_fail
;
20012 arg2
= (int)(SWIG_As_int(obj1
));
20013 if (SWIG_arg_fail(2)) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
20019 result
= (wxDateTime
*) &_result_ref
;
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20032 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20036 wxDateTime
*result
;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self",(char *) "hour", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
20044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20045 if (SWIG_arg_fail(1)) SWIG_fail
;
20047 arg2
= (int)(SWIG_As_int(obj1
));
20048 if (SWIG_arg_fail(2)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
20054 result
= (wxDateTime
*) &_result_ref
;
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20067 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20071 wxDateTime
*result
;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "minute", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
20079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20080 if (SWIG_arg_fail(1)) SWIG_fail
;
20082 arg2
= (int)(SWIG_As_int(obj1
));
20083 if (SWIG_arg_fail(2)) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
20089 result
= (wxDateTime
*) &_result_ref
;
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20102 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20106 wxDateTime
*result
;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self",(char *) "second", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20115 if (SWIG_arg_fail(1)) SWIG_fail
;
20117 arg2
= (int)(SWIG_As_int(obj1
));
20118 if (SWIG_arg_fail(2)) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
20124 result
= (wxDateTime
*) &_result_ref
;
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20137 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20141 wxDateTime
*result
;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "millisecond", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 arg2
= (int)(SWIG_As_int(obj1
));
20153 if (SWIG_arg_fail(2)) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
20159 result
= (wxDateTime
*) &_result_ref
;
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20172 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20175 wxDateTime::WeekDay arg2
;
20176 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20177 wxDateTime
*result
;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 PyObject
* obj2
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20189 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20190 if (SWIG_arg_fail(2)) SWIG_fail
;
20194 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20195 if (SWIG_arg_fail(3)) SWIG_fail
;
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20202 result
= (wxDateTime
*) &_result_ref
;
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20215 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20218 wxDateTime::WeekDay arg2
;
20219 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 PyObject
* obj2
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20233 if (SWIG_arg_fail(2)) SWIG_fail
;
20237 arg3
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj2
));
20238 if (SWIG_arg_fail(3)) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20249 wxDateTime
* resultptr
;
20250 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20259 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20262 wxDateTime::WeekDay arg2
;
20263 wxDateTime
*result
;
20264 PyObject
* obj0
= 0 ;
20265 PyObject
* obj1
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self",(char *) "weekday", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20275 if (SWIG_arg_fail(2)) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
20281 result
= (wxDateTime
*) &_result_ref
;
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20294 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20297 wxDateTime::WeekDay arg2
;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self",(char *) "weekday", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail
;
20309 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20310 if (SWIG_arg_fail(2)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 wxDateTime
* resultptr
;
20321 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20330 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20333 wxDateTime::WeekDay arg2
;
20334 wxDateTime
*result
;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "weekday", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20343 if (SWIG_arg_fail(1)) SWIG_fail
;
20345 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20346 if (SWIG_arg_fail(2)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20352 result
= (wxDateTime
*) &_result_ref
;
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20365 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20368 wxDateTime::WeekDay arg2
;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "weekday", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20380 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20381 if (SWIG_arg_fail(2)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20391 wxDateTime
* resultptr
;
20392 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20401 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20404 wxDateTime::WeekDay arg2
;
20405 int arg3
= (int) 1 ;
20406 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20407 int arg5
= (int) wxDateTime::Inv_Year
;
20409 PyObject
* obj0
= 0 ;
20410 PyObject
* obj1
= 0 ;
20411 PyObject
* obj2
= 0 ;
20412 PyObject
* obj3
= 0 ;
20413 PyObject
* obj4
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20420 if (SWIG_arg_fail(1)) SWIG_fail
;
20422 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20423 if (SWIG_arg_fail(2)) SWIG_fail
;
20427 arg3
= (int)(SWIG_As_int(obj2
));
20428 if (SWIG_arg_fail(3)) SWIG_fail
;
20433 arg4
= (wxDateTime::Month
)(SWIG_As_int(obj3
));
20434 if (SWIG_arg_fail(4)) SWIG_fail
;
20439 arg5
= (int)(SWIG_As_int(obj4
));
20440 if (SWIG_arg_fail(5)) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20459 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20462 wxDateTime::WeekDay arg2
;
20463 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20464 int arg4
= (int) wxDateTime::Inv_Year
;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20468 PyObject
* obj2
= 0 ;
20469 PyObject
* obj3
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20476 if (SWIG_arg_fail(1)) SWIG_fail
;
20478 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20479 if (SWIG_arg_fail(2)) SWIG_fail
;
20483 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20484 if (SWIG_arg_fail(3)) SWIG_fail
;
20489 arg4
= (int)(SWIG_As_int(obj3
));
20490 if (SWIG_arg_fail(4)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20509 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20512 wxDateTime::WeekDay arg2
;
20513 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20514 int arg4
= (int) wxDateTime::Inv_Year
;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 PyObject
* obj2
= 0 ;
20519 PyObject
* obj3
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail
;
20528 arg2
= (wxDateTime::WeekDay
)(SWIG_As_int(obj1
));
20529 if (SWIG_arg_fail(2)) SWIG_fail
;
20533 arg3
= (wxDateTime::Month
)(SWIG_As_int(obj2
));
20534 if (SWIG_arg_fail(3)) SWIG_fail
;
20539 arg4
= (int)(SWIG_As_int(obj3
));
20540 if (SWIG_arg_fail(4)) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
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_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20565 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20566 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 PyObject
* obj2
= 0 ;
20571 PyObject
* obj3
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20578 if (SWIG_arg_fail(1)) SWIG_fail
;
20580 arg2
= (int)(SWIG_As_int(obj1
));
20581 if (SWIG_arg_fail(2)) SWIG_fail
;
20585 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20586 if (SWIG_arg_fail(3)) SWIG_fail
;
20591 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20592 if (SWIG_arg_fail(4)) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20611 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20615 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20616 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 PyObject
* obj2
= 0 ;
20621 PyObject
* obj3
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20628 if (SWIG_arg_fail(1)) SWIG_fail
;
20630 arg2
= (int)(SWIG_As_int(obj1
));
20631 if (SWIG_arg_fail(2)) SWIG_fail
;
20635 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20636 if (SWIG_arg_fail(3)) SWIG_fail
;
20641 arg4
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj3
));
20642 if (SWIG_arg_fail(4)) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 wxDateTime
* resultptr
;
20654 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20663 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20667 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20678 arg1
= (int)(SWIG_As_int(obj0
));
20679 if (SWIG_arg_fail(1)) SWIG_fail
;
20682 arg2
= (int)(SWIG_As_int(obj1
));
20683 if (SWIG_arg_fail(2)) SWIG_fail
;
20687 arg3
= (wxDateTime::WeekDay
)(SWIG_As_int(obj2
));
20688 if (SWIG_arg_fail(3)) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20699 wxDateTime
* resultptr
;
20700 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20709 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20712 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20713 int arg3
= (int) wxDateTime::Inv_Year
;
20714 wxDateTime
*result
;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 PyObject
* obj2
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self",(char *) "month",(char *) "year", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20724 if (SWIG_arg_fail(1)) SWIG_fail
;
20727 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20728 if (SWIG_arg_fail(2)) SWIG_fail
;
20733 arg3
= (int)(SWIG_As_int(obj2
));
20734 if (SWIG_arg_fail(3)) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20741 result
= (wxDateTime
*) &_result_ref
;
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20754 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20757 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
20758 int arg3
= (int) wxDateTime::Inv_Year
;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 PyObject
* obj2
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "month",(char *) "year", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20769 if (SWIG_arg_fail(1)) SWIG_fail
;
20772 arg2
= (wxDateTime::Month
)(SWIG_As_int(obj1
));
20773 if (SWIG_arg_fail(2)) SWIG_fail
;
20778 arg3
= (int)(SWIG_As_int(obj2
));
20779 if (SWIG_arg_fail(3)) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 wxDateTime
* resultptr
;
20791 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20800 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20804 wxDateTime
*result
;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self",(char *) "yday", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20813 if (SWIG_arg_fail(1)) SWIG_fail
;
20815 arg2
= (int)(SWIG_As_int(obj1
));
20816 if (SWIG_arg_fail(2)) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
20822 result
= (wxDateTime
*) &_result_ref
;
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20835 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self",(char *) "yday", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail
;
20850 arg2
= (int)(SWIG_As_int(obj1
));
20851 if (SWIG_arg_fail(2)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (arg1
)->GetYearDay(arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 wxDateTime
* resultptr
;
20862 resultptr
= new wxDateTime((wxDateTime
&)(result
));
20863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20871 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20882 if (SWIG_arg_fail(1)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (double)(arg1
)->GetJulianDayNumber();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_From_double((double)(result
));
20899 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
20909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20910 if (SWIG_arg_fail(1)) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 result
= (double)(arg1
)->GetJDN();
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_From_double((double)(result
));
20927 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
20937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20938 if (SWIG_arg_fail(1)) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_double((double)(result
));
20955 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (double)(arg1
)->GetMJD();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_From_double((double)(result
));
20983 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
20993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
20994 if (SWIG_arg_fail(1)) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (double)(arg1
)->GetRataDie();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_From_double((double)(result
));
21011 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21014 wxDateTime::TimeZone
*arg2
= 0 ;
21015 bool arg3
= (bool) false ;
21017 bool temp2
= false ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 PyObject
* obj2
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail
;
21029 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21034 arg3
= (bool)(SWIG_As_bool(obj2
));
21035 if (SWIG_arg_fail(3)) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 wxDateTime
* resultptr
;
21047 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21051 if (temp2
) delete arg2
;
21056 if (temp2
) delete arg2
;
21062 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21065 wxDateTime::TimeZone
*arg2
= 0 ;
21066 bool arg3
= (bool) false ;
21067 wxDateTime
*result
;
21068 bool temp2
= false ;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 PyObject
* obj2
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21078 if (SWIG_arg_fail(1)) SWIG_fail
;
21080 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21085 arg3
= (bool)(SWIG_As_bool(obj2
));
21086 if (SWIG_arg_fail(3)) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
21093 result
= (wxDateTime
*) &_result_ref
;
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21101 if (temp2
) delete arg2
;
21106 if (temp2
) delete arg2
;
21112 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21115 bool arg2
= (bool) false ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self",(char *) "noDST", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21125 if (SWIG_arg_fail(1)) SWIG_fail
;
21128 arg2
= (bool)(SWIG_As_bool(obj1
));
21129 if (SWIG_arg_fail(2)) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (arg1
)->ToGMT(arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 wxDateTime
* resultptr
;
21141 resultptr
= new wxDateTime((wxDateTime
&)(result
));
21142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21150 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21153 bool arg2
= (bool) false ;
21154 wxDateTime
*result
;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "noDST", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
21162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail
;
21166 arg2
= (bool)(SWIG_As_bool(obj1
));
21167 if (SWIG_arg_fail(2)) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
21174 result
= (wxDateTime
*) &_result_ref
;
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
21187 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21190 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self",(char *) "country", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
21199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21204 if (SWIG_arg_fail(2)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_From_int((int)(result
));
21223 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
21233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21251 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21255 PyObject
* obj0
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
21261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
21279 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21282 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21283 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21285 bool temp2
= false ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "tz", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail
;
21297 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_From_int((int)(result
));
21312 if (temp2
) delete arg2
;
21317 if (temp2
) delete arg2
;
21323 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21326 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21327 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21328 wxDateTime::Month result
;
21329 bool temp2
= false ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "tz", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_From_int((result
));
21354 if (temp2
) delete arg2
;
21359 if (temp2
) delete arg2
;
21365 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21368 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21369 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21371 bool temp2
= false ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "tz", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_From_int((int)(result
));
21398 if (temp2
) delete arg2
;
21403 if (temp2
) delete arg2
;
21409 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21412 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21413 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21414 wxDateTime::WeekDay result
;
21415 bool temp2
= false ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "tz", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21427 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_From_int((result
));
21440 if (temp2
) delete arg2
;
21445 if (temp2
) delete arg2
;
21451 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21454 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21455 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21457 bool temp2
= false ;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self",(char *) "tz", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
21465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21466 if (SWIG_arg_fail(1)) SWIG_fail
;
21469 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_From_int((int)(result
));
21484 if (temp2
) delete arg2
;
21489 if (temp2
) delete arg2
;
21495 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21498 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21499 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21501 bool temp2
= false ;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "tz", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21513 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_From_int((int)(result
));
21528 if (temp2
) delete arg2
;
21533 if (temp2
) delete arg2
;
21539 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21542 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21543 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21545 bool temp2
= false ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "tz", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21557 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_From_int((int)(result
));
21572 if (temp2
) delete arg2
;
21577 if (temp2
) delete arg2
;
21583 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21586 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21587 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21589 bool temp2
= false ;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self",(char *) "tz", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
21597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21598 if (SWIG_arg_fail(1)) SWIG_fail
;
21601 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_From_int((int)(result
));
21616 if (temp2
) delete arg2
;
21621 if (temp2
) delete arg2
;
21627 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21630 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
21631 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
21633 bool temp2
= false ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "tz", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
21641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail
;
21645 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_From_int((int)(result
));
21660 if (temp2
) delete arg2
;
21665 if (temp2
) delete arg2
;
21671 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21674 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21675 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21676 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21678 bool temp3
= false ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 PyObject
* obj2
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "self",(char *) "flags",(char *) "tz", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21688 if (SWIG_arg_fail(1)) SWIG_fail
;
21691 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21692 if (SWIG_arg_fail(2)) SWIG_fail
;
21697 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_From_int((int)(result
));
21712 if (temp3
) delete arg3
;
21717 if (temp3
) delete arg3
;
21723 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21726 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
21727 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21728 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21730 bool temp3
= false ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 PyObject
* obj2
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "flags",(char *) "tz", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21740 if (SWIG_arg_fail(1)) SWIG_fail
;
21743 arg2
= (wxDateTime::WeekFlags
)(SWIG_As_int(obj1
));
21744 if (SWIG_arg_fail(2)) SWIG_fail
;
21749 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= SWIG_From_int((int)(result
));
21764 if (temp3
) delete arg3
;
21769 if (temp3
) delete arg3
;
21775 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21778 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self",(char *) "country", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
21787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 arg2
= (wxDateTime::Country
)(SWIG_As_int(obj1
));
21792 if (SWIG_arg_fail(2)) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21811 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21814 wxDateTime
*arg2
= 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "datetime", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail
;
21826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21827 if (SWIG_arg_fail(2)) SWIG_fail
;
21828 if (arg2
== NULL
) {
21829 SWIG_null_ref("wxDateTime");
21831 if (SWIG_arg_fail(2)) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21849 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21852 wxDateTime
*arg2
= 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "datetime", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail
;
21864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21865 if (SWIG_arg_fail(2)) SWIG_fail
;
21866 if (arg2
== NULL
) {
21867 SWIG_null_ref("wxDateTime");
21869 if (SWIG_arg_fail(2)) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21887 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21890 wxDateTime
*arg2
= 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "datetime", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
21899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail
;
21902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21903 if (SWIG_arg_fail(2)) SWIG_fail
;
21904 if (arg2
== NULL
) {
21905 SWIG_null_ref("wxDateTime");
21907 if (SWIG_arg_fail(2)) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21925 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21928 wxDateTime
*arg2
= 0 ;
21929 wxDateTime
*arg3
= 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "t1",(char *) "t2", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail
;
21942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21943 if (SWIG_arg_fail(2)) SWIG_fail
;
21944 if (arg2
== NULL
) {
21945 SWIG_null_ref("wxDateTime");
21947 if (SWIG_arg_fail(2)) SWIG_fail
;
21950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21951 if (SWIG_arg_fail(3)) SWIG_fail
;
21952 if (arg3
== NULL
) {
21953 SWIG_null_ref("wxDateTime");
21955 if (SWIG_arg_fail(3)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21973 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21976 wxDateTime
*arg2
= 0 ;
21977 wxDateTime
*arg3
= 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "t1",(char *) "t2", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21988 if (SWIG_arg_fail(1)) SWIG_fail
;
21990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(2)) SWIG_fail
;
21992 if (arg2
== NULL
) {
21993 SWIG_null_ref("wxDateTime");
21995 if (SWIG_arg_fail(2)) SWIG_fail
;
21998 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
21999 if (SWIG_arg_fail(3)) SWIG_fail
;
22000 if (arg3
== NULL
) {
22001 SWIG_null_ref("wxDateTime");
22003 if (SWIG_arg_fail(3)) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22024 wxDateTime
*arg2
= 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "dt", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail
;
22036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22037 if (SWIG_arg_fail(2)) SWIG_fail
;
22038 if (arg2
== NULL
) {
22039 SWIG_null_ref("wxDateTime");
22041 if (SWIG_arg_fail(2)) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22059 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22062 wxDateTime
*arg2
= 0 ;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "dt", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
22071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22072 if (SWIG_arg_fail(1)) SWIG_fail
;
22074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22075 if (SWIG_arg_fail(2)) SWIG_fail
;
22076 if (arg2
== NULL
) {
22077 SWIG_null_ref("wxDateTime");
22079 if (SWIG_arg_fail(2)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22097 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22100 wxDateTime
*arg2
= 0 ;
22101 wxTimeSpan
*arg3
= 0 ;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 PyObject
* obj2
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "dt",(char *) "ts", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22115 if (SWIG_arg_fail(2)) SWIG_fail
;
22116 if (arg2
== NULL
) {
22117 SWIG_null_ref("wxDateTime");
22119 if (SWIG_arg_fail(2)) SWIG_fail
;
22122 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22123 if (SWIG_arg_fail(3)) SWIG_fail
;
22124 if (arg3
== NULL
) {
22125 SWIG_null_ref("wxTimeSpan");
22127 if (SWIG_arg_fail(3)) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22145 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22148 wxTimeSpan
*arg2
= 0 ;
22149 wxDateTime
*result
;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "diff", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22161 if (SWIG_arg_fail(2)) SWIG_fail
;
22162 if (arg2
== NULL
) {
22163 SWIG_null_ref("wxTimeSpan");
22165 if (SWIG_arg_fail(2)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22171 result
= (wxDateTime
*) &_result_ref
;
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22184 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22187 wxDateSpan
*arg2
= 0 ;
22188 wxDateTime
*result
;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "diff", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22197 if (SWIG_arg_fail(1)) SWIG_fail
;
22199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22200 if (SWIG_arg_fail(2)) SWIG_fail
;
22201 if (arg2
== NULL
) {
22202 SWIG_null_ref("wxDateSpan");
22204 if (SWIG_arg_fail(2)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22210 result
= (wxDateTime
*) &_result_ref
;
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22223 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22226 wxTimeSpan
*arg2
= 0 ;
22227 wxDateTime
*result
;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self",(char *) "diff", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
22235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22236 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(2)) SWIG_fail
;
22240 if (arg2
== NULL
) {
22241 SWIG_null_ref("wxTimeSpan");
22243 if (SWIG_arg_fail(2)) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22249 result
= (wxDateTime
*) &_result_ref
;
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22262 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22265 wxDateSpan
*arg2
= 0 ;
22266 wxDateTime
*result
;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self",(char *) "diff", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
22274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22275 if (SWIG_arg_fail(1)) SWIG_fail
;
22277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(2)) SWIG_fail
;
22279 if (arg2
== NULL
) {
22280 SWIG_null_ref("wxDateSpan");
22282 if (SWIG_arg_fail(2)) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
22288 result
= (wxDateTime
*) &_result_ref
;
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22301 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22304 wxDateTime
*arg2
= 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self",(char *) "dt", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail
;
22316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22317 if (SWIG_arg_fail(2)) SWIG_fail
;
22318 if (arg2
== NULL
) {
22319 SWIG_null_ref("wxDateTime");
22321 if (SWIG_arg_fail(2)) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22331 wxTimeSpan
* resultptr
;
22332 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22341 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
22342 PyObject
*resultobj
;
22343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22344 wxTimeSpan
*arg2
= 0 ;
22345 wxDateTime
*result
;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22349 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(2)) SWIG_fail
;
22355 if (arg2
== NULL
) {
22356 SWIG_null_ref("wxTimeSpan");
22358 if (SWIG_arg_fail(2)) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22364 result
= (wxDateTime
*) &_result_ref
;
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22377 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
22378 PyObject
*resultobj
;
22379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22380 wxDateSpan
*arg2
= 0 ;
22381 wxDateTime
*result
;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22385 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
22386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22387 if (SWIG_arg_fail(1)) SWIG_fail
;
22389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(2)) SWIG_fail
;
22391 if (arg2
== NULL
) {
22392 SWIG_null_ref("wxDateSpan");
22394 if (SWIG_arg_fail(2)) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
22400 result
= (wxDateTime
*) &_result_ref
;
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22413 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
22418 argc
= PyObject_Length(args
);
22419 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22420 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22426 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22436 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22444 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
22452 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22462 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22470 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
22475 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
22480 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
22481 PyObject
*resultobj
;
22482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22483 wxTimeSpan
*arg2
= 0 ;
22484 wxDateTime
*result
;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22488 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22490 if (SWIG_arg_fail(1)) SWIG_fail
;
22492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22493 if (SWIG_arg_fail(2)) SWIG_fail
;
22494 if (arg2
== NULL
) {
22495 SWIG_null_ref("wxTimeSpan");
22497 if (SWIG_arg_fail(2)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22503 result
= (wxDateTime
*) &_result_ref
;
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22516 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
22517 PyObject
*resultobj
;
22518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22519 wxDateSpan
*arg2
= 0 ;
22520 wxDateTime
*result
;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22524 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
22525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
22526 if (SWIG_arg_fail(1)) SWIG_fail
;
22528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(2)) SWIG_fail
;
22530 if (arg2
== NULL
) {
22531 SWIG_null_ref("wxDateSpan");
22533 if (SWIG_arg_fail(2)) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
22539 result
= (wxDateTime
*) &_result_ref
;
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
22552 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
22557 argc
= PyObject_Length(args
);
22558 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22559 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22575 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22583 return _wrap_DateTime___isub____SWIG_0(self
,args
);
22591 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22601 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22609 return _wrap_DateTime___isub____SWIG_1(self
,args
);
22614 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
22619 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
22620 PyObject
*resultobj
;
22621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22622 wxTimeSpan
*arg2
= 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22627 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22629 if (SWIG_arg_fail(1)) SWIG_fail
;
22631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(2)) SWIG_fail
;
22633 if (arg2
== NULL
) {
22634 SWIG_null_ref("wxTimeSpan");
22636 if (SWIG_arg_fail(2)) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 wxDateTime
* resultptr
;
22647 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22656 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
22657 PyObject
*resultobj
;
22658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22659 wxDateSpan
*arg2
= 0 ;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22664 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
22665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22666 if (SWIG_arg_fail(1)) SWIG_fail
;
22668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22669 if (SWIG_arg_fail(2)) SWIG_fail
;
22670 if (arg2
== NULL
) {
22671 SWIG_null_ref("wxDateSpan");
22673 if (SWIG_arg_fail(2)) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22683 wxDateTime
* resultptr
;
22684 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22693 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
22698 argc
= PyObject_Length(args
);
22699 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22724 return _wrap_DateTime___add____SWIG_0(self
,args
);
22732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22742 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22750 return _wrap_DateTime___add____SWIG_1(self
,args
);
22755 Py_INCREF(Py_NotImplemented
);
22756 return Py_NotImplemented
;
22760 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
22761 PyObject
*resultobj
;
22762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22763 wxDateTime
*arg2
= 0 ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22768 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22770 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22773 if (SWIG_arg_fail(2)) SWIG_fail
;
22774 if (arg2
== NULL
) {
22775 SWIG_null_ref("wxDateTime");
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 wxTimeSpan
* resultptr
;
22788 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
22789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22797 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
22798 PyObject
*resultobj
;
22799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22800 wxTimeSpan
*arg2
= 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22805 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail
;
22809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(2)) SWIG_fail
;
22811 if (arg2
== NULL
) {
22812 SWIG_null_ref("wxTimeSpan");
22814 if (SWIG_arg_fail(2)) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22824 wxDateTime
* resultptr
;
22825 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22834 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
22835 PyObject
*resultobj
;
22836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22837 wxDateSpan
*arg2
= 0 ;
22839 PyObject
* obj0
= 0 ;
22840 PyObject
* obj1
= 0 ;
22842 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
22843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22844 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
22847 if (SWIG_arg_fail(2)) SWIG_fail
;
22848 if (arg2
== NULL
) {
22849 SWIG_null_ref("wxDateSpan");
22851 if (SWIG_arg_fail(2)) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 wxDateTime
* resultptr
;
22862 resultptr
= new wxDateTime((wxDateTime
&)(result
));
22863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
22871 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
22876 argc
= PyObject_Length(args
);
22877 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
22878 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22884 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22894 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22902 return _wrap_DateTime___sub____SWIG_0(self
,args
);
22910 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22920 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
22928 return _wrap_DateTime___sub____SWIG_1(self
,args
);
22936 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
22946 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
22954 return _wrap_DateTime___sub____SWIG_2(self
,args
);
22959 Py_INCREF(Py_NotImplemented
);
22960 return Py_NotImplemented
;
22964 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
22965 PyObject
*resultobj
;
22966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22967 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22972 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
22973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22974 if (SWIG_arg_fail(1)) SWIG_fail
;
22975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22976 if (SWIG_arg_fail(2)) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22993 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
22994 PyObject
*resultobj
;
22995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22996 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23001 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
23002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23003 if (SWIG_arg_fail(1)) SWIG_fail
;
23004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23005 if (SWIG_arg_fail(2)) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23022 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
23023 PyObject
*resultobj
;
23024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23025 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23030 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
23031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail
;
23033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23034 if (SWIG_arg_fail(2)) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23051 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
23052 PyObject
*resultobj
;
23053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23054 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 PyObject
* obj1
= 0 ;
23059 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
23060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23061 if (SWIG_arg_fail(1)) SWIG_fail
;
23062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23063 if (SWIG_arg_fail(2)) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23080 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
23081 PyObject
*resultobj
;
23082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23083 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23088 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
23089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23090 if (SWIG_arg_fail(1)) SWIG_fail
;
23091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23092 if (SWIG_arg_fail(2)) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23109 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
23110 PyObject
*resultobj
;
23111 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23112 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23117 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
23118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail
;
23120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(2)) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23138 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23141 wxString
*arg2
= 0 ;
23143 bool temp2
= false ;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "date", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
23151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail
;
23154 arg2
= wxString_in_helper(obj1
);
23155 if (arg2
== NULL
) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_From_int((int)(result
));
23182 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23185 wxString
*arg2
= 0 ;
23186 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
23187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23188 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
23189 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
23191 bool temp2
= false ;
23192 bool temp3
= false ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 PyObject
* obj2
= 0 ;
23196 PyObject
* obj3
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail
;
23205 arg2
= wxString_in_helper(obj1
);
23206 if (arg2
== NULL
) SWIG_fail
;
23211 arg3
= wxString_in_helper(obj2
);
23212 if (arg3
== NULL
) SWIG_fail
;
23218 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23219 if (SWIG_arg_fail(4)) SWIG_fail
;
23220 if (arg4
== NULL
) {
23221 SWIG_null_ref("wxDateTime");
23223 if (SWIG_arg_fail(4)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= SWIG_From_int((int)(result
));
23258 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23261 wxString
*arg2
= 0 ;
23263 bool temp2
= false ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "datetime", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23272 if (SWIG_arg_fail(1)) SWIG_fail
;
23274 arg2
= wxString_in_helper(obj1
);
23275 if (arg2
== NULL
) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_From_int((int)(result
));
23302 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23305 wxString
*arg2
= 0 ;
23307 bool temp2
= false ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "date", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
23315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23316 if (SWIG_arg_fail(1)) SWIG_fail
;
23318 arg2
= wxString_in_helper(obj1
);
23319 if (arg2
== NULL
) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_From_int((int)(result
));
23346 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23349 wxString
*arg2
= 0 ;
23351 bool temp2
= false ;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "time", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
23359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23360 if (SWIG_arg_fail(1)) SWIG_fail
;
23362 arg2
= wxString_in_helper(obj1
);
23363 if (arg2
== NULL
) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_From_int((int)(result
));
23390 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23393 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
23394 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23395 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
23396 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
23398 bool temp2
= false ;
23399 bool temp3
= false ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 PyObject
* obj2
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "format",(char *) "tz", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23409 if (SWIG_arg_fail(1)) SWIG_fail
;
23412 arg2
= wxString_in_helper(obj1
);
23413 if (arg2
== NULL
) SWIG_fail
;
23419 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23442 if (temp3
) delete arg3
;
23451 if (temp3
) delete arg3
;
23457 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
23467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= ((wxDateTime
const *)arg1
)->FormatDate();
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23489 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
23499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= ((wxDateTime
const *)arg1
)->FormatTime();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23521 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
23531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23532 if (SWIG_arg_fail(1)) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23553 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
23563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
23564 if (SWIG_arg_fail(1)) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23585 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
23587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23588 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
23590 return Py_BuildValue((char *)"");
23592 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23596 PyObject
* obj0
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "sec", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
23603 arg1
= (long)(SWIG_As_long(obj0
));
23604 if (SWIG_arg_fail(1)) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= wxTimeSpan::Seconds(arg1
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 wxTimeSpan
* resultptr
;
23615 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23624 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23627 char *kwnames
[] = {
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= wxTimeSpan::Second();
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23640 wxTimeSpan
* resultptr
;
23641 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23650 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23654 PyObject
* obj0
= 0 ;
23655 char *kwnames
[] = {
23656 (char *) "min", NULL
23659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
23661 arg1
= (long)(SWIG_As_long(obj0
));
23662 if (SWIG_arg_fail(1)) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= wxTimeSpan::Minutes(arg1
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 wxTimeSpan
* resultptr
;
23673 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23682 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23685 char *kwnames
[] = {
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= wxTimeSpan::Minute();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23698 wxTimeSpan
* resultptr
;
23699 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23708 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
;
23712 PyObject
* obj0
= 0 ;
23713 char *kwnames
[] = {
23714 (char *) "hours", NULL
23717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
23719 arg1
= (long)(SWIG_As_long(obj0
));
23720 if (SWIG_arg_fail(1)) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= wxTimeSpan::Hours(arg1
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23730 wxTimeSpan
* resultptr
;
23731 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23740 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23743 char *kwnames
[] = {
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= wxTimeSpan::Hour();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 wxTimeSpan
* resultptr
;
23757 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23766 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23770 PyObject
* obj0
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "days", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
23777 arg1
= (long)(SWIG_As_long(obj0
));
23778 if (SWIG_arg_fail(1)) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= wxTimeSpan::Days(arg1
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 wxTimeSpan
* resultptr
;
23789 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23798 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
;
23801 char *kwnames
[] = {
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= wxTimeSpan::Day();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23814 wxTimeSpan
* resultptr
;
23815 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23824 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23828 PyObject
* obj0
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "days", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23835 arg1
= (long)(SWIG_As_long(obj0
));
23836 if (SWIG_arg_fail(1)) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= wxTimeSpan::Weeks(arg1
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 wxTimeSpan
* resultptr
;
23847 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23856 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23859 char *kwnames
[] = {
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= wxTimeSpan::Week();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 wxTimeSpan
* resultptr
;
23873 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
23874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
23882 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 long arg1
= (long) 0 ;
23885 long arg2
= (long) 0 ;
23886 long arg3
= (long) 0 ;
23887 long arg4
= (long) 0 ;
23888 wxTimeSpan
*result
;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 PyObject
* obj2
= 0 ;
23892 PyObject
* obj3
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23900 arg1
= (long)(SWIG_As_long(obj0
));
23901 if (SWIG_arg_fail(1)) SWIG_fail
;
23906 arg2
= (long)(SWIG_As_long(obj1
));
23907 if (SWIG_arg_fail(2)) SWIG_fail
;
23912 arg3
= (long)(SWIG_As_long(obj2
));
23913 if (SWIG_arg_fail(3)) SWIG_fail
;
23918 arg4
= (long)(SWIG_As_long(obj3
));
23919 if (SWIG_arg_fail(4)) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
23936 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
23945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23946 if (SWIG_arg_fail(1)) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 Py_INCREF(Py_None
); resultobj
= Py_None
;
23961 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23964 wxTimeSpan
*arg2
= 0 ;
23965 wxTimeSpan
*result
;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "diff", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23974 if (SWIG_arg_fail(1)) SWIG_fail
;
23976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
23977 if (SWIG_arg_fail(2)) SWIG_fail
;
23978 if (arg2
== NULL
) {
23979 SWIG_null_ref("wxTimeSpan");
23981 if (SWIG_arg_fail(2)) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
23987 result
= (wxTimeSpan
*) &_result_ref
;
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24000 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24003 wxTimeSpan
*arg2
= 0 ;
24004 wxTimeSpan
*result
;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "diff", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24013 if (SWIG_arg_fail(1)) SWIG_fail
;
24015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24016 if (SWIG_arg_fail(2)) SWIG_fail
;
24017 if (arg2
== NULL
) {
24018 SWIG_null_ref("wxTimeSpan");
24020 if (SWIG_arg_fail(2)) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
24026 result
= (wxTimeSpan
*) &_result_ref
;
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24039 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24043 wxTimeSpan
*result
;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "n", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24052 if (SWIG_arg_fail(1)) SWIG_fail
;
24054 arg2
= (int)(SWIG_As_int(obj1
));
24055 if (SWIG_arg_fail(2)) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24061 result
= (wxTimeSpan
*) &_result_ref
;
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24074 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24077 wxTimeSpan
*result
;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
24084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24085 if (SWIG_arg_fail(1)) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
24090 result
= (wxTimeSpan
*) &_result_ref
;
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24103 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
24113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= ((wxTimeSpan
const *)arg1
)->Abs();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 wxTimeSpan
* resultptr
;
24124 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24133 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24136 wxTimeSpan
*arg2
= 0 ;
24137 wxTimeSpan
*result
;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self",(char *) "diff", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24146 if (SWIG_arg_fail(1)) SWIG_fail
;
24148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24149 if (SWIG_arg_fail(2)) SWIG_fail
;
24150 if (arg2
== NULL
) {
24151 SWIG_null_ref("wxTimeSpan");
24153 if (SWIG_arg_fail(2)) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
24159 result
= (wxTimeSpan
*) &_result_ref
;
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24172 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24175 wxTimeSpan
*arg2
= 0 ;
24176 wxTimeSpan
*result
;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self",(char *) "diff", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24185 if (SWIG_arg_fail(1)) SWIG_fail
;
24187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24188 if (SWIG_arg_fail(2)) SWIG_fail
;
24189 if (arg2
== NULL
) {
24190 SWIG_null_ref("wxTimeSpan");
24192 if (SWIG_arg_fail(2)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
24198 result
= (wxTimeSpan
*) &_result_ref
;
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24211 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24215 wxTimeSpan
*result
;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self",(char *) "n", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
24224 if (SWIG_arg_fail(1)) SWIG_fail
;
24226 arg2
= (int)(SWIG_As_int(obj1
));
24227 if (SWIG_arg_fail(2)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24233 result
= (wxTimeSpan
*) &_result_ref
;
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
24246 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24249 wxTimeSpan
*result
;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
24256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(1)) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
24262 result
= (wxTimeSpan
*) &_result_ref
;
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
24275 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24278 wxTimeSpan
*arg2
= 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "other", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(1)) SWIG_fail
;
24290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24291 if (SWIG_arg_fail(2)) SWIG_fail
;
24292 if (arg2
== NULL
) {
24293 SWIG_null_ref("wxTimeSpan");
24295 if (SWIG_arg_fail(2)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 wxTimeSpan
* resultptr
;
24306 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24315 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24318 wxTimeSpan
*arg2
= 0 ;
24320 PyObject
* obj0
= 0 ;
24321 PyObject
* obj1
= 0 ;
24322 char *kwnames
[] = {
24323 (char *) "self",(char *) "other", NULL
24326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24328 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
;
24332 if (arg2
== NULL
) {
24333 SWIG_null_ref("wxTimeSpan");
24335 if (SWIG_arg_fail(2)) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 wxTimeSpan
* resultptr
;
24346 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24355 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "n", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 arg2
= (int)(SWIG_As_int(obj1
));
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= wxTimeSpan___mul__(arg1
,arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 wxTimeSpan
* resultptr
;
24382 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24391 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self",(char *) "n", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24404 if (SWIG_arg_fail(1)) SWIG_fail
;
24406 arg2
= (int)(SWIG_As_int(obj1
));
24407 if (SWIG_arg_fail(2)) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= wxTimeSpan___rmul__(arg1
,arg2
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 wxTimeSpan
* resultptr
;
24418 resultptr
= new wxTimeSpan((wxTimeSpan
&)(result
));
24419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
24427 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24430 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "other", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail
;
24441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24442 if (SWIG_arg_fail(2)) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24459 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24462 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "other", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail
;
24476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24491 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24494 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "other", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24506 if (SWIG_arg_fail(2)) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24523 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24526 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "other", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
24535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail
;
24537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24538 if (SWIG_arg_fail(2)) SWIG_fail
;
24540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24541 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24555 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24558 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "self",(char *) "other", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24568 if (SWIG_arg_fail(1)) SWIG_fail
;
24569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24570 if (SWIG_arg_fail(2)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24590 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "other", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(2)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24619 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
24629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24630 if (SWIG_arg_fail(1)) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24647 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
24657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24658 if (SWIG_arg_fail(1)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24675 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24679 PyObject
* obj0
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
24685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24703 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24706 wxTimeSpan
*arg2
= 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "ts", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
24715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24716 if (SWIG_arg_fail(1)) SWIG_fail
;
24718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24719 if (SWIG_arg_fail(2)) SWIG_fail
;
24720 if (arg2
== NULL
) {
24721 SWIG_null_ref("wxTimeSpan");
24723 if (SWIG_arg_fail(2)) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24741 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24744 wxTimeSpan
*arg2
= 0 ;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self",(char *) "ts", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24754 if (SWIG_arg_fail(1)) SWIG_fail
;
24756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(2)) SWIG_fail
;
24758 if (arg2
== NULL
) {
24759 SWIG_null_ref("wxTimeSpan");
24761 if (SWIG_arg_fail(2)) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24782 wxTimeSpan
*arg2
= 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "t", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
24791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24792 if (SWIG_arg_fail(1)) SWIG_fail
;
24794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24795 if (SWIG_arg_fail(2)) SWIG_fail
;
24796 if (arg2
== NULL
) {
24797 SWIG_null_ref("wxTimeSpan");
24799 if (SWIG_arg_fail(2)) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24817 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
24827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24828 if (SWIG_arg_fail(1)) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_From_int((int)(result
));
24845 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
24855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24856 if (SWIG_arg_fail(1)) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_From_int((int)(result
));
24873 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24877 PyObject
* obj0
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
24883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_From_int((int)(result
));
24901 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24905 PyObject
* obj0
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
24911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24912 if (SWIG_arg_fail(1)) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_From_int((int)(result
));
24929 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
24939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24950 hi
= PyLong_FromLong( (&result
)->GetHi() );
24951 lo
= PyLong_FromLong( (&result
)->GetLo() );
24952 shifter
= PyLong_FromLong(32);
24953 shifted
= PyNumber_Lshift(hi
, shifter
);
24954 resultobj
= PyNumber_Or(shifted
, lo
);
24957 Py_DECREF(shifter
);
24958 Py_DECREF(shifted
);
24966 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
;
24968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
24976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
24977 if (SWIG_arg_fail(1)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24986 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24987 hi
= PyLong_FromLong( (&result
)->GetHi() );
24988 lo
= PyLong_FromLong( (&result
)->GetLo() );
24989 shifter
= PyLong_FromLong(32);
24990 shifted
= PyNumber_Lshift(hi
, shifter
);
24991 resultobj
= PyNumber_Or(shifted
, lo
);
24994 Py_DECREF(shifter
);
24995 Py_DECREF(shifted
);
25003 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
25006 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
25007 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
25009 bool temp2
= false ;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self",(char *) "format", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
25017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_EXCEPTION
| 0);
25018 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 arg2
= wxString_in_helper(obj1
);
25022 if (arg2
== NULL
) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25054 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
25056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25057 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
25059 return Py_BuildValue((char *)"");
25061 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 int arg1
= (int) 0 ;
25064 int arg2
= (int) 0 ;
25065 int arg3
= (int) 0 ;
25066 int arg4
= (int) 0 ;
25067 wxDateSpan
*result
;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 PyObject
* obj2
= 0 ;
25071 PyObject
* obj3
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25079 arg1
= (int)(SWIG_As_int(obj0
));
25080 if (SWIG_arg_fail(1)) SWIG_fail
;
25085 arg2
= (int)(SWIG_As_int(obj1
));
25086 if (SWIG_arg_fail(2)) SWIG_fail
;
25091 arg3
= (int)(SWIG_As_int(obj2
));
25092 if (SWIG_arg_fail(3)) SWIG_fail
;
25097 arg4
= (int)(SWIG_As_int(obj3
));
25098 if (SWIG_arg_fail(4)) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25115 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
25124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 Py_INCREF(Py_None
); resultobj
= Py_None
;
25140 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "days", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
25151 arg1
= (int)(SWIG_As_int(obj0
));
25152 if (SWIG_arg_fail(1)) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= wxDateSpan::Days(arg1
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 wxDateSpan
* resultptr
;
25163 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25172 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25175 char *kwnames
[] = {
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= wxDateSpan::Day();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 wxDateSpan
* resultptr
;
25189 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25198 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "weeks", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
25209 arg1
= (int)(SWIG_As_int(obj0
));
25210 if (SWIG_arg_fail(1)) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= wxDateSpan::Weeks(arg1
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25220 wxDateSpan
* resultptr
;
25221 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25230 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25233 char *kwnames
[] = {
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= wxDateSpan::Week();
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 wxDateSpan
* resultptr
;
25247 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25256 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25260 PyObject
* obj0
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "mon", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
25267 arg1
= (int)(SWIG_As_int(obj0
));
25268 if (SWIG_arg_fail(1)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= wxDateSpan::Months(arg1
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25278 wxDateSpan
* resultptr
;
25279 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25288 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
;
25291 char *kwnames
[] = {
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= wxDateSpan::Month();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25304 wxDateSpan
* resultptr
;
25305 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25314 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25318 PyObject
* obj0
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "years", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
25325 arg1
= (int)(SWIG_As_int(obj0
));
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= wxDateSpan::Years(arg1
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25336 wxDateSpan
* resultptr
;
25337 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25346 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25349 char *kwnames
[] = {
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= wxDateSpan::Year();
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 wxDateSpan
* resultptr
;
25363 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25372 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25376 wxDateSpan
*result
;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self",(char *) "n", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
25384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25385 if (SWIG_arg_fail(1)) SWIG_fail
;
25387 arg2
= (int)(SWIG_As_int(obj1
));
25388 if (SWIG_arg_fail(2)) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
25394 result
= (wxDateSpan
*) &_result_ref
;
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25407 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25411 wxDateSpan
*result
;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self",(char *) "n", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
25419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25420 if (SWIG_arg_fail(1)) SWIG_fail
;
25422 arg2
= (int)(SWIG_As_int(obj1
));
25423 if (SWIG_arg_fail(2)) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
25429 result
= (wxDateSpan
*) &_result_ref
;
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25442 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25446 wxDateSpan
*result
;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "n", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail
;
25457 arg2
= (int)(SWIG_As_int(obj1
));
25458 if (SWIG_arg_fail(2)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
25464 result
= (wxDateSpan
*) &_result_ref
;
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25477 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25481 wxDateSpan
*result
;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "n", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
25489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25490 if (SWIG_arg_fail(1)) SWIG_fail
;
25492 arg2
= (int)(SWIG_As_int(obj1
));
25493 if (SWIG_arg_fail(2)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
25499 result
= (wxDateSpan
*) &_result_ref
;
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25512 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self", NULL
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
25522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25523 if (SWIG_arg_fail(1)) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_From_int((int)(result
));
25540 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
25550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25551 if (SWIG_arg_fail(1)) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_From_int((int)(result
));
25568 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25572 PyObject
* obj0
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
25578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail
;
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_From_int((int)(result
));
25596 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_From_int((int)(result
));
25624 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25628 PyObject
* obj0
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
25634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25635 if (SWIG_arg_fail(1)) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_From_int((int)(result
));
25652 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25655 wxDateSpan
*arg2
= 0 ;
25656 wxDateSpan
*result
;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "other", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
25664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25665 if (SWIG_arg_fail(1)) SWIG_fail
;
25667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25668 if (SWIG_arg_fail(2)) SWIG_fail
;
25669 if (arg2
== NULL
) {
25670 SWIG_null_ref("wxDateSpan");
25672 if (SWIG_arg_fail(2)) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25678 result
= (wxDateSpan
*) &_result_ref
;
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25691 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25694 wxDateSpan
*arg2
= 0 ;
25695 wxDateSpan
*result
;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self",(char *) "other", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
25703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail
;
25706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25707 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 if (arg2
== NULL
) {
25709 SWIG_null_ref("wxDateSpan");
25711 if (SWIG_arg_fail(2)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
25717 result
= (wxDateSpan
*) &_result_ref
;
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25730 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25733 wxDateSpan
*result
;
25734 PyObject
* obj0
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
25740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25741 if (SWIG_arg_fail(1)) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 wxDateSpan
&_result_ref
= (arg1
)->Neg();
25746 result
= (wxDateSpan
*) &_result_ref
;
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25759 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25763 wxDateSpan
*result
;
25764 PyObject
* obj0
= 0 ;
25765 PyObject
* obj1
= 0 ;
25766 char *kwnames
[] = {
25767 (char *) "self",(char *) "factor", NULL
25770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
25771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25772 if (SWIG_arg_fail(1)) SWIG_fail
;
25774 arg2
= (int)(SWIG_As_int(obj1
));
25775 if (SWIG_arg_fail(2)) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
25781 result
= (wxDateSpan
*) &_result_ref
;
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25794 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25797 wxDateSpan
*arg2
= 0 ;
25798 wxDateSpan
*result
;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "other", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
25806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25807 if (SWIG_arg_fail(1)) SWIG_fail
;
25809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25810 if (SWIG_arg_fail(2)) SWIG_fail
;
25811 if (arg2
== NULL
) {
25812 SWIG_null_ref("wxDateSpan");
25814 if (SWIG_arg_fail(2)) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
25820 result
= (wxDateSpan
*) &_result_ref
;
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25833 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25836 wxDateSpan
*arg2
= 0 ;
25837 wxDateSpan
*result
;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "other", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25846 if (SWIG_arg_fail(1)) SWIG_fail
;
25848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(2)) SWIG_fail
;
25850 if (arg2
== NULL
) {
25851 SWIG_null_ref("wxDateSpan");
25853 if (SWIG_arg_fail(2)) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
25859 result
= (wxDateSpan
*) &_result_ref
;
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25872 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25875 wxDateSpan
*result
;
25876 PyObject
* obj0
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
25882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25883 if (SWIG_arg_fail(1)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 wxDateSpan
&_result_ref
= (arg1
)->operator -();
25888 result
= (wxDateSpan
*) &_result_ref
;
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
25901 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25905 wxDateSpan
*result
;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "self",(char *) "factor", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
25913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25914 if (SWIG_arg_fail(1)) SWIG_fail
;
25916 arg2
= (int)(SWIG_As_int(obj1
));
25917 if (SWIG_arg_fail(2)) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
25923 result
= (wxDateSpan
*) &_result_ref
;
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
25936 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25939 wxDateSpan
*arg2
= 0 ;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "other", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25952 if (SWIG_arg_fail(2)) SWIG_fail
;
25953 if (arg2
== NULL
) {
25954 SWIG_null_ref("wxDateSpan");
25956 if (SWIG_arg_fail(2)) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 wxDateSpan
* resultptr
;
25967 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
25968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
25976 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
;
25978 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
25979 wxDateSpan
*arg2
= 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 char *kwnames
[] = {
25984 (char *) "self",(char *) "other", NULL
25987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
25988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail
;
25991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
25992 if (SWIG_arg_fail(2)) SWIG_fail
;
25993 if (arg2
== NULL
) {
25994 SWIG_null_ref("wxDateSpan");
25996 if (SWIG_arg_fail(2)) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 wxDateSpan
* resultptr
;
26007 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26016 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "n", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26029 if (SWIG_arg_fail(1)) SWIG_fail
;
26031 arg2
= (int)(SWIG_As_int(obj1
));
26032 if (SWIG_arg_fail(2)) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= wxDateSpan___mul__(arg1
,arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26042 wxDateSpan
* resultptr
;
26043 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26052 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
;
26054 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "n", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
26064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26065 if (SWIG_arg_fail(1)) SWIG_fail
;
26067 arg2
= (int)(SWIG_As_int(obj1
));
26068 if (SWIG_arg_fail(2)) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 result
= wxDateSpan___rmul__(arg1
,arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 wxDateSpan
* resultptr
;
26079 resultptr
= new wxDateSpan((wxDateSpan
&)(result
));
26080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
26088 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26091 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "other", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
26100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(1)) SWIG_fail
;
26102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26103 if (SWIG_arg_fail(2)) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26120 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
26123 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 char *kwnames
[] = {
26128 (char *) "self",(char *) "other", NULL
26131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
26132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26133 if (SWIG_arg_fail(1)) SWIG_fail
;
26134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_EXCEPTION
| 0);
26135 if (SWIG_arg_fail(2)) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26152 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
26154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26155 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
26157 return Py_BuildValue((char *)"");
26159 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26162 char *kwnames
[] = {
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (long)wxGetLocalTime();
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= SWIG_From_long((long)(result
));
26183 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26186 char *kwnames
[] = {
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (long)wxGetUTCTime();
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= SWIG_From_long((long)(result
));
26207 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26210 char *kwnames
[] = {
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (long)wxGetCurrentTime();
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_From_long((long)(result
));
26231 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26234 char *kwnames
[] = {
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= wxGetLocalTimeMillis();
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 PyObject
*hi
, *lo
, *shifter
, *shifted
;
26248 hi
= PyLong_FromLong( (&result
)->GetHi() );
26249 lo
= PyLong_FromLong( (&result
)->GetLo() );
26250 shifter
= PyLong_FromLong(32);
26251 shifted
= PyNumber_Lshift(hi
, shifter
);
26252 resultobj
= PyNumber_Or(shifted
, lo
);
26255 Py_DECREF(shifter
);
26256 Py_DECREF(shifted
);
26264 static int _wrap_DefaultDateTime_set(PyObject
*) {
26265 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
26270 static PyObject
*_wrap_DefaultDateTime_get(void) {
26273 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
26278 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxDataFormatId arg1
;
26281 wxDataFormat
*result
;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "type", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
26289 arg1
= (wxDataFormatId
)(SWIG_As_int(obj0
));
26290 if (SWIG_arg_fail(1)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26306 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxString
*arg1
= 0 ;
26309 wxDataFormat
*result
;
26310 bool temp1
= false ;
26311 PyObject
* obj0
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "format", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
26318 arg1
= wxString_in_helper(obj0
);
26319 if (arg1
== NULL
) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
26344 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
26353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 Py_INCREF(Py_None
); resultobj
= Py_None
;
26369 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
26370 PyObject
*resultobj
;
26371 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26372 wxDataFormatId arg2
;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26377 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26379 if (SWIG_arg_fail(1)) SWIG_fail
;
26381 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26382 if (SWIG_arg_fail(2)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26400 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
26401 PyObject
*resultobj
;
26402 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26403 wxDataFormatId arg2
;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26408 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26410 if (SWIG_arg_fail(1)) SWIG_fail
;
26412 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26413 if (SWIG_arg_fail(2)) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26431 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
26432 PyObject
*resultobj
;
26433 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26434 wxDataFormat
*arg2
= 0 ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26439 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
26440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26441 if (SWIG_arg_fail(1)) SWIG_fail
;
26443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26444 if (SWIG_arg_fail(2)) SWIG_fail
;
26445 if (arg2
== NULL
) {
26446 SWIG_null_ref("wxDataFormat");
26448 if (SWIG_arg_fail(2)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26466 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
26471 argc
= PyObject_Length(args
);
26472 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26479 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26489 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26497 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
26505 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26513 _v
= SWIG_Check_int(argv
[1]);
26515 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
26520 Py_INCREF(Py_NotImplemented
);
26521 return Py_NotImplemented
;
26525 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
26526 PyObject
*resultobj
;
26527 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26528 wxDataFormat
*arg2
= 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26533 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
26534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26535 if (SWIG_arg_fail(1)) SWIG_fail
;
26537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(2)) SWIG_fail
;
26539 if (arg2
== NULL
) {
26540 SWIG_null_ref("wxDataFormat");
26542 if (SWIG_arg_fail(2)) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26560 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
26565 argc
= PyObject_Length(args
);
26566 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26567 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26573 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26583 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26591 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
26599 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
26607 _v
= SWIG_Check_int(argv
[1]);
26609 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
26614 Py_INCREF(Py_NotImplemented
);
26615 return Py_NotImplemented
;
26619 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26622 wxDataFormatId arg2
;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "format", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
26630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26631 if (SWIG_arg_fail(1)) SWIG_fail
;
26633 arg2
= (wxDataFormatId
)(SWIG_As_int(obj1
));
26634 if (SWIG_arg_fail(2)) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetType((wxDataFormatId
)arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 Py_INCREF(Py_None
); resultobj
= Py_None
;
26650 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26653 wxDataFormatId result
;
26654 PyObject
* obj0
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
26660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26661 if (SWIG_arg_fail(1)) SWIG_fail
;
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= SWIG_From_int((result
));
26676 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26677 PyObject
*resultobj
;
26678 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26680 PyObject
* obj0
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
26686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26687 if (SWIG_arg_fail(1)) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= ((wxDataFormat
const *)arg1
)->GetId();
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26708 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
26711 wxString
*arg2
= 0 ;
26712 bool temp2
= false ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 char *kwnames
[] = {
26716 (char *) "self",(char *) "format", NULL
26719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
26720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26721 if (SWIG_arg_fail(1)) SWIG_fail
;
26723 arg2
= wxString_in_helper(obj1
);
26724 if (arg2
== NULL
) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 (arg1
)->SetId((wxString
const &)*arg2
);
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 Py_INCREF(Py_None
); resultobj
= Py_None
;
26749 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
26751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26752 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
26754 return Py_BuildValue((char *)"");
26756 static int _wrap_FormatInvalid_set(PyObject
*) {
26757 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
26762 static PyObject
*_wrap_FormatInvalid_get(void) {
26765 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
26770 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26773 PyObject
* obj0
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
26779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26780 if (SWIG_arg_fail(1)) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26798 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26799 SwigValueWrapper
<wxDataFormat
> result
;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "dir", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26811 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26812 if (SWIG_arg_fail(2)) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26823 wxDataFormat
* resultptr
;
26824 resultptr
= new wxDataFormat((wxDataFormat
&)(result
));
26825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
26833 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26836 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "dir", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail
;
26849 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26850 if (SWIG_arg_fail(2)) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26869 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26872 wxDataFormat
*arg2
= 0 ;
26873 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 PyObject
* obj2
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "format",(char *) "dir", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail
;
26886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(2)) SWIG_fail
;
26888 if (arg2
== NULL
) {
26889 SWIG_null_ref("wxDataFormat");
26891 if (SWIG_arg_fail(2)) SWIG_fail
;
26895 arg3
= (wxDataObject::Direction
)(SWIG_As_int(obj2
));
26896 if (SWIG_arg_fail(3)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26915 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26918 wxDataFormat
*arg2
= 0 ;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "format", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26928 if (SWIG_arg_fail(1)) SWIG_fail
;
26930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
26931 if (SWIG_arg_fail(2)) SWIG_fail
;
26932 if (arg2
== NULL
) {
26933 SWIG_null_ref("wxDataFormat");
26935 if (SWIG_arg_fail(2)) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
26953 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26956 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
26958 PyObject
* obj0
= 0 ;
26959 PyObject
* obj1
= 0 ;
26960 char *kwnames
[] = {
26961 (char *) "self",(char *) "dir", NULL
26964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
26965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
26966 if (SWIG_arg_fail(1)) SWIG_fail
;
26969 arg2
= (wxDataObject::Direction
)(SWIG_As_int(obj1
));
26970 if (SWIG_arg_fail(2)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 resultobj
= result
;
26987 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
26990 wxDataFormat
*arg2
= 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "format", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27003 if (SWIG_arg_fail(2)) SWIG_fail
;
27004 if (arg2
== NULL
) {
27005 SWIG_null_ref("wxDataFormat");
27007 if (SWIG_arg_fail(2)) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= result
;
27023 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
27026 wxDataFormat
*arg2
= 0 ;
27027 PyObject
*arg3
= (PyObject
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 PyObject
* obj1
= 0 ;
27031 PyObject
* obj2
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "self",(char *) "format",(char *) "data", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27038 if (SWIG_arg_fail(1)) SWIG_fail
;
27040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(2)) SWIG_fail
;
27042 if (arg2
== NULL
) {
27043 SWIG_null_ref("wxDataFormat");
27045 if (SWIG_arg_fail(2)) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27064 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
27066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27067 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
27069 return Py_BuildValue((char *)"");
27071 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27074 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27075 wxDataObjectSimple
*result
;
27076 PyObject
* obj0
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "format", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
27084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27085 if (SWIG_arg_fail(1)) SWIG_fail
;
27086 if (arg1
== NULL
) {
27087 SWIG_null_ref("wxDataFormat");
27089 if (SWIG_arg_fail(1)) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
27106 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27109 wxDataFormat
*result
;
27110 PyObject
* obj0
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "self", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
27116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27117 if (SWIG_arg_fail(1)) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
27122 result
= (wxDataFormat
*) &_result_ref
;
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
27135 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
;
27137 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27138 wxDataFormat
*arg2
= 0 ;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 char *kwnames
[] = {
27142 (char *) "self",(char *) "format", NULL
27145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
27146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27147 if (SWIG_arg_fail(1)) SWIG_fail
;
27149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(2)) SWIG_fail
;
27151 if (arg2
== NULL
) {
27152 SWIG_null_ref("wxDataFormat");
27154 if (SWIG_arg_fail(2)) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 Py_INCREF(Py_None
); resultobj
= Py_None
;
27170 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27174 PyObject
* obj0
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
27180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(1)) SWIG_fail
;
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27198 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27202 PyObject
* obj0
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= result
;
27224 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
27227 PyObject
*arg2
= (PyObject
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "data", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27255 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27258 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
27260 return Py_BuildValue((char *)"");
27262 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27265 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27266 wxPyDataObjectSimple
*result
;
27267 PyObject
* obj0
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "format", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 if (arg1
== NULL
) {
27278 SWIG_null_ref("wxDataFormat");
27280 if (SWIG_arg_fail(1)) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
27297 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
27300 PyObject
*arg2
= (PyObject
*) 0 ;
27301 PyObject
*arg3
= (PyObject
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 PyObject
* obj2
= 0 ;
27305 char *kwnames
[] = {
27306 (char *) "self",(char *) "self",(char *) "_class", NULL
27309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_EXCEPTION
| 0);
27311 if (SWIG_arg_fail(1)) SWIG_fail
;
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 Py_INCREF(Py_None
); resultobj
= Py_None
;
27328 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
27330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27331 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
27333 return Py_BuildValue((char *)"");
27335 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxDataObjectComposite
*result
;
27338 char *kwnames
[] = {
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
27357 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
27360 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
27361 bool arg3
= (bool) false ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 PyObject
* obj2
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_EXCEPTION
| 0);
27371 if (SWIG_arg_fail(1)) SWIG_fail
;
27372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
27373 if (SWIG_arg_fail(2)) SWIG_fail
;
27376 arg3
= (bool)(SWIG_As_bool(obj2
));
27377 if (SWIG_arg_fail(3)) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 (arg1
)->Add(arg2
,arg3
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
27396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27397 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
27399 return Py_BuildValue((char *)"");
27401 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27404 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27405 wxTextDataObject
*result
;
27406 bool temp1
= false ;
27407 PyObject
* obj0
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "text", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
27415 arg1
= wxString_in_helper(obj0
);
27416 if (arg1
== NULL
) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
27442 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
27452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27453 if (SWIG_arg_fail(1)) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= (size_t)(arg1
)->GetTextLength();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
27470 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
;
27472 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
27480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 result
= (arg1
)->GetText();
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27502 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
27505 wxString
*arg2
= 0 ;
27506 bool temp2
= false ;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "text", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 arg2
= wxString_in_helper(obj1
);
27518 if (arg2
== NULL
) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 (arg1
)->SetText((wxString
const &)*arg2
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 Py_INCREF(Py_None
); resultobj
= Py_None
;
27543 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27546 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
27548 return Py_BuildValue((char *)"");
27550 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
;
27552 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27553 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27554 wxPyTextDataObject
*result
;
27555 bool temp1
= false ;
27556 PyObject
* obj0
= 0 ;
27557 char *kwnames
[] = {
27558 (char *) "text", NULL
27561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
27564 arg1
= wxString_in_helper(obj0
);
27565 if (arg1
== NULL
) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
27591 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
27594 PyObject
*arg2
= (PyObject
*) 0 ;
27595 PyObject
*arg3
= (PyObject
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 PyObject
* obj2
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "self",(char *) "_class", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27605 if (SWIG_arg_fail(1)) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27622 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
27624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27625 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
27627 return Py_BuildValue((char *)"");
27629 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27632 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27633 wxBitmapDataObject
*result
;
27634 PyObject
* obj0
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "bitmap", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
27642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(1)) SWIG_fail
;
27644 if (arg1
== NULL
) {
27645 SWIG_null_ref("wxBitmap");
27647 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
27664 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27668 PyObject
* obj0
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
27674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27675 if (SWIG_arg_fail(1)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27684 wxBitmap
* resultptr
;
27685 resultptr
= new wxBitmap((wxBitmap
&)(result
));
27686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
27694 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
27697 wxBitmap
*arg2
= 0 ;
27698 PyObject
* obj0
= 0 ;
27699 PyObject
* obj1
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self",(char *) "bitmap", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
27705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27706 if (SWIG_arg_fail(1)) SWIG_fail
;
27708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27709 if (SWIG_arg_fail(2)) SWIG_fail
;
27710 if (arg2
== NULL
) {
27711 SWIG_null_ref("wxBitmap");
27713 if (SWIG_arg_fail(2)) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 Py_INCREF(Py_None
); resultobj
= Py_None
;
27729 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27732 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
27734 return Py_BuildValue((char *)"");
27736 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
27739 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
27740 wxPyBitmapDataObject
*result
;
27741 PyObject
* obj0
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "bitmap", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
27749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
27750 if (SWIG_arg_fail(1)) SWIG_fail
;
27751 if (arg1
== NULL
) {
27752 SWIG_null_ref("wxBitmap");
27754 if (SWIG_arg_fail(1)) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
27771 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
27774 PyObject
*arg2
= (PyObject
*) 0 ;
27775 PyObject
*arg3
= (PyObject
*) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 PyObject
* obj2
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "self",(char *) "_class", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 Py_INCREF(Py_None
); resultobj
= Py_None
;
27802 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
27804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27805 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
27807 return Py_BuildValue((char *)"");
27809 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxFileDataObject
*result
;
27812 char *kwnames
[] = {
27816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 result
= (wxFileDataObject
*)new wxFileDataObject();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
27831 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27834 wxArrayString
*result
;
27835 PyObject
* obj0
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
27841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27842 if (SWIG_arg_fail(1)) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
27847 result
= (wxArrayString
*) &_result_ref
;
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= wxArrayString2PyList_helper(*result
);
27862 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
27865 wxString
*arg2
= 0 ;
27866 bool temp2
= false ;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self",(char *) "filename", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
27874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27875 if (SWIG_arg_fail(1)) SWIG_fail
;
27877 arg2
= wxString_in_helper(obj1
);
27878 if (arg2
== NULL
) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 (arg1
)->AddFile((wxString
const &)*arg2
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 Py_INCREF(Py_None
); resultobj
= Py_None
;
27903 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
27905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27906 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
27908 return Py_BuildValue((char *)"");
27910 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
27913 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
27914 wxCustomDataObject
*result
;
27915 PyObject
* obj0
= 0 ;
27916 char *kwnames
[] = {
27917 (char *) "format", NULL
27920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
27923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
27924 if (SWIG_arg_fail(1)) SWIG_fail
;
27925 if (arg1
== NULL
) {
27926 SWIG_null_ref("wxDataFormat");
27928 if (SWIG_arg_fail(1)) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
27945 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27948 PyObject
*arg2
= (PyObject
*) 0 ;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "data", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27958 if (SWIG_arg_fail(1)) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27976 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
27986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(1)) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (size_t)(arg1
)->GetSize();
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28004 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
28008 PyObject
* obj0
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "self", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
28014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28015 if (SWIG_arg_fail(1)) SWIG_fail
;
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= result
;
28030 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
28032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28033 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
28035 return Py_BuildValue((char *)"");
28037 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxURLDataObject
*result
;
28040 char *kwnames
[] = {
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= (wxURLDataObject
*)new wxURLDataObject();
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
28059 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
;
28061 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28063 PyObject
* obj0
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
28069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28070 if (SWIG_arg_fail(1)) SWIG_fail
;
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 result
= (arg1
)->GetURL();
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28091 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
28094 wxString
*arg2
= 0 ;
28095 bool temp2
= false ;
28096 PyObject
* obj0
= 0 ;
28097 PyObject
* obj1
= 0 ;
28098 char *kwnames
[] = {
28099 (char *) "self",(char *) "url", NULL
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
28103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28104 if (SWIG_arg_fail(1)) SWIG_fail
;
28106 arg2
= wxString_in_helper(obj1
);
28107 if (arg2
== NULL
) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->SetURL((wxString
const &)*arg2
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
28134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28135 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
28137 return Py_BuildValue((char *)"");
28139 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxMetafileDataObject
*result
;
28142 char *kwnames
[] = {
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
28161 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
28163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28164 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
28166 return Py_BuildValue((char *)"");
28168 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxDragResult arg1
;
28172 PyObject
* obj0
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "res", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
28179 arg1
= (wxDragResult
)(SWIG_As_int(obj0
));
28180 if (SWIG_arg_fail(1)) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28198 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxWindow
*arg1
= (wxWindow
*) 0 ;
28201 wxIcon
const &arg2_defvalue
= wxNullIcon
;
28202 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
28203 wxIcon
const &arg3_defvalue
= wxNullIcon
;
28204 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
28205 wxIcon
const &arg4_defvalue
= wxNullIcon
;
28206 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
28207 wxPyDropSource
*result
;
28208 PyObject
* obj0
= 0 ;
28209 PyObject
* obj1
= 0 ;
28210 PyObject
* obj2
= 0 ;
28211 PyObject
* obj3
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28218 if (SWIG_arg_fail(1)) SWIG_fail
;
28221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28222 if (SWIG_arg_fail(2)) SWIG_fail
;
28223 if (arg2
== NULL
) {
28224 SWIG_null_ref("wxIcon");
28226 if (SWIG_arg_fail(2)) SWIG_fail
;
28231 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28232 if (SWIG_arg_fail(3)) SWIG_fail
;
28233 if (arg3
== NULL
) {
28234 SWIG_null_ref("wxIcon");
28236 if (SWIG_arg_fail(3)) SWIG_fail
;
28241 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
28242 if (SWIG_arg_fail(4)) SWIG_fail
;
28243 if (arg4
== NULL
) {
28244 SWIG_null_ref("wxIcon");
28246 if (SWIG_arg_fail(4)) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
28263 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28266 PyObject
*arg2
= (PyObject
*) 0 ;
28267 PyObject
*arg3
= (PyObject
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 PyObject
* obj2
= 0 ;
28272 PyObject
* obj3
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28279 if (SWIG_arg_fail(1)) SWIG_fail
;
28283 arg4
= (int)(SWIG_As_int(obj3
));
28284 if (SWIG_arg_fail(4)) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 Py_INCREF(Py_None
); resultobj
= Py_None
;
28300 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
28309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28318 Py_INCREF(Py_None
); resultobj
= Py_None
;
28325 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
;
28327 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28328 wxDataObject
*arg2
= 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self",(char *) "data", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
28336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
28340 if (SWIG_arg_fail(2)) SWIG_fail
;
28341 if (arg2
== NULL
) {
28342 SWIG_null_ref("wxDataObject");
28344 if (SWIG_arg_fail(2)) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 (arg1
)->SetData(*arg2
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 Py_INCREF(Py_None
); resultobj
= Py_None
;
28360 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
;
28362 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28363 wxDataObject
*result
;
28364 PyObject
* obj0
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
28370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28371 if (SWIG_arg_fail(1)) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28386 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28389 wxDragResult arg2
;
28390 wxCursor
*arg3
= 0 ;
28391 PyObject
* obj0
= 0 ;
28392 PyObject
* obj1
= 0 ;
28393 PyObject
* obj2
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "self",(char *) "res",(char *) "cursor", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail
;
28402 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28403 if (SWIG_arg_fail(2)) SWIG_fail
;
28406 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
28407 if (SWIG_arg_fail(3)) SWIG_fail
;
28408 if (arg3
== NULL
) {
28409 SWIG_null_ref("wxCursor");
28411 if (SWIG_arg_fail(3)) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 Py_INCREF(Py_None
); resultobj
= Py_None
;
28427 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28430 int arg2
= (int) wxDrag_CopyOnly
;
28431 wxDragResult result
;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self",(char *) "flags", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
28439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28440 if (SWIG_arg_fail(1)) SWIG_fail
;
28443 arg2
= (int)(SWIG_As_int(obj1
));
28444 if (SWIG_arg_fail(2)) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_From_int((result
));
28461 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
;
28463 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
28464 wxDragResult arg2
;
28466 PyObject
* obj0
= 0 ;
28467 PyObject
* obj1
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self",(char *) "effect", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
28473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_EXCEPTION
| 0);
28474 if (SWIG_arg_fail(1)) SWIG_fail
;
28476 arg2
= (wxDragResult
)(SWIG_As_int(obj1
));
28477 if (SWIG_arg_fail(2)) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28495 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
28497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28498 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
28500 return Py_BuildValue((char *)"");
28502 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
28505 wxPyDropTarget
*result
;
28506 PyObject
* obj0
= 0 ;
28507 char *kwnames
[] = {
28508 (char *) "dataObject", NULL
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
28513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28514 if (SWIG_arg_fail(1)) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
28530 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28533 PyObject
*arg2
= (PyObject
*) 0 ;
28534 PyObject
*arg3
= (PyObject
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 PyObject
* obj2
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "self",(char *) "self",(char *) "_class", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28544 if (SWIG_arg_fail(1)) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 Py_INCREF(Py_None
); resultobj
= Py_None
;
28561 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28564 PyObject
* obj0
= 0 ;
28565 char *kwnames
[] = {
28566 (char *) "self", NULL
28569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
28570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28571 if (SWIG_arg_fail(1)) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 Py_INCREF(Py_None
); resultobj
= Py_None
;
28586 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28589 wxDataObject
*result
;
28590 PyObject
* obj0
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
28596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (wxDataObject
*)(arg1
)->GetDataObject();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
28612 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28615 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self",(char *) "dataObject", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
28623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28624 if (SWIG_arg_fail(1)) SWIG_fail
;
28625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28626 if (SWIG_arg_fail(2)) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 (arg1
)->SetDataObject(arg2
);
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28634 Py_INCREF(Py_None
); resultobj
= Py_None
;
28641 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28646 wxDragResult arg4
;
28647 wxDragResult result
;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 PyObject
* obj2
= 0 ;
28651 PyObject
* obj3
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28658 if (SWIG_arg_fail(1)) SWIG_fail
;
28660 arg2
= (int)(SWIG_As_int(obj1
));
28661 if (SWIG_arg_fail(2)) SWIG_fail
;
28664 arg3
= (int)(SWIG_As_int(obj2
));
28665 if (SWIG_arg_fail(3)) SWIG_fail
;
28668 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28669 if (SWIG_arg_fail(4)) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= SWIG_From_int((result
));
28685 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28690 wxDragResult arg4
;
28691 wxDragResult result
;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 PyObject
* obj2
= 0 ;
28695 PyObject
* obj3
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail
;
28704 arg2
= (int)(SWIG_As_int(obj1
));
28705 if (SWIG_arg_fail(2)) SWIG_fail
;
28708 arg3
= (int)(SWIG_As_int(obj2
));
28709 if (SWIG_arg_fail(3)) SWIG_fail
;
28712 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28713 if (SWIG_arg_fail(4)) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= SWIG_From_int((result
));
28729 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28730 PyObject
*resultobj
;
28731 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28732 PyObject
* obj0
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28739 if (SWIG_arg_fail(1)) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 (arg1
)->base_OnLeave();
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 Py_INCREF(Py_None
); resultobj
= Py_None
;
28754 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
;
28756 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 char *kwnames
[] = {
28764 (char *) "self",(char *) "x",(char *) "y", NULL
28767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28769 if (SWIG_arg_fail(1)) SWIG_fail
;
28771 arg2
= (int)(SWIG_As_int(obj1
));
28772 if (SWIG_arg_fail(2)) SWIG_fail
;
28775 arg3
= (int)(SWIG_As_int(obj2
));
28776 if (SWIG_arg_fail(3)) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28794 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
28798 PyObject
* obj0
= 0 ;
28799 char *kwnames
[] = {
28800 (char *) "self", NULL
28803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
28804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28805 if (SWIG_arg_fail(1)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (bool)(arg1
)->GetData();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28822 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
28824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28825 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
28827 return Py_BuildValue((char *)"");
28829 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
;
28831 wxPyTextDropTarget
*result
;
28832 char *kwnames
[] = {
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
28851 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28854 PyObject
*arg2
= (PyObject
*) 0 ;
28855 PyObject
*arg3
= (PyObject
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 PyObject
* obj2
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self",(char *) "self",(char *) "_class", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28865 if (SWIG_arg_fail(1)) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 Py_INCREF(Py_None
); resultobj
= Py_None
;
28882 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
;
28884 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28887 wxDragResult arg4
;
28888 wxDragResult result
;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 PyObject
* obj3
= 0 ;
28893 char *kwnames
[] = {
28894 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28899 if (SWIG_arg_fail(1)) SWIG_fail
;
28901 arg2
= (int)(SWIG_As_int(obj1
));
28902 if (SWIG_arg_fail(2)) SWIG_fail
;
28905 arg3
= (int)(SWIG_As_int(obj2
));
28906 if (SWIG_arg_fail(3)) SWIG_fail
;
28909 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28910 if (SWIG_arg_fail(4)) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_From_int((result
));
28926 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28931 wxDragResult arg4
;
28932 wxDragResult result
;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 PyObject
* obj2
= 0 ;
28936 PyObject
* obj3
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28943 if (SWIG_arg_fail(1)) SWIG_fail
;
28945 arg2
= (int)(SWIG_As_int(obj1
));
28946 if (SWIG_arg_fail(2)) SWIG_fail
;
28949 arg3
= (int)(SWIG_As_int(obj2
));
28950 if (SWIG_arg_fail(3)) SWIG_fail
;
28953 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
28954 if (SWIG_arg_fail(4)) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= SWIG_From_int((result
));
28970 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
28973 PyObject
* obj0
= 0 ;
28974 char *kwnames
[] = {
28975 (char *) "self", NULL
28978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
28979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
28980 if (SWIG_arg_fail(1)) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 (arg1
)->base_OnLeave();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 Py_INCREF(Py_None
); resultobj
= Py_None
;
28995 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "self",(char *) "x",(char *) "y", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail
;
29012 arg2
= (int)(SWIG_As_int(obj1
));
29013 if (SWIG_arg_fail(2)) SWIG_fail
;
29016 arg3
= (int)(SWIG_As_int(obj2
));
29017 if (SWIG_arg_fail(3)) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29035 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
29040 wxDragResult arg4
;
29041 wxDragResult result
;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 PyObject
* obj2
= 0 ;
29045 PyObject
* obj3
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29052 if (SWIG_arg_fail(1)) SWIG_fail
;
29054 arg2
= (int)(SWIG_As_int(obj1
));
29055 if (SWIG_arg_fail(2)) SWIG_fail
;
29058 arg3
= (int)(SWIG_As_int(obj2
));
29059 if (SWIG_arg_fail(3)) SWIG_fail
;
29062 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29063 if (SWIG_arg_fail(4)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_From_int((result
));
29079 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29082 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
29084 return Py_BuildValue((char *)"");
29086 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxPyFileDropTarget
*result
;
29089 char *kwnames
[] = {
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
29108 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29111 PyObject
*arg2
= (PyObject
*) 0 ;
29112 PyObject
*arg3
= (PyObject
*) 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self",(char *) "self",(char *) "_class", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29132 Py_INCREF(Py_None
); resultobj
= Py_None
;
29139 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
;
29141 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29144 wxDragResult arg4
;
29145 wxDragResult result
;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 PyObject
* obj2
= 0 ;
29149 PyObject
* obj3
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail
;
29158 arg2
= (int)(SWIG_As_int(obj1
));
29159 if (SWIG_arg_fail(2)) SWIG_fail
;
29162 arg3
= (int)(SWIG_As_int(obj2
));
29163 if (SWIG_arg_fail(3)) SWIG_fail
;
29166 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29167 if (SWIG_arg_fail(4)) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (wxDragResult
)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= SWIG_From_int((result
));
29183 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29188 wxDragResult arg4
;
29189 wxDragResult result
;
29190 PyObject
* obj0
= 0 ;
29191 PyObject
* obj1
= 0 ;
29192 PyObject
* obj2
= 0 ;
29193 PyObject
* obj3
= 0 ;
29194 char *kwnames
[] = {
29195 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(1)) SWIG_fail
;
29202 arg2
= (int)(SWIG_As_int(obj1
));
29203 if (SWIG_arg_fail(2)) SWIG_fail
;
29206 arg3
= (int)(SWIG_As_int(obj2
));
29207 if (SWIG_arg_fail(3)) SWIG_fail
;
29210 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29211 if (SWIG_arg_fail(4)) SWIG_fail
;
29214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29215 result
= (wxDragResult
)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
29217 wxPyEndAllowThreads(__tstate
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 resultobj
= SWIG_From_int((result
));
29227 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
;
29229 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29230 PyObject
* obj0
= 0 ;
29231 char *kwnames
[] = {
29232 (char *) "self", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
29236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29237 if (SWIG_arg_fail(1)) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 (arg1
)->base_OnLeave();
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 Py_INCREF(Py_None
); resultobj
= Py_None
;
29252 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
;
29254 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "self",(char *) "x",(char *) "y", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29267 if (SWIG_arg_fail(1)) SWIG_fail
;
29269 arg2
= (int)(SWIG_As_int(obj1
));
29270 if (SWIG_arg_fail(2)) SWIG_fail
;
29273 arg3
= (int)(SWIG_As_int(obj2
));
29274 if (SWIG_arg_fail(3)) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29292 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29293 PyObject
*resultobj
;
29294 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
29297 wxDragResult arg4
;
29298 wxDragResult result
;
29299 PyObject
* obj0
= 0 ;
29300 PyObject
* obj1
= 0 ;
29301 PyObject
* obj2
= 0 ;
29302 PyObject
* obj3
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_EXCEPTION
| 0);
29309 if (SWIG_arg_fail(1)) SWIG_fail
;
29311 arg2
= (int)(SWIG_As_int(obj1
));
29312 if (SWIG_arg_fail(2)) SWIG_fail
;
29315 arg3
= (int)(SWIG_As_int(obj2
));
29316 if (SWIG_arg_fail(3)) SWIG_fail
;
29319 arg4
= (wxDragResult
)(SWIG_As_int(obj3
));
29320 if (SWIG_arg_fail(4)) SWIG_fail
;
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 result
= (wxDragResult
)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_From_int((result
));
29336 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
29338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29339 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
29341 return Py_BuildValue((char *)"");
29343 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
;
29345 wxClipboard
*result
;
29346 char *kwnames
[] = {
29350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (wxClipboard
*)new wxClipboard();
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
29365 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
29374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail
;
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 Py_INCREF(Py_None
); resultobj
= Py_None
;
29390 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29394 PyObject
* obj0
= 0 ;
29395 char *kwnames
[] = {
29396 (char *) "self", NULL
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
29400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29401 if (SWIG_arg_fail(1)) SWIG_fail
;
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 result
= (bool)(arg1
)->Open();
29406 wxPyEndAllowThreads(__tstate
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29418 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
;
29420 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 char *kwnames
[] = {
29423 (char *) "self", NULL
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
29427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29428 if (SWIG_arg_fail(1)) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 Py_INCREF(Py_None
); resultobj
= Py_None
;
29443 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
;
29445 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29447 PyObject
* obj0
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "self", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
29453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29454 if (SWIG_arg_fail(1)) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29471 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29474 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 char *kwnames
[] = {
29479 (char *) "self",(char *) "data", NULL
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
29483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29484 if (SWIG_arg_fail(1)) SWIG_fail
;
29485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29486 if (SWIG_arg_fail(2)) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= (bool)(arg1
)->AddData(arg2
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29503 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
;
29505 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29506 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self",(char *) "data", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29516 if (SWIG_arg_fail(1)) SWIG_fail
;
29517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
29518 if (SWIG_arg_fail(2)) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (bool)(arg1
)->SetData(arg2
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29535 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29538 wxDataFormat
*arg2
= 0 ;
29540 PyObject
* obj0
= 0 ;
29541 PyObject
* obj1
= 0 ;
29542 char *kwnames
[] = {
29543 (char *) "self",(char *) "format", NULL
29546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
29547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29548 if (SWIG_arg_fail(1)) SWIG_fail
;
29550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_EXCEPTION
| 0);
29551 if (SWIG_arg_fail(2)) SWIG_fail
;
29552 if (arg2
== NULL
) {
29553 SWIG_null_ref("wxDataFormat");
29555 if (SWIG_arg_fail(2)) SWIG_fail
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29573 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29574 PyObject
*resultobj
;
29575 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29576 wxDataObject
*arg2
= 0 ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self",(char *) "data", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
29585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29586 if (SWIG_arg_fail(1)) SWIG_fail
;
29588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDataObject
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(2)) SWIG_fail
;
29590 if (arg2
== NULL
) {
29591 SWIG_null_ref("wxDataObject");
29593 if (SWIG_arg_fail(2)) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (bool)(arg1
)->GetData(*arg2
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29611 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
29620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29621 if (SWIG_arg_fail(1)) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 Py_INCREF(Py_None
); resultobj
= Py_None
;
29636 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
29646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29647 if (SWIG_arg_fail(1)) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->Flush();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
29667 bool arg2
= (bool) true ;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 char *kwnames
[] = {
29671 (char *) "self",(char *) "primary", NULL
29674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
29675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail
;
29679 arg2
= (bool)(SWIG_As_bool(obj1
));
29680 if (SWIG_arg_fail(2)) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 (arg1
)->UsePrimarySelection(arg2
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 Py_INCREF(Py_None
); resultobj
= Py_None
;
29697 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxClipboard
*result
;
29700 char *kwnames
[] = {
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (wxClipboard
*)wxClipboard::Get();
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
29719 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
29721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29722 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
29724 return Py_BuildValue((char *)"");
29726 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
29729 wxClipboardLocker
*result
;
29730 PyObject
* obj0
= 0 ;
29731 char *kwnames
[] = {
29732 (char *) "clipboard", NULL
29735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboard
, SWIG_POINTER_EXCEPTION
| 0);
29738 if (SWIG_arg_fail(1)) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
29754 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
29763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29764 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
29789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_EXCEPTION
| 0);
29790 if (SWIG_arg_fail(1)) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29807 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
29809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29810 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
29812 return Py_BuildValue((char *)"");
29814 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 int arg1
= (int) 0 ;
29817 int arg2
= (int) 0 ;
29818 int arg3
= (int) 0 ;
29819 int arg4
= (int) 0 ;
29820 wxVideoMode
*result
;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 PyObject
* obj2
= 0 ;
29824 PyObject
* obj3
= 0 ;
29825 char *kwnames
[] = {
29826 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
29829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29832 arg1
= (int)(SWIG_As_int(obj0
));
29833 if (SWIG_arg_fail(1)) SWIG_fail
;
29838 arg2
= (int)(SWIG_As_int(obj1
));
29839 if (SWIG_arg_fail(2)) SWIG_fail
;
29844 arg3
= (int)(SWIG_As_int(obj2
));
29845 if (SWIG_arg_fail(3)) SWIG_fail
;
29850 arg4
= (int)(SWIG_As_int(obj3
));
29851 if (SWIG_arg_fail(4)) SWIG_fail
;
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
29868 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
;
29870 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29871 PyObject
* obj0
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
29877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(1)) SWIG_fail
;
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 Py_INCREF(Py_None
); resultobj
= Py_None
;
29893 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
;
29895 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29896 wxVideoMode
*arg2
= 0 ;
29898 PyObject
* obj0
= 0 ;
29899 PyObject
* obj1
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "other", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
29905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29906 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
;
29910 if (arg2
== NULL
) {
29911 SWIG_null_ref("wxVideoMode");
29913 if (SWIG_arg_fail(2)) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29931 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29935 PyObject
* obj0
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
29941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29942 if (SWIG_arg_fail(1)) SWIG_fail
;
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= SWIG_From_int((int)(result
));
29959 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= SWIG_From_int((int)(result
));
29987 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
29991 PyObject
* obj0
= 0 ;
29992 char *kwnames
[] = {
29993 (char *) "self", NULL
29996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
29997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
29998 if (SWIG_arg_fail(1)) SWIG_fail
;
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30007 resultobj
= SWIG_From_int((int)(result
));
30015 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
;
30017 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30019 PyObject
* obj0
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
30025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(1)) SWIG_fail
;
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
30031 wxPyEndAllowThreads(__tstate
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30043 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
;
30045 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30046 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char *kwnames
[] = {
30051 (char *) "self",(char *) "other", NULL
30054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
30055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30056 if (SWIG_arg_fail(1)) SWIG_fail
;
30057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30058 if (SWIG_arg_fail(2)) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30075 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
;
30077 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30078 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
30080 PyObject
* obj0
= 0 ;
30081 PyObject
* obj1
= 0 ;
30082 char *kwnames
[] = {
30083 (char *) "self",(char *) "other", NULL
30086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
30087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30088 if (SWIG_arg_fail(1)) SWIG_fail
;
30089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30090 if (SWIG_arg_fail(2)) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30107 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
;
30109 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "w", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30119 if (SWIG_arg_fail(1)) SWIG_fail
;
30121 arg2
= (int)(SWIG_As_int(obj1
));
30122 if (SWIG_arg_fail(2)) SWIG_fail
;
30124 if (arg1
) (arg1
)->w
= arg2
;
30126 Py_INCREF(Py_None
); resultobj
= Py_None
;
30133 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30134 PyObject
*resultobj
;
30135 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30137 PyObject
* obj0
= 0 ;
30138 char *kwnames
[] = {
30139 (char *) "self", NULL
30142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
30143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30144 if (SWIG_arg_fail(1)) SWIG_fail
;
30145 result
= (int) ((arg1
)->w
);
30148 resultobj
= SWIG_From_int((int)(result
));
30156 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
;
30158 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 char *kwnames
[] = {
30163 (char *) "self",(char *) "h", NULL
30166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30168 if (SWIG_arg_fail(1)) SWIG_fail
;
30170 arg2
= (int)(SWIG_As_int(obj1
));
30171 if (SWIG_arg_fail(2)) SWIG_fail
;
30173 if (arg1
) (arg1
)->h
= arg2
;
30175 Py_INCREF(Py_None
); resultobj
= Py_None
;
30182 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30183 PyObject
*resultobj
;
30184 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 char *kwnames
[] = {
30188 (char *) "self", NULL
30191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
30192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30193 if (SWIG_arg_fail(1)) SWIG_fail
;
30194 result
= (int) ((arg1
)->h
);
30197 resultobj
= SWIG_From_int((int)(result
));
30205 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self",(char *) "bpp", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30217 if (SWIG_arg_fail(1)) SWIG_fail
;
30219 arg2
= (int)(SWIG_As_int(obj1
));
30220 if (SWIG_arg_fail(2)) SWIG_fail
;
30222 if (arg1
) (arg1
)->bpp
= arg2
;
30224 Py_INCREF(Py_None
); resultobj
= Py_None
;
30231 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30235 PyObject
* obj0
= 0 ;
30236 char *kwnames
[] = {
30237 (char *) "self", NULL
30240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
30241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30242 if (SWIG_arg_fail(1)) SWIG_fail
;
30243 result
= (int) ((arg1
)->bpp
);
30246 resultobj
= SWIG_From_int((int)(result
));
30254 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "self",(char *) "refresh", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
30265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30266 if (SWIG_arg_fail(1)) SWIG_fail
;
30268 arg2
= (int)(SWIG_As_int(obj1
));
30269 if (SWIG_arg_fail(2)) SWIG_fail
;
30271 if (arg1
) (arg1
)->refresh
= arg2
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30280 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
30284 PyObject
* obj0
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
30290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30291 if (SWIG_arg_fail(1)) SWIG_fail
;
30292 result
= (int) ((arg1
)->refresh
);
30295 resultobj
= SWIG_From_int((int)(result
));
30303 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
30305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30306 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
30308 return Py_BuildValue((char *)"");
30310 static int _wrap_DefaultVideoMode_set(PyObject
*) {
30311 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
30316 static PyObject
*_wrap_DefaultVideoMode_get(void) {
30319 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
30324 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 size_t arg1
= (size_t) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "index", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
30336 arg1
= (size_t)(SWIG_As_unsigned_SS_long(obj0
));
30337 if (SWIG_arg_fail(1)) SWIG_fail
;
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 result
= (wxDisplay
*)new wxDisplay(arg1
);
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
30354 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30355 PyObject
*resultobj
;
30356 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
30363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30364 if (SWIG_arg_fail(1)) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 Py_INCREF(Py_None
); resultobj
= Py_None
;
30379 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30382 char *kwnames
[] = {
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (size_t)wxDisplay::GetCount();
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
30403 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxPoint
*arg1
= 0 ;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "pt", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
30416 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_From_int((int)(result
));
30434 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxWindow
*arg1
= (wxWindow
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "window", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
30444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 result
= (int)Display_GetFromWindow(arg1
);
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30454 resultobj
= SWIG_From_int((int)(result
));
30462 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30463 PyObject
*resultobj
;
30464 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30466 PyObject
* obj0
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
30472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30473 if (SWIG_arg_fail(1)) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30490 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 char *kwnames
[] = {
30496 (char *) "self", NULL
30499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
30500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30501 if (SWIG_arg_fail(1)) SWIG_fail
;
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 wxRect
* resultptr
;
30511 resultptr
= new wxRect((wxRect
&)(result
));
30512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30520 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30524 PyObject
* obj0
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
30530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= ((wxDisplay
const *)arg1
)->GetName();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30552 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
30562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30580 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30583 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30584 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self",(char *) "mode", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
30593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30594 if (SWIG_arg_fail(1)) SWIG_fail
;
30597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30598 if (SWIG_arg_fail(2)) SWIG_fail
;
30599 if (arg2
== NULL
) {
30600 SWIG_null_ref("wxVideoMode");
30602 if (SWIG_arg_fail(2)) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= result
;
30619 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30622 wxVideoMode result
;
30623 PyObject
* obj0
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
30629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30630 if (SWIG_arg_fail(1)) SWIG_fail
;
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30639 wxVideoMode
* resultptr
;
30640 resultptr
= new wxVideoMode((wxVideoMode
&)(result
));
30641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
30649 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30652 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
30653 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self",(char *) "mode", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
30662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30663 if (SWIG_arg_fail(1)) SWIG_fail
;
30666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_EXCEPTION
| 0);
30667 if (SWIG_arg_fail(2)) SWIG_fail
;
30668 if (arg2
== NULL
) {
30669 SWIG_null_ref("wxVideoMode");
30671 if (SWIG_arg_fail(2)) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30690 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
30693 PyObject
* obj0
= 0 ;
30694 char *kwnames
[] = {
30695 (char *) "self", NULL
30698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
30699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDisplay
, SWIG_POINTER_EXCEPTION
| 0);
30700 if (SWIG_arg_fail(1)) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 (arg1
)->ResetMode();
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30708 Py_INCREF(Py_None
); resultobj
= Py_None
;
30715 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
30717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30718 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
30720 return Py_BuildValue((char *)"");
30722 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
;
30724 wxStandardPaths
*result
;
30725 char *kwnames
[] = {
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (wxStandardPaths
*)StandardPaths_Get();
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
30744 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30748 PyObject
* obj0
= 0 ;
30749 char *kwnames
[] = {
30750 (char *) "self", NULL
30753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
30754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30755 if (SWIG_arg_fail(1)) SWIG_fail
;
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30776 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
;
30778 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30780 PyObject
* obj0
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
30786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail
;
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30808 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
30818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30819 if (SWIG_arg_fail(1)) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30840 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30844 PyObject
* obj0
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
30850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30851 if (SWIG_arg_fail(1)) SWIG_fail
;
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30872 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
;
30874 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
30882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30904 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
30914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30915 if (SWIG_arg_fail(1)) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30936 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30940 PyObject
* obj0
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
30946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30947 if (SWIG_arg_fail(1)) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30968 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
30971 wxString
*arg2
= 0 ;
30972 bool temp2
= false ;
30973 PyObject
* obj0
= 0 ;
30974 PyObject
* obj1
= 0 ;
30975 char *kwnames
[] = {
30976 (char *) "self",(char *) "prefix", NULL
30979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
30980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail
;
30983 arg2
= wxString_in_helper(obj1
);
30984 if (arg2
== NULL
) SWIG_fail
;
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 Py_INCREF(Py_None
); resultobj
= Py_None
;
31009 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
;
31011 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
31013 PyObject
* obj0
= 0 ;
31014 char *kwnames
[] = {
31015 (char *) "self", NULL
31018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
31019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStandardPaths
, SWIG_POINTER_EXCEPTION
| 0);
31020 if (SWIG_arg_fail(1)) SWIG_fail
;
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31041 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
31043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31044 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
31046 return Py_BuildValue((char *)"");
31048 static PyMethodDef SwigMethods
[] = {
31049 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
31056 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
31127 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
31135 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
31151 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
31156 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
31159 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
31162 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
31168 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
31182 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
31188 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
31196 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
31210 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
31213 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
31214 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
31217 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
31244 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
31246 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
31248 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
31250 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
31257 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
31263 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
31277 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
31281 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
31284 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
31301 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
31309 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
31356 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
31384 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
31394 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
31410 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
31426 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
31440 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
31449 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
31492 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
31495 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
31498 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
31502 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
31595 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
31596 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
31597 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
31598 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
31599 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
31600 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
31601 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
31602 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
31603 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
31604 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
31615 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
31660 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
31694 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
31702 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
31703 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
31708 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
31730 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
31735 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
31738 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
31745 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
31754 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
31758 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
31760 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
31770 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
31781 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
31789 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
31811 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
31847 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
31858 { NULL
, NULL
, 0, NULL
}
31862 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31864 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31867 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31868 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31870 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31871 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31873 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31874 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31876 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31877 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31879 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31880 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31882 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
31883 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
31885 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31886 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31888 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31889 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31891 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31892 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31894 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31895 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31897 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
31898 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
31900 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31901 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31903 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31904 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31906 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31907 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31909 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31910 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31912 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31913 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31915 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31916 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31918 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31919 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31921 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31922 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31924 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31925 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31927 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31928 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31930 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31933 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31934 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31936 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31937 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31939 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31940 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31942 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31943 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31945 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31946 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31948 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31949 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31951 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31952 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31954 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
31955 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
31957 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31958 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31960 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31961 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31963 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31964 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31966 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31969 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31970 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31972 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31973 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31975 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31976 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31978 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
31979 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
31981 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
31982 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
31984 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
31985 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
31987 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
31988 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
31990 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
31991 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
31993 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
31994 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
31996 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
31997 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
31999 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
32000 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32002 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
32003 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32005 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
32006 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32008 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
32009 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32011 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
32012 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32014 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
32015 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32017 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
32018 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32020 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
32021 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32023 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
32024 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
32026 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
32027 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
32029 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32030 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
32032 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
32033 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
32035 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32036 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
32038 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
32039 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
32041 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32042 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
32044 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
32045 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
32047 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
32048 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
32050 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32051 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32053 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32054 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32056 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32059 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32060 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32062 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
32063 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
32065 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32066 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32068 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32069 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32071 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32072 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32074 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32075 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32077 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
32078 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
32080 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
32081 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
32083 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32086 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32089 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32092 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32095 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32098 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32101 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32104 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) ((wxSizer
*) x
));
32107 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32110 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
32113 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32116 static void *_p_wxEventTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) ((wxEvent
*) x
));
32119 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32122 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32125 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32128 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32131 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32134 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32137 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32140 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32143 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32146 static void *_p_wxControlTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32149 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32152 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
32155 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32158 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) ((wxClipboard
*) x
));
32161 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32164 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32167 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32170 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32173 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) ((wxToolTip
*) x
));
32176 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32179 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32182 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32185 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32188 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32191 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32194 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32197 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32200 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32203 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32206 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32209 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32212 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32215 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32218 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32221 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32224 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32227 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32230 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32233 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32236 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32239 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32242 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32245 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32248 static void *_p_wxImageTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) ((wxImage
*) x
));
32251 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32254 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
32257 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
32260 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32263 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32266 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32269 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32272 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32275 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32278 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
32281 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32284 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32287 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32290 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32293 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32296 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32299 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32302 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
32305 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32308 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32311 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32314 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32317 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32320 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
32323 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32326 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32329 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32332 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
32335 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
32336 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
32338 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
32339 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
32341 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
32342 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
32344 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
32345 return (void *)((wxLog
*) ((wxLogChain
*) x
));
32347 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
32348 return (void *)((wxLog
*) ((wxLogGui
*) x
));
32350 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
32351 return (void *)((wxLog
*) ((wxPyLog
*) x
));
32353 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32354 return (void *)((wxWindow
*) ((wxControl
*) x
));
32356 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32357 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32359 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32360 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32362 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
32363 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
32365 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
32366 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
32368 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}};
32369 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}};
32370 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}};
32371 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}};
32372 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}};
32373 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}};
32374 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}};
32375 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}};
32376 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}};
32377 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}};
32378 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}};
32379 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}};
32380 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}};
32381 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}};
32382 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}};
32383 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}};
32384 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}};
32385 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}};
32386 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}};
32387 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}};
32388 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}};
32389 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}};
32390 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}};
32391 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}};
32392 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}};
32393 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}};
32394 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}};
32395 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}};
32396 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}};
32397 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}};
32398 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}};
32399 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}};
32400 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}};
32401 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}};
32402 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}};
32403 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}};
32404 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}};
32405 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}};
32406 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}};
32407 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}};
32408 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}};
32409 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}};
32410 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}};
32411 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}};
32412 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}};
32413 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}};
32414 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}};
32415 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}};
32416 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}};
32417 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}};
32418 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}};
32419 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}};
32420 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}};
32421 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}};
32422 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}};
32423 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}};
32424 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}};
32425 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}};
32426 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}};
32427 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}};
32428 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}};
32429 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}};
32430 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}};
32431 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}};
32432 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}};
32433 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}};
32434 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}};
32435 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}};
32436 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}};
32437 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}};
32438 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}};
32439 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}};
32440 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}};
32441 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}};
32442 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}};
32443 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}};
32444 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}};
32445 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}};
32446 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}};
32447 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}};
32448 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}};
32449 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}};
32450 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}};
32451 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}};
32452 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}};
32453 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}};
32454 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}};
32455 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}};
32456 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}};
32457 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}};
32458 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}};
32459 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}};
32460 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}};
32461 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}};
32462 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}};
32464 static swig_type_info
*swig_types_initial
[] = {
32465 _swigt__p_wxLogChain
,
32466 _swigt__p_wxMutexGuiLocker
,
32467 _swigt__p_wxFileHistory
,
32471 _swigt__p_wxDateTime__TimeZone
,
32472 _swigt__p_wxConfigBase
,
32473 _swigt__p_wxDisplay
,
32474 _swigt__p_wxFileType
,
32475 _swigt__p_wxLogGui
,
32477 _swigt__p_wxDataFormat
,
32478 _swigt__p_wxTimerEvent
,
32481 _swigt__std__ptrdiff_t
,
32484 _swigt__p_wxClipboard
,
32485 _swigt__p_wxStopWatch
,
32486 _swigt__p_wxClipboardLocker
,
32488 _swigt__p_wxLogStderr
,
32489 _swigt__p_wxLogTextCtrl
,
32490 _swigt__p_wxTextCtrl
,
32491 _swigt__p_wxBusyCursor
,
32492 _swigt__p_wxBitmapDataObject
,
32493 _swigt__p_wxTextDataObject
,
32494 _swigt__p_wxDataObject
,
32495 _swigt__p_wxPyTextDataObject
,
32496 _swigt__p_wxPyBitmapDataObject
,
32497 _swigt__p_wxFileDataObject
,
32498 _swigt__p_wxCustomDataObject
,
32499 _swigt__p_wxURLDataObject
,
32500 _swigt__p_wxMetafileDataObject
,
32502 _swigt__p_wxTimerRunner
,
32503 _swigt__p_wxLogWindow
,
32504 _swigt__p_wxTimeSpan
,
32505 _swigt__p_wxArrayString
,
32506 _swigt__p_wxWindowDisabler
,
32507 _swigt__p_form_ops_t
,
32508 _swigt__p_wxToolTip
,
32509 _swigt__p_wxDataObjectComposite
,
32510 _swigt__p_wxFileConfig
,
32511 _swigt__p_wxSystemSettings
,
32512 _swigt__p_wxVideoMode
,
32513 _swigt__p_wxDataObjectSimple
,
32514 _swigt__p_wxPyDataObjectSimple
,
32515 _swigt__p_wxDuplexMode
,
32516 _swigt__p_wxEvtHandler
,
32519 _swigt__p_wxSingleInstanceChecker
,
32520 _swigt__p_wxStandardPaths
,
32521 _swigt__p_wxFileTypeInfo
,
32524 _swigt__p_wxPaperSize
,
32525 _swigt__p_wxMimeTypesManager
,
32526 _swigt__p_wxPyArtProvider
,
32527 _swigt__p_wxPyTipProvider
,
32528 _swigt__p_wxTipProvider
,
32529 _swigt__p_wxJoystick
,
32530 _swigt__p_wxSystemOptions
,
32532 _swigt__p_wxJoystickEvent
,
32533 _swigt__p_wxCursor
,
32534 _swigt__p_wxObject
,
32535 _swigt__p_wxOutputStream
,
32536 _swigt__p_wxDateTime
,
32537 _swigt__p_wxPyDropSource
,
32538 _swigt__p_unsigned_long
,
32539 _swigt__p_wxKillError
,
32540 _swigt__p_wxWindow
,
32541 _swigt__p_wxString
,
32542 _swigt__p_wxPyProcess
,
32543 _swigt__p_wxBitmap
,
32544 _swigt__p_wxConfig
,
32545 _swigt__unsigned_int
,
32546 _swigt__p_unsigned_int
,
32547 _swigt__p_unsigned_char
,
32549 _swigt__p_wxBusyInfo
,
32550 _swigt__p_wxPyDropTarget
,
32551 _swigt__p_wxPyTextDropTarget
,
32552 _swigt__p_wxPyFileDropTarget
,
32553 _swigt__p_wxProcessEvent
,
32555 _swigt__p_wxLogNull
,
32556 _swigt__p_wxColour
,
32557 _swigt__p_wxPyTimer
,
32558 _swigt__p_wxConfigPathChanger
,
32559 _swigt__p_wxDateSpan
,
32564 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32566 static swig_const_info swig_const_table
[] = {
32567 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
32568 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
32569 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
32570 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
32571 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
32572 {0, 0, 0, 0.0, 0, 0}};
32583 /* Python-specific SWIG API */
32584 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32585 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32586 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32588 /* -----------------------------------------------------------------------------
32589 * global variable support code.
32590 * ----------------------------------------------------------------------------- */
32592 typedef struct swig_globalvar
{
32593 char *name
; /* Name of global variable */
32594 PyObject
*(*get_attr
)(); /* Return the current value */
32595 int (*set_attr
)(PyObject
*); /* Set the value */
32596 struct swig_globalvar
*next
;
32599 typedef struct swig_varlinkobject
{
32601 swig_globalvar
*vars
;
32602 } swig_varlinkobject
;
32605 swig_varlink_repr(swig_varlinkobject
*v
) {
32607 return PyString_FromString("<Swig global variables>");
32611 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
32612 swig_globalvar
*var
;
32614 fprintf(fp
,"Swig global variables { ");
32615 for (var
= v
->vars
; var
; var
=var
->next
) {
32616 fprintf(fp
,"%s", var
->name
);
32617 if (var
->next
) fprintf(fp
,", ");
32619 fprintf(fp
," }\n");
32624 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32625 swig_globalvar
*var
= v
->vars
;
32627 if (strcmp(var
->name
,n
) == 0) {
32628 return (*var
->get_attr
)();
32632 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32637 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32638 swig_globalvar
*var
= v
->vars
;
32640 if (strcmp(var
->name
,n
) == 0) {
32641 return (*var
->set_attr
)(p
);
32645 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32649 static PyTypeObject varlinktype
= {
32650 PyObject_HEAD_INIT(0)
32651 0, /* Number of items in variable part (ob_size) */
32652 (char *)"swigvarlink", /* Type name (tp_name) */
32653 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32654 0, /* Itemsize (tp_itemsize) */
32655 0, /* Deallocator (tp_dealloc) */
32656 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32657 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32658 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32659 0, /* tp_compare */
32660 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32661 0, /* tp_as_number */
32662 0, /* tp_as_sequence */
32663 0, /* tp_as_mapping */
32667 0, /* tp_getattro */
32668 0, /* tp_setattro */
32669 0, /* tp_as_buffer */
32672 #if PY_VERSION_HEX >= 0x02000000
32673 0, /* tp_traverse */
32676 #if PY_VERSION_HEX >= 0x02010000
32677 0, /* tp_richcompare */
32678 0, /* tp_weaklistoffset */
32680 #if PY_VERSION_HEX >= 0x02020000
32681 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32683 #if PY_VERSION_HEX >= 0x02030000
32686 #ifdef COUNT_ALLOCS
32687 0,0,0,0 /* tp_alloc -> tp_next */
32691 /* Create a variable linking object for use later */
32693 SWIG_Python_newvarlink(void) {
32694 swig_varlinkobject
*result
= 0;
32695 result
= PyMem_NEW(swig_varlinkobject
,1);
32696 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
32697 result
->ob_type
= &varlinktype
;
32699 result
->ob_refcnt
= 0;
32700 Py_XINCREF((PyObject
*) result
);
32701 return ((PyObject
*) result
);
32705 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32706 swig_varlinkobject
*v
;
32707 swig_globalvar
*gv
;
32708 v
= (swig_varlinkobject
*) p
;
32709 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32710 gv
->name
= (char *) malloc(strlen(name
)+1);
32711 strcpy(gv
->name
,name
);
32712 gv
->get_attr
= get_attr
;
32713 gv
->set_attr
= set_attr
;
32714 gv
->next
= v
->vars
;
32718 /* -----------------------------------------------------------------------------
32719 * constants/methods manipulation
32720 * ----------------------------------------------------------------------------- */
32722 /* Install Constants */
32724 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32727 for (i
= 0; constants
[i
].type
; i
++) {
32728 switch(constants
[i
].type
) {
32730 obj
= PyInt_FromLong(constants
[i
].lvalue
);
32732 case SWIG_PY_FLOAT
:
32733 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
32735 case SWIG_PY_STRING
:
32736 if (constants
[i
].pvalue
) {
32737 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
32739 Py_INCREF(Py_None
);
32743 case SWIG_PY_POINTER
:
32744 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32746 case SWIG_PY_BINARY
:
32747 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32754 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
32760 /* -----------------------------------------------------------------------------*/
32761 /* Fix SwigMethods to carry the callback ptrs when needed */
32762 /* -----------------------------------------------------------------------------*/
32765 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32766 swig_const_info
*const_table
,
32767 swig_type_info
**types
,
32768 swig_type_info
**types_initial
) {
32770 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32771 char *c
= methods
[i
].ml_doc
;
32772 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32774 swig_const_info
*ci
= 0;
32775 char *name
= c
+ 10;
32776 for (j
= 0; const_table
[j
].type
; j
++) {
32777 if (strncmp(const_table
[j
].name
, name
,
32778 strlen(const_table
[j
].name
)) == 0) {
32779 ci
= &(const_table
[j
]);
32784 size_t shift
= (ci
->ptype
) - types
;
32785 swig_type_info
*ty
= types_initial
[shift
];
32786 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32787 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32788 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32790 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
32791 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32793 strncpy(buff
, "swig_ptr: ", 10);
32795 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32796 methods
[i
].ml_doc
= ndoc
;
32802 /* -----------------------------------------------------------------------------*
32803 * Initialize type list
32804 * -----------------------------------------------------------------------------*/
32806 #if PY_MAJOR_VERSION < 2
32807 /* PyModule_AddObject function was introduced in Python 2.0. The following function
32808 is copied out of Python/modsupport.c in python version 2.3.4 */
32810 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
32813 if (!PyModule_Check(m
)) {
32814 PyErr_SetString(PyExc_TypeError
,
32815 "PyModule_AddObject() needs module as first arg");
32819 PyErr_SetString(PyExc_TypeError
,
32820 "PyModule_AddObject() needs non-NULL value");
32824 dict
= PyModule_GetDict(m
);
32825 if (dict
== NULL
) {
32826 /* Internal error -- modules must have a dict! */
32827 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
32828 PyModule_GetName(m
));
32831 if (PyDict_SetItemString(dict
, name
, o
))
32838 static swig_type_info
**
32839 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
32840 static PyMethodDef swig_empty_runtime_method_table
[] = {
32842 NULL
, NULL
, 0, NULL
32846 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
32847 swig_empty_runtime_method_table
);
32848 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
32849 if (pointer
&& module) {
32850 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
32852 return type_list_handle
;
32855 static swig_type_info
**
32856 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
32857 swig_type_info
**type_pointer
;
32859 /* first check if module already created */
32860 type_pointer
= SWIG_Python_GetTypeListHandle();
32861 if (type_pointer
) {
32862 return type_pointer
;
32864 /* create a new module and variable */
32865 return SWIG_Python_SetTypeListHandle(type_list_handle
);
32873 /* -----------------------------------------------------------------------------*
32874 * Partial Init method
32875 * -----------------------------------------------------------------------------*/
32877 #ifdef SWIG_LINK_RUNTIME
32881 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
32887 SWIGEXPORT(void) SWIG_init(void) {
32888 static PyObject
*SWIG_globals
= 0;
32889 static int typeinit
= 0;
32892 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32894 /* Fix SwigMethods to carry the callback ptrs when needed */
32895 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
32897 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32898 d
= PyModule_GetDict(m
);
32901 #ifdef SWIG_LINK_RUNTIME
32902 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
32904 # ifndef SWIG_STATIC_RUNTIME
32905 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
32908 for (i
= 0; swig_types_initial
[i
]; i
++) {
32909 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32913 SWIG_InstallConstants(d
,swig_const_table
);
32916 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT
)));
32919 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT
)));
32922 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT
)));
32925 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT
)));
32928 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT
)));
32931 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE
)));
32934 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT
)));
32937 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT
)));
32940 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT
)));
32943 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR
)));
32946 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND
)));
32949 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP
)));
32952 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION
)));
32955 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION
)));
32958 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU
)));
32961 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW
)));
32964 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME
)));
32967 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT
)));
32970 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT
)));
32973 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT
)));
32976 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER
)));
32979 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER
)));
32982 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE
)));
32985 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT
)));
32988 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
32991 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE
)));
32994 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE
)));
32997 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW
)));
33000 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW
)));
33003 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT
)));
33006 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT
)));
33009 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
33012 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT
)));
33015 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT
)));
33018 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT
)));
33021 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT
)));
33024 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW
)));
33027 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT
)));
33030 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT
)));
33033 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK
)));
33036 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX
)));
33039 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT
)));
33042 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
33045 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
33048 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT
)));
33051 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR
)));
33054 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX
)));
33057 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS
)));
33060 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X
)));
33063 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y
)));
33066 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X
)));
33069 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y
)));
33072 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X
)));
33075 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y
)));
33078 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X
)));
33081 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y
)));
33084 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X
)));
33087 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y
)));
33090 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X
)));
33093 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y
)));
33096 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X
)));
33099 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X
)));
33102 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y
)));
33105 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X
)));
33108 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y
)));
33111 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X
)));
33114 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y
)));
33117 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X
)));
33120 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y
)));
33123 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X
)));
33126 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y
)));
33129 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X
)));
33132 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y
)));
33135 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y
)));
33138 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X
)));
33141 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X
)));
33144 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y
)));
33147 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y
)));
33150 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y
)));
33153 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y
)));
33156 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT
)));
33159 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT
)));
33162 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS
)));
33165 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS
)));
33168 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
33171 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME
)));
33174 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE
)));
33177 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY
)));
33180 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA
)));
33183 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL
)));
33186 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP
)));
33188 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33189 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
33190 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
33191 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
33192 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
33194 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF
)));
33197 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT
)));
33200 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS
)));
33203 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT
)));
33205 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
33207 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33210 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError
)));
33213 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)(wxLOG_Error
)));
33216 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning
)));
33219 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)(wxLOG_Message
)));
33222 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)(wxLOG_Status
)));
33225 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)(wxLOG_Info
)));
33228 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug
)));
33231 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace
)));
33234 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress
)));
33237 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)(wxLOG_User
)));
33240 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)(wxLOG_Max
)));
33242 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33243 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33244 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33245 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33246 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33248 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33251 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)(0x0002)));
33254 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33257 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33260 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33263 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT
)));
33266 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT
)));
33269 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)(wxKILL_OK
)));
33272 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL
)));
33275 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED
)));
33278 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS
)));
33281 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR
)));
33284 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN
)));
33287 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN
)));
33290 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)(wxSIGNONE
)));
33293 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)(wxSIGHUP
)));
33296 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)(wxSIGINT
)));
33299 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT
)));
33302 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)(wxSIGILL
)));
33305 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP
)));
33308 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)(wxSIGABRT
)));
33311 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)(wxSIGIOT
)));
33314 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)(wxSIGEMT
)));
33317 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)(wxSIGFPE
)));
33320 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)(wxSIGKILL
)));
33323 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)(wxSIGBUS
)));
33326 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV
)));
33329 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)(wxSIGSYS
)));
33332 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE
)));
33335 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)(wxSIGALRM
)));
33338 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)(wxSIGTERM
)));
33340 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
33342 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC
)));
33345 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC
)));
33348 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE
)));
33351 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER
)));
33354 PyDict_SetItemString(d
,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE
)));
33357 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33360 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1
)));
33363 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2
)));
33366 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY
)));
33369 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1
)));
33372 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2
)));
33375 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3
)));
33378 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4
)));
33380 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
33381 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
33382 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
33383 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
33385 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC
)));
33388 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC
)));
33391 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP
)));
33394 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD
)));
33397 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE
)));
33400 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE
)));
33403 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME
)));
33406 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL
)));
33408 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
33409 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
33410 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
33411 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
33412 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
33413 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
33414 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
33415 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
33416 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
33417 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
33418 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
33419 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
33420 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
33421 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
33422 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
33423 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
33424 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
33425 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
33426 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
33427 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
33428 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
33429 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
33430 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
33431 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
33432 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
33433 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
33434 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
33435 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
33436 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
33437 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
33438 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
33439 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
33440 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
33441 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
33442 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
33443 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
33444 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
33445 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
33446 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
33447 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
33448 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
33449 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
33450 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
33451 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
33452 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
33454 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33457 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE
)));
33460 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE
)));
33463 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH
)));
33466 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
33469 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown
)));
33472 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String
)));
33475 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean
)));
33478 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer
)));
33481 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float
)));
33483 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
33484 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
33486 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local
)));
33489 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12
)));
33492 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11
)));
33495 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10
)));
33498 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9
)));
33501 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8
)));
33504 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7
)));
33507 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6
)));
33510 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5
)));
33513 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4
)));
33516 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3
)));
33519 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2
)));
33522 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1
)));
33525 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0
)));
33528 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1
)));
33531 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2
)));
33534 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3
)));
33537 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4
)));
33540 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5
)));
33543 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6
)));
33546 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7
)));
33549 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8
)));
33552 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9
)));
33555 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10
)));
33558 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11
)));
33561 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12
)));
33564 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET
)));
33567 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST
)));
33570 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET
)));
33573 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST
)));
33576 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET
)));
33579 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST
)));
33582 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK
)));
33585 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD
)));
33588 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST
)));
33591 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT
)));
33594 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST
)));
33597 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT
)));
33600 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST
)));
33603 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT
)));
33606 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST
)));
33609 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT
)));
33612 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST
)));
33615 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT
)));
33618 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST
)));
33621 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST
)));
33624 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT
)));
33627 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST
)));
33630 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST
)));
33633 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST
)));
33636 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST
)));
33639 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC
)));
33642 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian
)));
33645 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian
)));
33648 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown
)));
33651 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard
)));
33654 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska
)));
33657 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania
)));
33660 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria
)));
33663 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen
)));
33666 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg
)));
33669 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol
)));
33672 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia
)));
33675 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria
)));
33678 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium
)));
33681 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria
)));
33684 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1
)));
33687 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2
)));
33690 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3
)));
33693 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada
)));
33696 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China
)));
33699 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1
)));
33702 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2
)));
33705 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia
)));
33708 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark
)));
33711 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt
)));
33714 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia
)));
33717 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland
)));
33720 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France
)));
33723 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace
)));
33726 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine
)));
33729 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg
)));
33732 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany
)));
33735 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic
)));
33738 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia
)));
33741 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant
)));
33744 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain
)));
33747 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece
)));
33750 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary
)));
33753 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland
)));
33756 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy
)));
33759 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan
)));
33762 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1
)));
33765 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2
)));
33768 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3
)));
33771 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia
)));
33774 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania
)));
33777 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg
)));
33780 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands
)));
33783 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen
)));
33786 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland
)));
33789 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht
)));
33792 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland
)));
33795 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway
)));
33798 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland
)));
33801 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal
)));
33804 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania
)));
33807 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia
)));
33810 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland
)));
33813 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain
)));
33816 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden
)));
33819 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland
)));
33822 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic
)));
33825 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant
)));
33828 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey
)));
33831 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA
)));
33834 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales
)));
33837 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia
)));
33840 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown
)));
33843 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default
)));
33846 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start
)));
33849 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC
)));
33852 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)(wxDateTime::France
)));
33855 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany
)));
33858 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK
)));
33861 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End
)));
33864 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia
)));
33867 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA
)));
33870 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan
)));
33873 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb
)));
33876 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar
)));
33879 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr
)));
33882 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)(wxDateTime::May
)));
33885 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun
)));
33888 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul
)));
33891 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug
)));
33894 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep
)));
33897 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct
)));
33900 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov
)));
33903 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec
)));
33906 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month
)));
33909 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun
)));
33912 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon
)));
33915 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue
)));
33918 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed
)));
33921 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu
)));
33924 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri
)));
33927 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat
)));
33930 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay
)));
33933 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year
)));
33936 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full
)));
33939 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr
)));
33942 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First
)));
33945 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First
)));
33948 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First
)));
33950 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
33952 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID
)));
33955 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT
)));
33958 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP
)));
33961 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE
)));
33964 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK
)));
33967 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)(wxDF_DIF
)));
33970 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF
)));
33973 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT
)));
33976 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)(wxDF_DIB
)));
33979 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE
)));
33982 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA
)));
33985 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF
)));
33988 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE
)));
33991 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT
)));
33994 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE
)));
33997 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME
)));
34000 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE
)));
34003 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE
)));
34006 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)(wxDF_HTML
)));
34009 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)(wxDF_MAX
)));
34011 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
34013 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get
)));
34016 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set
)));
34019 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both
)));
34022 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly
)));
34025 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove
)));
34028 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove
)));
34031 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)(wxDragError
)));
34034 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)(wxDragNone
)));
34037 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)(wxDragCopy
)));
34040 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)(wxDragMove
)));
34043 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)(wxDragLink
)));
34046 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)(wxDragCancel
)));
34049 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34050 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34051 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34052 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34054 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);